/
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
It will also attempt to load and enable it/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 folder
(If the folder is not there then simply create one)Addons 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'
![[SimplePetsAddon] WorldRestriction Addon](/_next/image?url=%2Fapi%2Fproxy-image%3Furl%3Dhttps%253A%252F%252Fcdn.modrinth.com%252Fdata%252FLDJFcdu0%252F53069bb1f40260468125f5cb9e50868633f3501c_96.webp&w=256&q=75)
This addon simply restricts certain tasks from happening in certain worlds