This addon simply restricts certain tasks from happening in certain worlds
This is a simple SimplePets Addon that allows server owners/admins restrict what can happen in certain worlds, such as pet mounting and making them a hat
The addon can be installed a few different ways it can be done via the install command, via the GUI installer, or manually
/pet addon install WorldRestriction command/pet addon commandInstall Addons item that is in the bottom row of the GUIWorldRestriction item in the GUINOTE: If it gets stuck saying "Installing..." then check your console for any errors, If there are none then try one of the other methods.
Addons folderAddons folderworld-restrictions:
pet-riding:
# Should this restriction be enabled?
enabled: false
# List the worlds that pet riding should not be allowed in here.
list:
- world_nether
# This message gets sent to the player when they try to ride a pet in a blocked world
reason: '&cPet riding is disabled in this world'
pet-hat:
# Should this restriction be enabled?
enabled: false
# List the worlds that pet hats should not be allowed in here.
list:
- world_nether
# This message gets sent to the player when they try to put their pet on their head in a blocked world
reason: '&cPutting your pet on your head is disabled in this world'