I. 命令列表:
/exitadmin - 主要管理员命令
别名:/ea
权限:exitplugin.admin
子命令:
setpoint1
用法:/exitadmin setpoint1
描述:设置区域的第一个点
setpoint2
用法:/exitadmin setpoint2
描述:设置区域的第二个点
create <name> <type>
用法:/exitadmin create <name> <type>
描述:创建一个出口点;类型包括:normal(普通出口)、lever(拉杆激活出口)、drop(掉落激活出口)
delete <name>
用法:/exitadmin delete <name>
描述:删除指定的出口点
setlever <name>
用法:/exitadmin setlever <name>
描述:将拉杆绑定到出口点
unsetlever <name>
用法:/exitadmin unsetlever <name>
描述:从出口点解绑拉杆
setcountdown <name> <seconds>
用法:/exitadmin setcountdown <name> <seconds>
描述:设置出口倒计时时间
addplayercommand <name> <command>
用法:/exitadmin addplayercommand <name> <command>
描述:添加玩家命令(当玩家离开时执行)
addadmincommand <name> <command>
用法:/exitadmin addadmincommand <name> <command>
描述:添加管理员命令(由控制台在玩家离开时执行)
addlevercommand <name> <command>
用法:/exitadmin addlevercommand <name> <command>
描述:添加拉杆命令(当拉杆被激活时执行)
setdisplayname <name> <displayname>
用法:/exitadmin setdisplayname <name> <displayname>
描述:设置出口点的显示名称
sethologram <name>
用法:/exitadmin sethologram <name>
描述:设置全息图位置(当前位置)
setpermission <name> <permission>
用法:/exitadmin setpermission <name> <permission>
描述:设置使用出口点所需的权限(留空表示无权限要求)
list
用法:/exitadmin list
描述:查看所有出口点
info <name>
用法:/exitadmin info <name>
描述:查看指定出口点的详细信息
reload
用法:/exitadmin reload
描述:重新加载配置
fixconfig
用法:/exitadmin fixconfig
描述:修复配置文件
activate <name>
用法:/exitadmin activate <name>
描述:通过命令激活拉杆出口点
update
用法:/exitadmin update
描述:手动检查插件更新
version
用法:/exitadmin version
描述:查看插件版本信息
setmessage <name> <type> <content>
用法:/exitadmin setmessage <name> <type> <content>
描述:为出口点设置独立消息
listmessages <name>
用法:/exitadmin listmessages <name>
描述:查看出口点的消息列表
resetmessages <name>
用法:/exitadmin resetmessages <name>
描述:将出口点的消息重置为默认值
help
用法:/exitadmin help
描述:显示帮助
/exit - 激活拉杆退出点
用法:/exit <退出点名称>
权限:exitplugin.activate
描述:通过命令激活指定的拉杆退出点(无需使用拉杆)
II. 权限节点列表:
exitplugin.*
描述:所有退出插件的权限
默认值:op(管理员)
子权限:
exitplugin.admin
exitplugin.activate
exitplugin.use.*
exitplugin.admin
描述:退出插件的管理员权限
默认值:op(管理员)
描述:允许使用所有管理命令(/exitadmin)
exitplugin.activate
描述:通过命令激活拉杆出口点的权限
默认值:op(管理员)
描述:允许使用 /exit 命令来激活拉杆出口点
exitplugin.use.*
描述:使用所有出口点的权限
默认值:true(所有玩家)
子权限:
exitplugin.use
exitplugin.use
描述:使用出口点的基础权限(每个出口点可能有独立的权限设置)
默认值:true(所有玩家)
退出点独立权限(当配置中 require_permission 为 true 时启用)
格式:exitplugin.use.<出口点名称>
示例:exitplugin.use.main_exit
描述:此权限节点由插件自动生成,用于控制对特定出口点的访问。
三、注意事项:
在创建出口点时,必须首先使用 setpoint1 和 setpoint2 通过两个坐标点来定义一个区域。
拉杆出口点需要绑定一个拉杆(使用 setlever 命令)才能通过拉杆激活,但它们也可以通过 /exit 命令进行激活。
掉落出口点要求玩家清空主物品栏(不包括快捷栏、盔甲栏和副手栏)以启动倒计时。
消息配置允许为每个出口点设置独立的提示内容,这些内容可以通过 setmessage 命令进行修改。
仅 1.1.1v 及以上版本“可能”支持其他核心(如 Mohist)和游戏版本。低于 1.1.1v 的版本仅支持 Paper 核心和游戏版本 1.20.1。
四、示例工作流程:
设置区域:
/exitadmin setpoint1
/exitadmin setpoint2
创建出口点:
/exitadmin create <出口点名称> lever
绑定拉杆:
站在拉杆旁边并输入:/exitadmin setlever <出口点名称>
然后右键点击拉杆。
设置倒计时:
/exitadmin setcountdown <出口点名称> 60
添加命令:
/exitadmin addplayercommand <出口名称> "say %player% 已离开!"
激活方式:
右键拉杆或使用 /exit <主出口名称>
这样,当玩家处于区域内并激活拉杆时,命令将在倒计时结束后执行。
V. 支持的服务器核心:Paper、Spigot、Folia、Purpur、Mohist
VI. 补充说明:欢迎大家公开自由分发本插件,但不得侵犯作者版权。
I. Command List:
/exitadmin - Main Admin Command
Alias: /ea
Permission: exitplugin.admin
Subcommands:
setpoint1
Usage: /exitadmin setpoint1
Description: Set the first point of the area
setpoint2
Usage: /exitadmin setpoint2
Description: Set the second point of the area
create <name> <type>
Usage: /exitadmin create <name> <type>
Description: Create an exit point; types: normal (regular exit), lever (lever-activated exit), drop (drop-activated exit)
delete <name>
Usage: /exitadmin delete <name>
Description: Delete the specified exit point
setlever <name>
Usage: /exitadmin setlever <name>
Description: Bind a lever to the exit point
unsetlever <name>
Usage: /exitadmin unsetlever <name>
Description: Unbind the lever from the exit point
setcountdown <name> <seconds>
Usage: /exitadmin setcountdown <name> <seconds>
Description: Set the exit countdown time
addplayercommand <name> <command>
Usage: /exitadmin addplayercommand <name> <command>
Description: Add a player command (executed when a player exits)
addadmincommand <name> <command>
Usage: /exitadmin addadmincommand <name> <command>
Description: Add an admin command (executed by the console when a player exits)
addlevercommand <name> <command>
Usage: /exitadmin addlevercommand <name> <command>
Description: Add a lever command (executed when the lever is activated)
setdisplayname <name> <displayname>
Usage: /exitadmin setdisplayname <name> <displayname>
Description: Set the display name of the exit point
sethologram <name>
Usage: /exitadmin sethologram <name>
Description: Set the hologram location (current position)
setpermission <name> <permission>
Usage: /exitadmin setpermission <name> <permission>
Description: Set the permission required to use the exit point (empty for no permission)
list
Usage: /exitadmin list
Description: View all exit points
info <name>
Usage: /exitadmin info <name>
Description: View detailed information about an exit point
reload
Usage: /exitadmin reload
Description: Reload the configuration
fixconfig
Usage: /exitadmin fixconfig
Description: Fix the configuration
activate <name>
Usage: /exitadmin activate <name>
Description: Activate a lever exit point (via command)
update
Usage: /exitadmin update
Description: Manually check for plugin updates
version
Usage: /exitadmin version
Description: View plugin version information
setmessage <name> <type> <content>
Usage: /exitadmin setmessage <name> <type> <content>
Description: Set independent messages for the exit point
listmessages <name>
Usage: /exitadmin listmessages <name>
Description: View the message list for the exit point
resetmessages <name>
Usage: /exitadmin resetmessages <name>
Description: Reset the exit point's messages to default
help
Usage: /exitadmin help
Description: Display help
/exit - Activate Lever Exit Point
Usage: /exit <exit point name>
Permission: exitplugin.activate
Description: Activate the specified lever exit point via command (no lever required)
II. Permission Node List:
exitplugin.*
Description: All exit plugin permissions
Default: op (admin)
Subpermissions:
exitplugin.admin
exitplugin.activate
exitplugin.use.*
exitplugin.admin
Description: Exit plugin admin permission
Default: op (admin)
Description: Allows the use of all admin commands (/exitadmin)
exitplugin.activate
Description: Permission to activate lever exit points via command
Default: op (admin)
Description: Allows the use of the /exit command to activate lever exit points
exitplugin.use.*
Description: Permission to use all exit points
Default: true (all players)
Subpermissions:
exitplugin.use
exitplugin.use
Description: Basic permission to use exit points (each exit point may have independent permissions)
Default: true (all players)
Exit Point Independent Permissions (if require_permission is true in configuration)
Format: exitplugin.use.<exit point name>
Example: exitplugin.use.main_exit
Description: This permission node is automatically generated by the plugin to control access to specific exit points.
III. Notes:
When creating an exit point, you must first use setpoint1 and setpoint2 to define an area with two points.
Lever exit points require a lever to be bound (using the setlever command) for activation via lever, but they can also be activated via the /exit command.
Drop exit points require players to empty their main inventory (excluding hotbar, armor, and offhand) to start the countdown.
Message configuration allows independent settings for each exit point, which can be modified using the setmessage command.
Only version 1.1.1v and above "may" support other cores (e.g., Mohist) and game versions. Versions below 1.1.1v only support Paper core and game version 1.20.1.
IV. Example Workflow:
Set the area:
/exitadmin setpoint1
/exitadmin setpoint2
Create an exit point:
/exitadmin create <exit point name> lever
Bind a lever:
Stand next to the lever and enter: /exitadmin setlever <exit point name>
Then right-click the lever.
Set the countdown:
/exitadmin setcountdown <exit point name> 60
Add commands:
/exitadmin addplayercommand <exit point name> "say %player% has exited!"
Activate:
Right-click the lever or use /exit
This way, when a player is in the area and the lever is activated, the commands will execute after the countdown ends.
V. Supported Cores: Paper, Spigot, Folia, Purpur, Mohist
VI. Additional Notes: Everyone is welcome to freely distribute this plugin publicly, provided the author's copyright is not infringed.
下载 Exitplugin-撤离点插件
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Exitplugin-撤离点插件
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Exitplugin-撤离点插件
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Exitplugin-撤离点插件
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Exitplugin-撤离点插件
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Exitplugin-撤离点插件
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Exitplugin-撤离点插件
下载 Exitplugin-撤离点插件
Fixed the logic for judging drop-off evacuation point quotas
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧