
Sword Asker 是一款专为监狱服务器守卫设计的插件。如果守卫在试图让某人交出违禁品时无法快速或正确地倒数,Sword Asker 是一款会要求玩家交出违禁品的插件,包括默认命令 /sword 以及可以添加的其他命令。请确保消息路径名称与之前完全相同。
计划中的功能:
- 在特定区域内要求交出武器。
- 当目标被锁定时,以不同颜色显示玩家的“头颅”名称。
- 通过选择目标物品栏中的物品来要求其交出违禁武器。
命令
- /sword <player> 向该玩家索要武器,然后发送带有发送者姓名的倒数警告。这是插件的默认命令,可以在配置文件中更改,也可以添加其他命令。
- /swordaskerreload 重新加载配置文件。
- /swordaskerinfo 检查插件更新。
权限
- swordasker.sword 授予对 /sword 命令的访问权限。
- swordasker.swordaskerreload 授予对 /swordaskerreload 命令的访问权限
- swordasker.swordaskerinfo 授予对 /swordaskerinfo 命令的访问权限
- swordasker.resistdeath 当启用死亡登录功能时,此权限可防止用户登录至其死亡状态。
版本
- v1.8.1 修复了一些错误。
- v1.8 添加了自定义命令和其他新功能!
- v1.7.23 我进一步测试了 Sword Asker,发现在不恰当的时间(例如玩家死亡时)输入命令时会遗漏许多错误,增加了广播功能,并在玩家于倒数期间抗拒逮捕(如下线)时发送提示信息。
- v1.7.22 由于配置文件相关代码无法正常工作,完全移除了“for”方法。
- v1.7.21 添加了变更日志菜单,命令现在区分用户名大小写,禁用了从自己那里获取违禁品(可配置),移除了其他武器命令(为自定义命令做准备),能够广播消息“已修复”(可配置),自定义倒数持续时间(可配置)。
- v1.7.2 修复了自定义权限括号,消息现在可以公开发送。
- v1.7.1 更新至 1.8.1,能够编辑前缀,添加了重载命令,能够自定义权限(重载除外),自定义命令正在开发中!
- v1.7 减少了需要编辑的消息数量,能够编辑所有文本,不再必须为 20 tick,进行了更多代码清理,将所有配置变量合并为一个,默认消息文本略有偏差,而不是全部如此。
- v1.6 添加了带有可编辑消息的配置文件。
- v1.5 更新至 1.7.4,暂时移除了 PvP 滥用功能命令和查看某人输入的命令。为防止故障,现在使用 Beta 构建版本而非 Developer 构建版本。
- v1.4 更新至 1.6.1,添加了 PvP 滥用功能。
- v1.3 添加了 Developer Build 支持,移除了小麦,添加了毒品、棍棒和燧石。
- v1.2 将报错信息“You do not have have access to that command!”更正为“You do not have access to that command!”
- v1.1 添加了弓、箭和小麦。
- v1.0 发布
免责声明:您不得在此发帖要求我为您的服务器开发插件,也不得要求帮助开发我的插件。这些属于私人信息。

Sword Asker is a plugin designed for guards on prison servers. If a guard cannot count down fast enough or properly while trying to get someone to hand over their contraband item, Sword Asker is a plugin that asks for people's contraband items including: /sword (default) and other commands that can be added. Make sure the message path names are exactly the same as the previous.
Planned Features:
- Asking for a weapon from in a specific area.
- Displaying the player's "head" name as a different color when being targeted.
- Asking for a contraband weapon by selecting an item in the target's inventory.
Commands
- /sword <player> Asks the player for their sword then gives a countdown warning with the sender's name. This is the default command in the plugin, this can be changed in the configuration file, other commands can be added as well.
- /swordaskerreload Reloads the configuration file.
- /swordaskerinfo Checks updates from the plugin.
Permissions
- swordasker.sword Gives access to the /sword command.
- swordasker.swordaskerreload Gives access to the /swordaskerreload command
- swordasker.swordaskerinfo Gives access to the /swordaskerinfo command
- swordasker.resistdeath When death for logging is enabled, this permission prevents the user from logging into their death.
Versions
- v1.8.1 Fixed some errors.
- v1.8 Added custom commands and other new features!
- v1.7.23 I further tested Sword Asker and found that a lot of errors were left out while typing the command at odd times, (like when the player is dead) added broadcasting with messages that tell you when a player resists an arrest during a countdown, such as going offline.
- v1.7.22 The "for" method was completely removed due to code having to do with the configuration file not to work properly.
- v1.7.21 Added a changelog menu, commands are now username sensitive, disabled asking contraband from yourself (configure), removed the other weapon commands (preparation for custom commands), able to broadcast messages "fixed" (configure), customize the duration of the countdown (configure).
- v1.7.2 Fixed the custom permissions bracket, messages can now be sent publicly.
- v1.7.1 Updated to 1.8.1, able to edit the prefix, added a reload command, able to customize permissions (except for reload), custom commands are under way!
- v1.7 Less messages to edit, able to edit ALL the text, doesn't have to be 20 ticks anymore, more code clean up, removed all configuration variables and converted them into one, the default text for messages is slightly off instead of everything being.
- v1.6 Added a Configuration File with editable messages.
- v1.5 Updated to 1.7.4, Temporarily removed PvP abuse function commands and seeing what command someone typed. To prevent glitches, now using Beta Builds instead of Developer Builds.
- v1.4 Updated to 1.6.1, Added PvP abuse function.
- v1.3 Added Developer Build support, Removed Wheat, Added Drug, Rod, and Flint.
- v1.2 Changed the error-ed message "You do not have have access to that command!" to "You do not have access to that command!"
- v1.1 Added Bow, Arrow, and Wheat.
- v1.0 Release
Disclaimer: You may not post here and ask me to develop for your server, and you may not ask to help develop my plugins. That is private information.
下载 Sword Asker
下载 Sword Asker
下载 Sword Asker
下载 Sword Asker
下载 Sword Asker
下载 Sword Asker
下载 Sword Asker
下载 Sword Asker
下载 Sword Asker
下载 Sword Asker
-
v1.8.1 修复了一些错误。
- v1.8 添加了自定义命令和其他新功能!
- v1.7.23 我进一步测试了 Sword Asker,发现当在奇怪的时刻(例如玩家死亡时)输入命令时,会遗漏许多错误。现已添加广播功能,并配有消息提示,告知你在倒计时期间玩家抗拒逮捕的情况,例如离线。
- v1.7.22 由于配置文件相关的代码无法正常工作,“for”方法已被完全移除。
- v1.7.21 添加了变更日志菜单,命令现在区分用户名大小写,禁用了向自己询问违禁品(可配置),移除了其他武器命令(为自定义命令做准备),支持广播消息“已修复”(可配置),自定义倒计时持续时间(可配置)。
- v1.7.2 修复了自定义权限括号,消息现在可以公开发送。
- v1.7.1 更新至 1.8.1,可编辑前缀,添加了重载命令,可自定义权限(重载除外),自定义命令正在开发中!
- v1.7 需要编辑的消息更少,可编辑所有文本,不再必须是 20 ticks,进行了更多代码清理,移除了所有配置变量并将其合并为一个,默认消息文本略有调整,而非全部更改。
- v1.6 添加了带有可编辑消息的配置文件。
- v1.5 更新至 1.7.4,暂时移除了 PvP 滥用功能命令和查看某人输入的命令的功能。为防止出现漏洞,现使用 Beta 版本而非开发者版本。
- v1.4 更新至 1.6.1,添加了 PvP 滥用功能。
- v1.3 添加了开发者版本支持,移除了小麦,添加了毒品、鱼竿和燧石。
- v1.2 将包含错误的消息“You do not have have access to that command!”更正为“You do not have access to that command!”
- v1.1 添加了弓、箭和小麦。
- v1.0 发布
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
自定义你的Minecraft头像!
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
插件
在 Minecraft 中加入“最后一击”、“第二次机会”和“最后喘息”机制!从高处坠落时,你将拥有 0.5 HP 而不是直接死亡;当生命值较低时,增强你的能力。
插件
允许基岩版(Geyser)玩家使用自定义铁砧和锻造台配方。
评论 0
登录后参与评分
还没有评论,来抢沙发吧