跳转至

Admin Commands (/mp)

The /mp command is for server administrators to manage the MyPets plugin.

📋 Command Overview

Command Description Permission
/mp reload Reload config & language files mypets.admin.reload
/mp help Show admin help None
/mp lang <code> Hot-switch server language (premium) mypets.admin.lang
/mp world add <name> Add world to whitelist mypets.admin.world
/mp world remove <name> Remove world from whitelist mypets.admin.world
/mp world list View whitelist mypets.admin.world
/mp world enable Enable whitelist mypets.admin.world
/mp world disable Disable whitelist mypets.admin.world

Usage Guide

/mp reload

Hot-reloads config.yml and language files without restarting the server. Use this after making configuration changes.

/mp reload

/mp lang <language code>

Switch the server language instantly (premium feature only).

Supported language codes: - zh_CN — Chinese (Simplified) - zh_TW — Chinese (Traditional) - en_US — English - ja_JP — Japanese - ko_KR — Korean

When the language is switched, all online players will receive a notification.

/mp lang en_US

/mp world

Manage the world whitelist system:

/mp world add world_nether    # Add the Nether to whitelist
/mp world remove world_nether # Remove the Nether from whitelist
/mp world list                # Show all whitelisted worlds
/mp world enable              # Turn on whitelist filtering
/mp world disable             # Turn off whitelist filtering

How it works: - When whitelist is disabled: plugin works in all worlds - When whitelist is enabled with an empty list: plugin still works in all worlds - When whitelist is enabled with worlds added: plugin only works in those specific worlds