![[SimplePetsAddon] WorldGuard Addon](https://cdn.metamods.net/images/mods/spets-worldguard/logo.png)
[SimplePetsAddon] WorldGuard Addon
What is this addon?
This is an extension for the SimplePets plugin that provides server administrators with the ability to use special WorldGuard flags to set restrictions on pet actions in specific regions.
Required components:
For the addon to work, the following are required:
- SimplePets (mandatory)
- WorldGuard (mandatory)
Main features
Flag "allow-pet-spawn"
Controls the ability for players to summon pets in protected areas. Allowed by default.
Flag "allow-pet-enter"
Determines whether pets can enter the region. Allowed by default.
Flag "allow-pet-mounting"
Regulates the ability to mount pets. Allowed by default.
Flag "allow-pet-riding"
Manages riding pets within the region. Allowed by default.
Installation methods
Installation via command (easiest method)
Execute the command /pet addon install WorldGuard
- the addon will automatically install and activate.
Installation via graphical interface
- Enter the command
/pet addon
- Click on the "Install Addons" item in the bottom row of the menu
- Find and select the "WorldGuard" item
Note: If the process hangs with the message "Installing...", check the console for errors or use another installation method.
Manual installation
- Open the SimplePets plugin folder
- Navigate to the "Addons" folder (create it if missing)
- Download the addon file
- Place the JAR file in the "Addons" folder
- Restart the server to activate the addon
Default configuration
# What should the bypass permission be?
bypass-permission: pet.worldguard.bypass
checks:
spawning:
# Should the addon check pet summoning?
enabled: true
# This message is only visible when hovering over 'pet cannot be summoned'
# Can be left blank or 'null' to disable the message
reason: '&cYour pet cannot be summoned in this area'
mounting:
# Should the addon check player mounting of pets?
enabled: true
# Should the pet be removed or just the action canceled?
remove-pet: true
moving:
# Should the addon check pet movement?
enabled: true
# Should the pet be removed or just the action canceled?
remove-pet: true
riding:
# Should the addon check owner riding pets?
enabled: true
# Should the pet be removed or just the action canceled?
remove-pet: true
# Should the player be dismounted (ignored if remove-pet is set to true)?
dismount: true