![[SimplePetsAddon] WorldRestriction Addon](https://cdn.metamods.net/images/mods/spets-worldrestriction/logo.png)
[SimplePetsAddon] WorldRestriction Addon
What is This Addon?
A small extension for the SimplePets plugin that provides server administrators with tools to block specific pet-related actions in particular game worlds. This addon allows you to prohibit operations such as mounting pets or turning them into hats in selected locations.
Installation Requirements
The main SimplePets plugin is required for proper operation.
Installation Process
Command Installation (Simplest Method)
Execute the /pet addon install WorldRestriction
command in the server console or chat with appropriate permissions. The system will automatically download and activate the extension.
Graphical Interface Installation
- Enter the
/pet addon
command - In the opened menu, select the "Install Addons" item in the bottom row
- Find the "WorldRestriction" item in the list
- Click on it to begin installation
Note: If the interface hangs with the "Installing..." message, check the server console for errors. If none are present, try an alternative installation method.
Manual Installation
- Open the SimplePets plugin folder
- Navigate to the "Addons" directory (create it if it doesn't exist)
- Download the addon file and place the JAR archive in the Addons folder
- Restart the server to activate the addon
Default Settings
world-restrictions:
pet-riding:
# Enable restriction?
enabled: false
# List of worlds where pet mounting is prohibited
list:
- world_nether
# Message for player when attempting to mount a pet in a restricted world
reason: '&cPet mounting is disabled in this world'
pet-hat:
# Enable restriction?
enabled: false
# List of worlds where turning pets into hats is prohibited
list:
- world_nether
# Message for player when attempting to put pet on head in a restricted world
reason: '&cPutting your pet on your head is disabled in this world'