本插件允许管理员设置会自动补货的箱子,补货基于可配置的参数。这将让你为各种情况创建特殊的箱子。你可以为刚加入服务器的玩家创建一个包含一套初始装备的箱子,他们只能获取一次。或者在地下城制作奖励箱,不用担心它们会变空。各种可能性都可能出现!
功能:
- 自动补货的箱子
- 箱子可以选择增加或替换当前库存
- 可配置补货周期
- 可以设置为基于玩家上次打开箱子的时间开始计时,或按固定间隔进行
- 可以设置为保留箱子内物品的位置
- 默认情况下,补货箱子是不可破坏的
- 限制玩家每次可从每个箱子中获取物品的次数
- 通过命令补货箱子
- 完全支持多世界
- 箱子命名
- 每个箱子拥有独特的属性(适用于任何箱子属性)
- 所有箱子的全局默认设置,以及可选的世界特定默认值
- 2.0 新增 箱子可以为每个玩家提供独特的库存(防止 loot 被盗!)
- 2.0 新增 箱子在接收到红石信号时补货的选项
- 2.0 新增 命令更加动态
- 2.0 新增 现在兼容任何基于方块的容器(发射器、工作台等)
- 2.1 新增 箱子补货时广播全局消息的选项
- 2.2 新增 箱子的随机掉落物!
- 2.3 新增 命令补货所有箱子或具有特定名称和/或在特定世界的箱子
- 2.3 新增 能够将世界中所有箱子的补货内容设置为当前箱内的物品(默认限制不包括新创建的箱子!)
使用说明
- 将 ChestRestock.jar 放入你的 plugins 文件夹。
- 启动服务器。
- 在游戏中输入 查看命令列表
/cr
- 或者对准一个箱子并输入 这将以默认设置设置箱子(可在 config.yml 中调整),并使用箱内现有物品进行补货。
/cr create
权限
所有权限默认:OP
- chestrestock.*: 授予所有权限
- chestrestock.cmd.*: 授予所有命令权限
- chestrestock.cmd.<cmdname>: 授予特定命令权限
- chestrestock.break.*: 允许破坏任何箱子
- chestrestock.break.<chestname>: 允许破坏特定箱子
- chestrestock.bypass.lootlimit.*: 允许无限获取任何箱子的物品
- chestrestock.bypass.lootlimit.<chestname>: 允许无限获取特定箱子的物品
- chestrestock.cmd.*: 授予所有命令权限
更多帮助
- 输入 /cr help 查看命令列表。
- 在对准你已通过 /cr create 初始化的箱子时,输入 /cr set 以查看你可以为其设置的属性列表。
- 输入 /cr set <propertyname> 查看该属性的描述。
- 输入 /cr set <propertyname> <value> 为属性设置值。
- global_defaults.yml 包含当世界没有特定默认值时的默认箱子设置。
- defaults/<worldname>.yml 包含特定世界的默认箱子设置。
- 如果某个世界缺少默认设置,将使用 global_defaults.yml 中的默认值。
- 掉落表教程
如果你遇到掉落表问题
首先,访问这里:
将你的掉落表文件粘贴到左侧框中。如果右侧框提示你有问题,这就是为什么它无法与 ChestRestock 工作的原因。
Yaml 是一种非常特定的文件格式,如果不正确输入内容,它会拒绝工作。阅读教程。
This plugin allows admin to set up chests that automatically restock based on configurable parameters. This will allow you to create special chests for a variety of situations. You could create a chest for people new to your server containing a set of starter gear that they can only loot once. Or make reward chests in dungeons where you don't have to worry about them being empty. All kinds of things are possible!
Features:
- Automatically-restocking chests
- Chests can either add to or replace their current stock
- Configurable restock period
- Can either be set to start timing based on the time a player last opened the chest or at fixed intervals
- Can be set to preserve the position of the items in the chest
- Restocking chests are indestructible by default
- Limit # of times a player may loot each chest
- Restock chest by command
- Full multi-world support
- Chest naming
- Unique properties per chest (for any of the chest properties)
- Global default settings for all chests and optionally world specific defaults
- NEW in 2.0 Option for chests to have unique inventories per player (No loot theft!)
- NEW in 2.0 Option for chests to redstock when they receive redstone power
- NEW in 2.0 Commands are more dynamic
- NEW in 2.0 Now works with ANY block based inventory (dispensers, crafting benches, etc)
- NEW in 2.1 Option for chest to broadcast a global message when it restocks
- NEW in 2.2 Randomized loot for chests!
- NEW in 2.3 Command to restock all chests or chests with specific names and/or in specific worlds
- NEW in 2.3 Ability to set all chests in a world to restock with what is currently inside of them (This is limited by default to NOT include newly created chests!)
Instructions
- Place ChestRestock.jar in your plugins folder.
- Start your server.
- Type while in game for a list of commands
/cr
- Or target a chest and type This will set up the chest with default settings (adjustable in config.yml) and will restock with the items currently in the chest.
/cr create
Permissions
All permissions are default: OP
- chestrestock.*: grants all permissions
- chestrestock.cmd.*: grants all command permissions
- chestrestock.cmd.<cmdname>: grants specific command permission
- chestrestock.break.*: allows breaking any chest
- chestrestock.break.<chestname>: allows breaking specific chest
- chestrestock.bypass.lootlimit.*: allows unlimited looting of any chest
- chestrestock.bypass.lootlimit.<chestname>: allows unlimited looting of specific chest
- chestrestock.cmd.*: grants all command permissions
Further Help
- Type /cr help for a list of commands.
- Type /cr set while targeting a chest you have initialized with /cr create to see a list of properties you can set for it.
- Type /cr set <propertyname> to see a description of what the property does.
- Type /cr set <propertyname> <value> to set a value for a property.
- global_defaults.yml contains default chest settings for when a world does not have a specific default.
- defaults/<worldname>.yml contains default chest settings for specific worlds.
- If a default setting is missing for a world, the default in global_defaults.yml will be used.
- Loot Table Tutorial
IF YOU ARE HAVING LOOT TABLE PROBLEMS
First, go here:
Paste your loot table file into the left-hand box. If it says you have problems in the right-hand box, this is why it doesn't work for ChestRestock.
Yaml is a very particular file format and it doesn't like when you don't enter things correctly. Read a tutorial.
下载 ChestRestock
下载 ChestRestock
下载 ChestRestock
下载 ChestRestock
下载 ChestRestock
下载 ChestRestock
下载 ChestRestock
下载 ChestRestock
下载 ChestRestock
下载 ChestRestock
已更新至 1.12。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
创建用户友好的菜单以前往不同的世界
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧