[SimplePetsAddon] GriefPrevention Addon
Hooks into GriefPrevention to stop stop specific pet events from occurring when on or off of claimed land
[SimplePetsAddon] GriefPrevention Addon
*What is this addon?*
This is a SimplePets Addon that allows server owners/admins to stop specific pet events from happening when a player/pet is on or off of claimed land.
*Plugin/Resource Links:*
* (REQUIRED) *(REQUIRED)* * %%MD1%% *(REQUIRED)* `(At least v16.17.1)`
*What Features does it have?*
* Checks for spawning on trusted, admin, unclaimed, and personal claimed land * Checks for mounting a pet on trusted, admin, unclaimed, and personal claimed land * Checks for when a pet walks on trusted, admin, unclaimed, and personal claimed land * Checks for when a player is riding a pet on trusted, admin, unclaimed, and personal claimed land
*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 GriefPrevention`* 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 *`GriefPrevention`* 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
What should the bypass permission be set to?
bypass-permission: pet.griefprevention.bypass
checks: spawning:
Should the addon check when a pet is spawned?
enabled: true
This message is only visible when you hover over the 'pet failed to spawn' message
You can make this blank or 'null' if you want no message
reason: '&cYour pet is not able to be spawned in this area'
Should players be allowed to spawn pets in claims they are trusted to?
trusted-claims: true
Should pets be allowed to spawn in admin claims?
admin-claims: true
Should pets be allowed to spawn in unclaimed lands?
unclaimed-land: true
Should players be allowed to spawn pets in their claims?
personal-claims: true
mounting:
Should the addon check when the player mounts the pet?
enabled: true
Should the pet be removed or should it just be canceled?
remove-pet: true
Should players be allowed to mount their pets in their claims?
personal-claims: true
Should players be allowed to mount their pets in unclaimed lands?
unclaimed-land: true
Should players be allowed to mount their pets in admin claims?
admin-claims: true
Should players be allowed to mount their pets in claims they are trusted to?
trusted-claims: true
moving:
Should the addon check when a pet moves?
enabled: true
Should the pet be removed or should it just be canceled?
remove-pet: true
Should pets be allowed to move in unclaimed lands?
unclaimed-land: true
Should pets be allowed to move in admin claims?
admin-claims: true
Should pets be allowed to move in their summoners claim?
personal-claims: true
Should pets be allowed to move in claims their summoner is trusted on?
trusted-claims: true
riding:
Should the addon check when the pets owner is riding it?
enabled: true
Should the pet be removed or should it just be canceled?
remove-pet: true
Should the player be dismounted (if remove-pet is set to true this is ignored)?
dismount: true
Should players be allowed to ride their pets in unclaimed lands?
unclaimed-land: true
Should players be allowed to ride their pets in claims they are trusted to?
trusted-claims: true
Should players be allowed to ride their pets in admin claims?
admin-claims: true
Should players be allowed to ride their pets in their claims?
personal-claims: true ```