万物皆有界限,物品交互为何不能例外?本插件允许服务器对玩家施加限制,以防止其投掷/拾取物品、打开特定容器以及放置/破坏方块。
通过权限配置,你可以强制某位玩家或群体始终受到限制,也可与区域管理插件配合用于活动区域。该插件适用于多种类型的服务器,从 RPG 服务器(尤其是监狱服)到硬核 PVP 服务器皆宜,甚至在举办活动时也能派上用场。
AdminDrop v3.0.0.0 测试兼容版本:
- 1.7.2 / 1.8 / 1.9 / 1.10 / 1.11 / 1.12
功能特性:
- 阻止自身、目标玩家或所有在线/离线玩家在死亡时掉落物品
- 阻止自身、目标玩家或所有在线/离线玩家投掷物品的能力
- 阻止自身、目标玩家或所有在线/离线玩家拾取物品的能力
- 出于“爱的名义”阻止上述行为;适用于自身、目标玩家或所有在线/离线玩家
- 阻止自身、目标玩家或所有在线/离线玩家打开箱子及存储类容器的能力
- 阻止自身、目标玩家或所有在线/离线玩家破坏方块的能力
- 阻止自身、目标玩家或所有在线/离线玩家放置方块的能力
- 可查看自身开关状态以及其他玩家的开关状态
想要获取源代码? 请访问
请注意,上述链接未经 Bukkit 审核
想联系我或关注我的动态? 请在 Twitter 上找到我 @pyropyro78
权限说明:
自身操作
- AdminDrop.self.status - 查看自己的各项开关状态
- AdminDrop.self.deathdrop - 设置自己死亡时的物品掉落开关
- AdminDrop.self.throwaway - 设置自己投掷物品的开关
- AdminDrop.self.pickup - 设置自己拾取物品的开关
- AdminDrop.self.chestaccess - 设置自己打开箱子或存储类容器(包括单箱、双箱、末影箱、漏斗、发射器、矿车箱、酿造台)的权限
- AdminDrop.self.block.break - 设置自己破坏方块的限制
- AdminDrop.self.block.place - 设置自己放置方块的限制
其他玩家操作
- AdminDrop.other.status - 查看其他玩家的开关状态。
- AdminDrop.other.deathdrop - 修改其他玩家死亡时的物品掉落开关。
- AdminDrop.other.throwaway - 设置其他玩家投掷物品的开关。
- AdminDrop.other.pickup - 修改其他玩家拾取物品的开关。
- AdminDrop.other.chestaccess - 设置他人开启箱子或存储物品的权限(单箱、双箱、末影箱、漏斗、发射器、矿车箱、酿造台)。
- AdminDrop.other.block.break - 设置他人破坏方块的自身限制
- AdminDrop.other.block.place - 设置他人放置方块的自身限制
覆盖项(Overrides)
- AdminDrop.alwayson.deathdrop - 使死亡掉落切换开关始终处于开启状态
- AdminDrop.alwayson.throwaway - 使丢弃物品切换开关始终处于开启状态
- AdminDrop.alwayson.pickup - 使拾取物品切换开关始终处于开启状态
- AdminDrop.alwayson.chestaccess - 使箱子访问切换开关始终处于开启状态
- AdminDrop.alwayson.block.break - 使方块破坏切换开关始终处于开启状态
- AdminDrop.alwayson/block.place - 使方块放置切换开关始终处于开启状态
通配符忽略(Override Ignore Star)
如果您在希望拥有类似 AdminDrop.alwayson.pickup 权限的用户/组上使用了 '*' 通配符权限,则需要在 '*' 权限行的上一行使用 - -AdminDrop.ignore.star.pickup,以便在该用户/组上启用该功能。
- AdminDrop.ignore.star.deathdrop - 使 '*' 用户的死亡掉落切换开关始终处于开启状态
- AdminDrop.ignore.star.throwaway - 使 '*' 用户的丢弃物品切换开关始终处于开启状态
- AdminDrop.ignore.star.pickup - 使 '*' 用户的拾取物品切换开关始终处于开启状态
- AdminDrop.ignore.star.chestaccess - 使 '*' 用户的箱子访问切换开关始终处于开启状态
- AdminDrop.ignore.star.block.break - 使 '*' 用户的方块破坏切换开关始终处于开启状态
- AdminDrop.ignore.star.block.place - 使 '*' 用户的方块放置切换开关始终处于开启状态
受限操作(Restricted)
- AdminDrop.restricted.reload – 允许用户在服务器运行时修改配置文件后重新加载配置
命令:
- /ad deathdrop - 切换死亡掉落的开启/关闭状态
- /ad deathdrop [player/online/all] - 切换其他玩家的死亡掉落开启/关闭状态
- /ad deathdrop [player/online/all] [ON/OFF] - 切换其他玩家的死亡掉落开启/关闭状态
- /ad throwaway - 切换丢弃物品能力的开启/关闭状态
- /ad throwaway [player/online/all] - 切换其他玩家丢弃物品能力的开启/关闭状态
- /ad throwaway [player/online/all] [ON/OFF] - 切换其他玩家丢弃物品能力的开启/关闭状态
- /ad pickup - 切换拾取物品能力的开启/关闭状态
- /ad pickup [player/online/all] - 切换其他玩家拾取物品能力的开启/关闭状态
- /ad pickup [player/online/all] [ON/OFF] - 切换其他玩家拾取物品能力的开启/关闭状态
- /ad chestaccess - 切换开启箱子能力的开启/关闭状态
- /ad chestaccess [player/在线/全部] - 切换他人开启箱子的权限
- /ad chestaccess [player/online/all] [ON/OFF] - 开启或关闭他人打开箱子的权限
- /ad blockbreak - 开启或关闭破坏方块的限制
- /ad blockbreak [player/online/all] - 开启或关闭他人破坏方块的权限
- /ad blockbreak [player/online/all] [ON/OFF] - 开启或关闭他人破坏方块的权限
- /ad blockplace - 开启或关闭放置方块的限制
- /ad blockplace [player/online/all/all] - 开启或关闭他人放置方块的权限
- /ad blockplace [player/online/all] [ON/OFF] - 开启或关闭他人放置方块的权限
- /ad reload – 重新加载配置文件
- /ad status - 获取当前状态
- /ad status [player] - 获取玩家当前状态
- /ad help - 显示命令列表
- /ad alt - 显示备用命令
备用命令:
- /ad dd - 开启或关闭死亡掉落
- /ad dd [player/online/all] - 开启或关闭他人的死亡掉落
- /ad dd [player/online/all] [ON/OFF] - 开启或关闭他人的死亡掉落
- /ad ta - 开启或丢弃物品的能力
- /ad ta [player/online/all] - 开启或关闭他人丢弃物品的能力
- /ad ta [player/online/all] [ON/OFF] - 开启或关闭他人丢弃物品的能力
- /ad pu - 开启或拾取物品的能力
- /ad pu [player/online/all] - 开启或关闭他人拾取物品的能力
- /ad pu [player/online/all] [ON/OFF] - 开启或关闭他人拾取物品的能力
- /ad ca - 开启或打开箱子的能力
- /ad ca [player/online/all] - 开启或关闭他人打开箱子的能力
- /ad ca [player/online/all] [ON/OFF] - 开启或关闭他人打开箱子的能力
- /ad bb - 开启或关闭破坏方块的限制
- /ad bb [player/online/all] - 开启或关闭他人破坏方块的权限
- /ad bb [player/online/all] [ON/OFF] - 开启或关闭他人破坏方块的权限
- /ad bp - 开启或关闭放置方块的限制
- /ad bp [player/online/all] - 开启或关闭他人放置方块的权限
- /ad bp [player/online/all] [ON/OFF] - 开启或关闭他人放置方块的权限
- /ad reload – 重新加载配置文件
- /ad status - 获取当前状态
- /ad status [player] - 获取玩家当前状态
- /ad help - 显示命令列表
- /ad ac - 显示备用命令
配置:
https:dev.bukkit.org/bukkit-plugins/admindrop/pages/config/
注意:
- 请记住,在更新到新版本时,务必删除旧配置文件或进行相应更改,因为某些设置可能已发生变化。
- 如果未启用掉落,物品不会保留在死亡后的背包中,而是直接不掉落。
本插件由 pyropyro78 编写。
All things need limitations, why not item related interactions? This plugin allows the server to impose restrictions on a player to prevent them from throwing/picking up items, opening specific inventories, and placing/breaking blocks.
Utilizing permissions you can force a player or group to always have restrictions or paired with a region plugin for event areas. Great for a multitude of server types ranging from RPG servers (prison servers especially) to hardcore PVP servers and can even come in handy for events.
AdminDrop v3.0.0.0 Tested On:
- 1.7.2 / 1.8 / 1.9 / 1.10 / 1.11 / 1.12
Features:
- Stops the dropping of items on death for self, target or all offline/online players
- Stops the ability to throw items for self, target or all offline/online players
- Stops the ability of picking up items for self, target or all offline/online players
- Stops in the name of love; for self, target or all offline/online players
- Stops the ability of opening chests and storage items for self, target or all offline/online players
- Stops the ability to break blocks for self, target or all offline/online players
- Stops the ability to place blocks for self, target or all offline/online players
- Checks personal status of toggles and that of other players
Want the source? Go to
Please note that the above link has not been reviewed by Bukkit
Want to reach out or follow me? Find me on Twitter @pyropyro78
Permissions:
Self
- AdminDrop.self.status - Check one's own status of toggles
- AdminDrop.self.deathdrop - Set one's own drops on death toggle
- AdminDrop.self.throwaway - Set one's own throwing away toggle
- AdminDrop.self.pickup - Set one's own picking up of items toggle
- AdminDrop.self.chestaccess - Set one's own ability to open chests or storage items (single, double, ender, hopper, dropper, minecart chest, brewing stand)
- AdminDrop.self.block.break - Set one’s own restriction to breaking blocks
- AdminDrop.self.block.place - Set one’s own restriction to placing blocks
Other
- AdminDrop.other.status - Check status of others' toggles.
- AdminDrop.other.deathdrop - Modify other user's drops on death toggle.
- AdminDrop.other.throwaway - Set others' throwing away toggle.
- AdminDrop.other.pickup - Modify other user's drops on death toggle.
- AdminDrop.other.chestaccess - Set others' ability to open chests or storage items (single, double, ender, hopper, dropper, minecart chest, brewing stand).
- AdminDrop.other.block.break - Set others' own restriction to breaking blocks
- AdminDrop.other.block.place - Set others' own restriction to placing blocks
Overrides
- AdminDrop.alwayson.deathdrop - Makes toggle for drops on death always on
- AdminDrop.alwayson.throwaway - Makes throwing away toggle always on
- AdminDrop.alwayson.pickup - Makes picking up of items toggle always on
- AdminDrop.alwayson.chestaccess - Makes chest access toggle always on
- AdminDrop.alwayson.block.break - Makes block breaking toggle always on
- AdminDrop.alwayson/block.place - Makes block placing toggle always on
Override Ignore Star
If you use the '*' permission on a user/group that you wish to have something like AdminDrop.alwayson.pickup you will need to use - -AdminDrop.ignore.star.pickup on the line before the '*' permission to enable it on that a user/group.
- AdminDrop.ignore.star.deathdrop - Makes toggle for drops on death always on for ‘*’ users
- AdminDrop.ignore.star.throwaway - Makes throwing away toggle always on for ‘*’ users
- AdminDrop.ignore.star.pickup - Makes picking up of items toggle always on for ‘*’ users
- AdminDrop.ignore.star.chestaccess - Makes chest access toggle always on for ‘*’ users
- AdminDrop.ignore.star.block.break - Makes block breaking toggle always on for ‘*’ users
- AdminDrop.ignore.star.block.place - Makes block placing toggle always on for ‘*’ users
Restricted
- AdminDrop.restricted.reload – Allows user to reload config files if changes are made to the files while server is running
Commands:
- /ad deathdrop - Toggles Death Drops on/off
- /ad deathdrop [player/online/all] - Toggles other's Death Drops on/off
- /ad deathdrop [player/online/all] [ON/OFF] - Toggles other's Death Drops on/off
- /ad throwaway - Toggles the ability to throw away items on/off
- /ad throwaway [player/online/all] - Toggles other's throw away items on/off
- /ad throwaway [player/online/all] [ON/OFF] - Toggles other's throw away items on/off
- /ad pickup - Toggles the ability to pick up items on/off
- /ad pickup [player/online/all] - Toggles other's ability to pick up items on/off
- /ad pickup [player/online/all] [ON/OFF] - Toggles other's ability to pick up items on/off
- /ad chestaccess - Toggles the ability to open chests on/off
- /ad chestaccess [player/online/all] - Toggles other's ability to open chests on/off
- /ad chestaccess [player/online/all] [ON/OFF] - Toggles other's ability to open chests on/off
- /ad blockbreak - Toggles the restriction to break blocks on/off
- /ad blockbreak [player/online/all] - Toggles other's restriction to break blocks on/off
- /ad blockbreak [player/online/all] [ON/OFF] - Toggles other's restriction to break blocks on/off
- /ad blockplace - Toggles the restriction to place blocks on/off
- /ad blockplace [player/online/all/all] - Toggles other's restriction to place blocks on/off
- /ad blockplace [player/online/all] [ON/OFF] - Toggles other's restriction to place blocks on/off
- /ad reload – Reloads config files
- /ad status - Gets current status
- /ad status [player] - Gets players current status
- /ad help - Displays commands
- /ad alt - Shows alternate commands
Alternate Commands:
- /ad dd - Toggles Death Drops on/off
- /ad dd [player/online/all] - Toggles other's Death Drops on/off
- /ad dd [player/online/all] [ON/OFF] - Toggles other's Death Drops on/off
- /ad ta - Toggles the ability to throw away items on/off
- /ad ta [player/online/all] - Toggles other's throw away items on/off
- /ad ta [player/online/all] [ON/OFF] - Toggles other's throw away items on/off
- /ad pu - Toggles the ability to pick up items on/off
- /ad pu [player/online/all] - Toggles other's ability to pick up items on/off
- /ad pu [player/online/all] [ON/OFF] - Toggles other's ability to pick up items on/off
- /ad ca - Toggles the ability to open chests on/off
- /ad ca [player/online/all] - Toggles other's ability to open chests on/off
- /ad ca [player/online/all] [ON/OFF] - Toggles other's ability to open chests on/off
- /ad bb - Toggles the restriction to break blocks on/off
- /ad bb [player/online/all] - Toggles other's restriction to break blocks on/off
- /ad bb [player/online/all] [ON/OFF] - Toggles other's restriction to break blocks on/off
- /ad bp - Toggles the restriction to place blocks on/off
- /ad bp [player/online/all] - Toggles other's restriction to place blocks on/off
- /ad bp [player/online/all] [ON/OFF] - Toggles other's restriction to place blocks on/off
- /ad reload – Reloads config files
- /ad status - Gets current status
- /ad status [player] - Gets players current status
- /ad help - Displays commands
- /ad ac - Shows alternate commands
Config:
https:dev.bukkit.org/bukkit-plugins/admindrop/pages/config/
Notes:
- Remember, always delete your old config or make the appropriate changes when updating to a newer version as things may have changed.
- Items do not stay in inventory on death if drops are toggled to not drop, they just simply do not drop them.
This plugin was authored by pyropyro78.
评论 0
登录后参与评分
还没有评论,来抢沙发吧