[通用]
此插件目前具有两个主要功能:处理生物掉落物和处理箱子/物品栏掉落物,并提供高级选项和计时器设置。本节仅对各项功能进行简要描述。掉落物可以包含物品和货币,并通过配置文件定义,允许大量自定义。对于物品,包括但不限于:自定义物品名称、自定义描述文本(lore)、附魔以及随机数量)。一旦配置好掉落物,即可用于生物掉落、地牢战利品等。作为额外功能,此插件还可用于一次性为箱子填充物资以举办掉落活动,并让箱子永久保持 stocked 状态。所有发送给玩家的消息均可在单独的配置文件中进行配置。
重要提示:
- 如果您想使用此插件的货币功能,您需要安装 Vault(以及支持 Vault 的经济插件)。
- 此插件此前名为 ChestFiller。由于发生了许多更改(配置文件、数据库结构),旧的 ChestFiller 配置文件和数据库不兼容。如果您希望升级,必须重新链接您的所有箱子。
一些视觉效果展示:

最新值得注意的更新:
- 现在可以实现货币掉落(需要 Vault)。
- 生物掉落物现在可以进行配置。
- 新增消息,以便在尝试获取掉落物时向玩家提供反馈。
- 所有与玩家的交互现在均可配置。
制作了关于此插件的 YouTube 评测视频吗?请发送私信给我。如果我喜欢它,我会将其添加到描述中。
[配置]
本节详细描述配置文件中可以配置的所有内容。如果您是首次运行此插件,将创建一个名为 resources 的文件夹。在该文件夹内,您应该能找到分别用于箱子配置和掉落物配置的独立文件夹,每个文件夹中都包含一个默认示例文件。如果您想快速测试此插件,请参阅指南部分并在游戏中链接默认文件。
config.yml
- auto_update: 设置为 true 时,插件将在服务器启动时连接到 Curse,以可能下载此插件的更新版本。
- mob_drops
- enabled: 启用或禁用此功能。默认为禁用。
- links:
- mobname:
- config: 指定用于掉落的掉落物配置文件。
- clear_drops: 默认为 false
- ...
- mobname:
- worlds: 可用于指定特定世界的生物掉落物。这将覆盖全局设置。
- wordname:
- links: 同上
- ...
- wordname:
掉落物配置:
- items:
- name: [可选] 游戏内的物品名称
- lore: [可选] 物品的描述文本。
- id: 要生成的物品的 Minecraft ID。
- dmg: [可选] 应用于该物品的伤害值。也可用于特殊物品,如苦力怕蛋 (380:50 -> 将 50 放入 dmg)。默认值为 0。
- dmg_randomness: [可选] 实际伤害值位于 dmg-randomness 和 dmg+randomness 之间。默认值为 0。
- chance: 决定该物品生成的概率。
- amount: 决定生成该物品的数量。
- amount_randomness: [可选] 实际物品数量位于 amount - amount_randomness 和 amount + amount_randomness 之间。默认值为 0。
- enchantments: [可选] 应添加到物品上的附魔列表(标准 Minecraft 中可能无法获得的附魔)。请参阅默认文件以了解所需的名称和值。默认为无附魔。
- money:
- amount: 玩家在获取掉落物时应获得的货币数量。
- randomness: 实际给予玩家的货币数量位于 amount - randomness 和 amount + randomness 之间。
箱子配置:
- time: 填充箱子所需的时间(格式为 HH:MM:SS)。
- randomness: [可选] (格式为 HH:MM:SS) 实际的触发时间位于 time-randomness 和 time+randomness 之间。在默认情况下,没有随机性。
- empty_on_trigger: [可选] 指示是否在填充前清空箱子。默认值为 true。
- message: [可选] 箱子填充时应广播的消息。默认值为 ""(无消息)。
- players_required: [可选] 需要在线的玩家数量,箱子才会被填充。默认值为 0。
- trigger_on_looted: [可选] 如果设置为 true,计时器仅在有人访问掉落物时触发。默认值为 false。
- Itemsets: 用于此配置的不同物品集(名称)列表。
- items: 与掉落物配置完全相同(见上文)。
- money: 与掉落物配置完全相同(见上文)。
[命令]
- /lm help: 在游戏中显示命令列表及其描述。
- /lm configlist: 显示可用于链接的配置名称列表。
- /lm reload: 重新加载配置文件更改 + 检测新配置文件。
- /lm link config: 将你正在查看的容器方块与给定的配置进行链接。
- /lm fill [chestconfig/lootconfig] config: 根据配置文件中指定的物品和概率填充你正在查看的容器方块(适用于掉落派对)。如果存在同名战利品配置和箱子配置,则必须提供可选参数。
- /lm autorefill : 将你正在查看的容器方块链接到自动补充模式。无需指定配置,此命令使用当前箱子里的物品。
- /lm remove: 移除你正在查看的容器方块上的任何链接/自动补充。
[权限]
如果你想让用户访问所有命令(除了帮助命令,它应该始终可用),请使用 lootmanager.*。服务器管理员(op)会自动获得所有命令的访问权限。
如需更精细的控制,请使用以下权限:
- lootmanager.help
- lootmanager.link
- lootmanager.fill
- lootmanager.remove
- lootmanager.autorefill
- lootmanager.configlist
- lootmanager.reload
[指南]
配置文件的参数已在上方解释。请查看默认配置以获取具体示例。本指南解释了如何在游戏内链接箱子配置,以及如何一次性使用箱子配置或战利品配置中的物品填充箱子。语言配置文件(language.yml)的配置因其简单明了而被省略。
完整链接流程:
首先使用 /lm configlist 检查你要链接的箱子配置是否可用。确保在控制台中检查配置文件可能存在的错误。如果有错误,请修复它们。修复错误后,简单的 /lm reload 应该就能解决问题。
要将配置链接到箱子,请在看着一个持有容器的方块(如箱子、熔炉等)时,在游戏中输入以下命令:/lm link 配置名。你应该会收到一条消息,表明链接过程已成功。
一次性填充箱子
与上述链接流程相同的操作,只不过你现在应使用 /lm fill 配置。
制作一个始终装满的箱子
只需在你想要保持库存的箱子前使用 /lm link autorefill 即可。
[进行中 / 计划中]
- 单个箱子的战利品!(25/100)
- 为箱子配置添加粒子效果选项,该效果将在箱子上方播放,以指示其尚未被掠夺(0/100)
- 允许自定义地牢中标准生成的战利品(0/100)
- 提供更方便/灵活的方式来维护战利品(游戏中通过 GUI?)+ 允许添加任何当前及未来的物品(附魔箭)。(0/100) - 如果我再次着手于此,这应具有优先级。
[插件扩展]
此插件使用由 Gravity 制作的更新检查器,该检查器会与 Curse 建立连接以通知你插件的更新。你可以在该插件数据文件夹中的 config.yml 文件中禁用此功能。
此插件使用 PluginMetrics,这是一个向 mcstats.org 发送数据以提供使用反馈的插件。如果你希望禁用此功能,请在 PluginMetrics 文件夹中的 'config.yml' 文件中将 'opt-out' 设置为 'true'。
[捐赠]
如果你感到极其慷慨,可以通过捐赠来奖励我为此(以及未来可能的)插件所做的工作。
[捐赠者名单 (PayPal 捐赠)]
- jonny999999 : 7.50 欧元
[General]
This plugin currently has 2 key features: handling mob loot and handling chest/inventory loot with advanced options and timer settings. I will only give a very brief description of the features in this section. Loot can consist of items and money, and is defined trough configs that allow a lot of customization. For items, this includes but is not limited to: custom item names, custom lore, enchantments and randomized quantity). Once loot is configured it can be used for mob drops, dungeon loot, ... As extra features, this plugin can also be used to fill chests once for drop parties, and to keep chests stocked forever. All messages that are sent to players can be configured in a seperate config.
Important:
- If you want to use the money features of this plugin, you need Vault (and an enconomy plugin that supports Vault).
- This plugin was previously known as ChestFiller. Because so many things have changed (config files, database structure) the old ChestFiller configs and database are incompatible. You have to relink all your chests if you want to upgrade.
Some eye candy:

Latest noteworthy additions:
- Money loot is now possible (requires vault).
- Mob loot can now be configured.
- New messages to provide feedback to the player upon loot attempts.
- All interaction with the player can now be configured.
Made a youtube video reviewing this plugin? Send me a pm. If i like it, i'll add it in the description.
[Configuration]
This section describes in detail, all that can be configured in the configs. If you run this plugin for the first time, a map named resources will be created. Inside this map you should find seperate maps for chest configs and loot configs, each containing a default example file. If you want to quickly test the plugin, take a look at the Guide section and link the default file ingame.
config.yml
- auto_update: When set to true, the plugin will connect to curse upon server startups to possibly download newer versions of this plugin.
- mob_drops
- enabled: enable or disable this feature. Default is disabled.
- links:
- mobname:
- config: specify the loot config to be used for drops.
- clear_drops: Default is false
- ...
- mobname:
- worlds: May be used to specify mob drops for specific worlds. This overrides global settings.
- wordname:
- links: Same as above
- ...
- wordname:
Loot config:
- items:
- name: [Optional] The in-game name for this item
- lore: [Optional] The lore for this item.
- id: The minecraft id of the item to spawn.
- dmg: [Optional] The damage to be applied to this item. Can also be used for special items such as a creeper eg (380:50 -> Put the 50 in dmg). The default value is 0.
- dmg_randomness: [Optional] The actual dmg is somewhere between dmg-randomness and dmg+randomness. The default value is 0.
- chance: Determines the chance for this item to spawn.
- amount: Determines the amount of this item to spawn.
- amount_randomness: [Optional] The actual amount of items is somwhere between amount - amount_randomness and amount + amount_randomness. Default value is 0.
- enchantments: [Optional] A list of enchantments that should be added to the item (Enchantments that may not be possible in standard minecraft). Take a look at the default file for the required names and values. The default is no enchantments.
- money:
- amount: The amount of money to give to a player upon looting.
- randomness: The actual amount given to the player is somewhere between amount - randomness and amount + randomness.
Chest Config:
- time: The time (in the format HH:MM:SS) that should pass to fill the chest.
- randomness: [Optional] (in the format HH:MM:SS) The actual trigger time is somewhere between time-randomness and time+randomness. In the default case, there is no randomness.
- empty_on_trigger: [Optional] Indicates whether the chest should be emptied before being filled. The default value is true.
- message: [Optional] Message that should be broadcasted when the chest is filled. The default value is "" (no message).
- players_required: [Optional] Amount of players that need to be online in order for the chest to be filled. The default value is 0.
- trigger_on_looted: [Optional] If set to true, the timer will only trigger when someone accesses the loot. The default value is false.
- Itemsets: A list of different Itemsets (names) to use for this config.
- items: Exactly the same as in loot configs (see above).
- money: Exactly the same as in loot configs (see above).
[Commands]
- /lm help: Show the list of commands and their description ingame.
- /lm configlist: Show a list of config names that are available for linking.
- /lm reload: Reload changes to config files + detect new config files.
- /lm link config: Link the inventory block you are looking at with the given config.
- /lm fill [chestconfig/lootconfig] config: Fill the inventory block you are looking at with the items and chances specified in the config file (Useful for drop parties). If both a loot config and a chest config with the same name exist, the optional parameter is mandatory.
- /lm autorefill : Link the inventory block you are looking at to autorefill mode. No need to specify a config, this command uses the items currently in the chest.
- /lm remove: Remove any links/autorefills from the inventory block you are looking at.
[permissions]
If you want to give users acces to all commands (except for the help command, which should always be available) use lootmanager.*. A server op automatically gains access to all commands.
For finer control use the following permissions:
- lootmanager.help
- lootmanager.link
- lootmanager.fill
- lootmanager.remove
- lootmanager.autorefill
- lootmanager.configlist
- lootmanager.reload
[Guide]
The parameters of config files are explained above. Hava a look at the default configs for a concrete example. This guide explains how to link chest configs ingame and how to fill a chest once with the items in either a chest config or a loot config. The configuration of the language.yml config has been omited because it is straightforward.
Full linking procedure:
First check if the chest config you want to link is available using /lm configlist. Make sure to check your console for possible errors in the config file. If there are errors fix them. After fixing the errors a simple /lm reload should do the trick.
In order to link a config to a chest, type the following command ingame: /lm link configname while looking at a chest/furnace/whathever block that holds an inventory. You should receive a message that the linking process has succeeded.
Filling a chest once
Same procedure as the linking process above, except that you should now use /lm fill config.
Making a chest that's always filled
Simply use /lm link autorefill while looking at the chest you want to maintain stocked.
[Work in progress / Planned]
- Individual chest loot! (25/100)
- Add a particle effect option to chest configs, that is played above the chest to indicate that it hasn't been looted yet (0/100)
- Allow customization of loot standardly generated in dungeons(0/100)
- Provide a more convenient/flexible way to maintain loot (Ingame with GUI?) + allow any current and future item (tipped arrows) to be added.(0/100) - should have priority if i work on this again.
[Addons]
This plugin uses an update-checker (made by Gravity) that makes a connection to Curse to inform you of plugin updates. You can disable this feature in the config.yml file in this plugin's data folder.
This plugin uses PluginMetrics, a plugin to that sends data to mcstats.org to give feedback on usage. If you wish to disable this feature, please set 'opt-out' to 'true' in the 'config.yml' file in the PluginMetrics folder.
[Donating]
If you are feeling extremely generous, you can reward me for my work on this (and possibly future) plugins by donating.
[Donator list (paypal donations)]
- jonny999999 : 7,50 euros
下载 LootManager
下载 LootManager
下载 LootManager
下载 LootManager
下载 LootManager
下载 LootManager
下载 LootManager
下载 LootManager
下载 LootManager
下载 LootManager
* 修复了在使用 /lm remove 命令时,如果没有看向具有库存的方块会导致错误的 bug。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
使床在所有维度中爆炸的模组
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
插件
AbAcc AbAcc 是一款适用于 Minecraft 服务器的管理插件,可简化玩家作弊检测与举报管理工作。工作人员可以发起并管理对可疑玩家的检查流程,并在检查完成后将其释放。
评论 0
登录后参与评分
还没有评论,来抢沙发吧