这个插件是什么?
这是一个 SimplePets 的附加组件,允许服务器管理员利用自定义的 RedProtect 标志,从而在特定区域对宠物施加一些限制。
插件/资源链接:
它有哪些功能?
- 新增标志
"pet-spawning"
- 新增标志
"pet-moving"
- 新增标志
"pet-mounting"
- 新增标志
"pet-riding"
-
当玩家试图在该区域内骑乘宠物时使用
(默认设置为允许)

如何安装:
该附加组件可以通过几种不同的方式进行安装:通过安装命令、通过 GUI 安装器或手动安装。
通过命令安装: (最简单)
- 只需输入
/pet addon install RedProtect 命令
它将尝试加载并启用它
通过 GUI 安装器安装:
- 运行
/pet addon 命令
- 点击 GUI 底部一行的
Install Addons(安装附加组件)项
- 在 GUI 中找到
RedProtect 项
- 找到后只需点击它
注意: 如果它卡在显示“Installing...”(正在安装...),请检查控制台是否有任何错误。如果没有错误,请尝试其他方法之一。
手动安装:
- 打开 SimplePets 插件文件夹
- 打开
Addons(附加组件)文件夹
(如果该文件夹不存在,则直接创建一个)
- 从任一下载位置下载附加组件
- 将附加组件的 jar 文件放入
Addons 文件夹中
- 重启你的服务器(这是为了让附加组件真正加载到插件中)
默认配置:
# 如果启用,这将允许宠物在非区域范围内(即世界/位置中没有区域时)使用
allow-outside-regions: true
pet-spawning:
# 标志的默认值(如果启用了 'admin-only',则此值将被忽略)
default: true
# 仅管理员可以修改此标志(默认值被忽略)
admin-only: false
pet-moving:
# 标志的默认值(如果启用了 'admin-only',则此值将被忽略)
default: true
# 仅管理员可以修改此标志(默认值被忽略)
admin-only: false
pet-riding:
# 标志的默认值(如果启用了 'admin-only',则此值将被忽略)
default: true
# 仅管理员可以修改此标志(默认值被忽略)
admin-only: false
pet-mounting:
# 标志的默认值(如果启用了 'admin-only',则此值将被忽略)
default: true
# 仅管理员可以修改此标志(默认值被忽略)
admin-only: false
# 绕过权限应设置为什么?
bypass-permission: pet.redprotect.bypass
checks:
spawning:
# 是否在生成宠物时进行检查?
enabled: true
# 此消息仅在悬停在“宠物未能生成”消息上时可见
# 如果你不想要任何消息,可以将其留空或设为 'null'
reason: '&c你的宠物无法在此区域生成'
mounting:
# 是否在玩家骑乘宠物时进行检查?
enabled: true
# 是移除宠物还是仅取消操作?
remove-pet: true
moving:
# 是否在宠物移动时进行检查?
enabled: true
# 是移除宠物还是仅取消操作?
remove-pet: true
riding:
# 是否在宠物的主人骑乘它时进行检查?
enabled: true
# 是移除宠物还是仅取消操作?
remove-pet: true
# 是否应使玩家下马(如果 remove-pet 设置为 true,则忽略此项)?
dismount: true
What is this addon?
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.
Plugin/Resource Links:
What Features does it have?
- New flag
"pet-spawning"
- New flag
"pet-moving"
- New flag
"pet-mounting"
- New flag
"pet-riding"

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 RedProtect 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
RedProtect 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:
# 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
评论 0
登录后参与评分
还没有评论,来抢沙发吧