[SimplePetsAddon] WorldRestriction Addon
This addon simply restricts certain tasks from happening in certain worlds
[SimplePetsAddon] WorldRestriction Addon
*What is this addon?*
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
*Plugin/Resource Links:*
* (REQUIRED) *(REQUIRED)*
*How to install:*
The addon can be installed a few different ways it can be done via the install command, via the GUI installer, or manually
*Install via Command:* (Easiest)
* Simply type the *`/pet addon install WorldRestriction`* command It will also attempt to load and enable it
*Install via GUI Installer:*
* Run the *`/pet addon`* command * Click the *`Install Addons`* item that is in the bottom row of the GUI * Locate the *`WorldRestriction`* item in the GUI * Once found simply click it
*NOTE:* If it gets stuck saying "Installing..." then check your console for any errors, If there are none then try one of the other methods.
*Install Manually:*
* Open the SimplePets plugin folder * Open the *`Addons`* folder (If the folder is not there then simply create one) * Download the addon from one of the download locations * Drop the addons jar file into the *`Addons`* folder * Restart your server (This is to actually get the addon loaded into the plugin)
*Default Config:*
```yaml world-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' ```