![[SimplePetsAddon] RedProtect Addon](https://cdn.metamods.net/images/mods/spets-redprotect/logo.png)
SimplePets Addon for RedProtect
This extension for SimplePets provides server administrators with the ability to use special RedProtect flags that impose restrictions on pets within specific zones.
Required Plugins
- SimplePets (REQUIRED)
- RedProtect (REQUIRED, version 7.7.2 or higher)
Features
New Access Flags
pet-spawning — regulates the ability for pets to spawn in the region (default: allowed)
pet-moving — controls whether pets can enter the region (default: allowed)
pet-mounting — defines the ability to mount pets in the area (default: allowed)
pet-riding — sets rules for riding pets within the region (default: allowed)
Installation
Using Command (Simplest Method)
Execute the command /pet addon install RedProtect
. The system will automatically download and activate the addon.
Via Graphical Interface
- Type the command
/pet addon
- Click on the "Install Addons" item in the bottom row of the interface
- Find and select the RedProtect option
Note: In case of process freezing, check the server console for errors or use another installation method.
Manual Installation
- Open the SimplePets plugin folder
- Navigate to the "Addons" folder (create if missing)
- Download the addon file and place the JAR in the Addons folder
- Restart the server to activate the module
Basic Configuration
# Allow pets usage outside protected regions
allow-outside-regions: true
pet-spawning:
# Default flag value
default: true
# Only administrators can modify this flag
admin-only: false
pet-moving:
default: true
admin-only: false
pet-riding:
default: true
admin-only: false
pet-mounting:
default: true
admin-only: false
# Bypass permission for restrictions
bypass-permission: pet.redprotect.bypass
checks:
spawning:
# Check when pet spawns?
enabled: true
# Error message
reason: '&cYour pet cannot spawn in this area'
mounting:
enabled: true
# Remove pet on violation?
remove-pet: true
moving:
enabled: true
remove-pet: true
riding:
enabled: true
remove-pet: true
# Dismount from pet on violation?
dismount: true