This is a SimplePets Addon that allows server owners/admins to utilize custom RedProtect flags that will allow for pets to have some restrictions in certain regions.
(At least v7.7.2)"pet-spawning"
This is used when the player tries to spawn a pet
(Default is set to allow)
"pet-moving"
This is used a pet tries to walk into the region
(Default is set to allow)
"pet-mounting"
This is used the player tries to mount the pet
(Default is set to allow)
"pet-riding"
This is used when the player tries to ride the pet in the region
(Default is set to allow)
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 RedProtect command
It will also attempt to load and enable it/pet addon commandInstall Addons item that is in the bottom row of the GUIRedProtect 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 folder# If enabled this will allow the pets to be used outside of regions (aka if there is no region in the world/location)
allow-outside-regions: true
pet-spawning:
# The default value the flag should be (Will be ignored if 'admin-only' is enabled)
default: true
# Admins are only able to modify this flag (default value is ignored)
admin-only: false
pet-moving:
# The default value the flag should be (Will be ignored if 'admin-only' is enabled)
default: true
# Admins are only able to modify this flag (default value is ignored)
admin-only: false
pet-riding:
# The default value the flag should be (Will be ignored if 'admin-only' is enabled)
default: true
# Admins are only able to modify this flag (default value is ignored)
admin-only: false
pet-mounting:
# The default value the flag should be (Will be ignored if 'admin-only' is enabled)
default: true
# Admins are only able to modify this flag (default value is ignored)
admin-only: false
# What should the bypass permission be set to?
bypass-permission: pet.redprotect.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'
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
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
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
![[SimplePetsAddon] RedProtect Addon](/_next/image?url=%2Fapi%2Fproxy-image%3Furl%3Dhttps%253A%252F%252Fcdn.modrinth.com%252Fdata%252FIbb6L7Y5%252F66deca19476109d9cf153fdebda38de74fb4c602.png&w=256&q=75)
Hooks into RedProtect Adding a few flags to the plugin Like: pet-spawning, pet-moving, pet-riding, & pet-mounting