更新说明: 我(chaseoes)现在正在维护这个插件。我正在对其进行改进,很快就会有新版本发布!
Duties 为管理员和版主(拥有相应权限的玩家)提供了一种模式,允许你保存当前的生存状态,并在之后恢复到该状态。例如,当你正在洞穴中探险时,有人告诉你他的房子被破坏了。只需输入 /dutymode 并前去调查即可。处理完毕后,再次输入该命令,你就会带着之前所有的物品回到原位。
当前版本:1.4.2(适用于 CraftBukkit [1.6.4.R1.0])
功能特性:
- 保存你的状态以供日后恢复
- 位置信息(包括你面朝的方向、所在的世界等...)
- 背包物品
- 盔甲
- 生命值
- 饥饿值
- 经验值
- 饱和度
- 疲劳度
- 游戏模式
- 燃烧计时器
- 药水效果
- 更多... 速度、载具、剩余空气量、床的重生点...
- 离线期间保持开启 duty 模式
- 设置其他玩家的模式
- 在启用和禁用模式时运行可配置的命令
- 在 duty 模式下添加临时权限
- 在 duty 模式下添加临时分组
- 当满足以下条件时提醒玩家他们开启了 duty 模式:
- 在“Keep-state-offline”开启的情况下登录时
- 打开箱子时
- 丢弃物品时
- 广播状态变更,例如:“ThePf 进入了值班状态。”完全可自定义。
- 支持单独绕过广播
- 选项:更改用户在使用 Duties 时收到的所有消息
- 支持 Vault 权限和名称格式化
- 列出当前开启 duty 模式的玩家
- 防止交互箱子、丢弃物品、死亡掉落和击杀掉落
- 支持 TagAPI
- 自定义前缀
- 自定义后缀
附加组件 - 扩展原版插件的功能范围:
- Groups by TH3PF, idea by retricide - 为不同的等级提供不同类型的 duty 模式...
- Stats by TH3PF, idea by devonpilney - 查看玩家处于值班状态的时长,并记录命令等操作日志。
已知问题:
- 如果在服务器停止或重载时玩家处于离线且开启 duty 模式的状态,他们将保留其“关闭 duty 模式”的位置(即无法正确恢复)。
命令:(所有的 /dutymode 都可以替换为 /duty 和 /dm)
- /duties help - 显示插件的帮助信息。
- /duties reload - 重新加载插件配置。
- /duties disable - 禁用插件。
- /duties updateconfig - 在不丢失已有数据的情况下更新配置文件
- /dutymode (toggle [Player]) - 切换你自己[或另一名玩家]的 duty 模式
- /dutymode enable/on [Player] - 为你自己[或另一名玩家]启用 duty 模式
- /dutymode disable/off [Player] - 为你自己[或另一名玩家]禁用 duty 模式
- /dutymode list - 显示哪些工作人员开启了 duty 模式
- /dutymode listall - 显示哪些玩家开启了 duty 模式
- /dutymode hideb [Player] - 为你自己[或另一名玩家]禁用广播功能
- /dutymode showb [Player] - 为你自己[或另一名玩家]启用广播功能
- /dutymode purge - 强制所有玩家退出 duty 模式
UPDATE: I (chaseoes) am now updating this plugin. I'm working on improving it and you can expect an update soon!
Duties provides a mode for admins and mods (those who do have the permission) which lets you save all your survival stuff and later be able to revert back to it. For example, you are adventuring in a cave, and someone tells you that someone has griefed his house. Just type /dutymode and go investigate it. When you're done, just type it again, and you are back again with all the stuff you had before.
Current version: 1.4.2 for CraftBukkit [1.6.4.R1.0]
Features:
- Save your state for later
- Location (including where you are looking, and what world you are in...)
- Inventory
- Armor
- Health
- Hunger
- Experience
- Saturation
- Exhaustion
- Gamemode
- Fire ticks
- Potion Effects
- More... velocity, vehicles, remaining air, bed spawn...
- Keep duty mode on while offline
- Set other players mode
- Run configurable commands when enabling and disabling the mode
- Add temporary permissions while in duty mode
- Add temporary groups while in duty mode
- Remind players that they have duty mode on when...
- logging in while Keep-state-offline is on
- opening chests
- dropping items
- Broadcasting status changes for example: "ThePf went on duty." Fully customizable.
- Individual broadcast bypass
- Option to change every message that the user will get when using Duties
- Vault permissions and name formatting support
- List players with dutymode on
- Chest interact, item drop, death drops, kill drops prevention
- TagAPI support
- custom prefixes
- custom suffixes
Addons - extends the feature reach of the original plugin:
- Groups by TH3PF, idea by retricide - Have diffrent kinds of dutymodes for diffrent ranks...
- Stats by TH3PF, idea by devonpilney - See how long players have been on duty and log commands etc..
Known issues:
- Players who are offline and on-duty when the server stops or reloads will keep there on-duty postion off-duty
Commands: (Every /dutymode can be replaced by /duty and /dm)
- /duties help - Shows the help for the plugin.
- /duties reload - Reloads the plugin.
- /duties disable - Disables the plugin.
- /duties updateconfig - Updates the configuration without sacrificing already existing data
- /dutymode (toggle [Player]) - Toggles the duty mode for yourself [or for another player]
- /dutymode enable/on [Player] - Enables the duty mode for yourself [or for another player]
- /dutymode disable/off [Player] - Disables the duty mode for yourself [or for another player]
- /dutymode list - Shows a list of which staff players have duty mode on
- /dutymode listall - Shows a list of which players have duty mode on
- /dutymode hideb [Player] - Disables the broadcast feature for yourself [or for another player]
- /dutymode showb [Player] - Enables the broadcast feature for yourself [or for another player]
- /dutymode purge - Forces all players off dutymode
More: Configuration & Permissions
下载 Duties
下载 Duties
下载 Duties
下载 Duties
下载 Duties
下载 Duties
下载 Duties
下载 Duties
下载 Duties
下载 Duties
如果从旧版本更新:只需重新生成 messages.yml!使用 '/duties updateconfig' 来更新 config.yml。
主要变更:
- 在禁用 dutymode 过程中的容错处理
- 适配新的命名系统
- 其他一些改动……记不太清了
- 很遗憾,Duties 现在无法再将离线状态下的在岗玩家传送至他们的离岗位置。我不确定此功能是何时失效的,但我推测 Bukkit API 已不再提供实现该功能的方法。我或许可以通过将 CraftBukkit 作为依赖项而非 Bukkit 来绕过这一限制。在此功能恢复之前(或直到恢复),请禁用 "KeepStateOffline" 配置选项,或者确保在服务器重载或关闭前为每位玩家禁用 dutymode。幸运的是,库存、饥饿值和生命值等其他数据似乎保持完好。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
创建用户友好的菜单以前往不同的世界
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
评论 0
登录后参与评分
还没有评论,来抢沙发吧