UserCrates
此插件可将任意箱子变为某人拥有的宝箱。每位玩家都可以创建宝箱并放入想要的物品,然后开启自己的宝箱!
简介
它是如何工作的?很简单,你只需看向一个宝箱,输入几条命令即可搞定!现在任何持有钥匙的人都可以打开该宝箱。无需其他操作!
特别注意事项
服务器管理员须知
如果您希望启用经济功能(例如向宝箱付费),您需要在服务器上安装 Vault 以及一个与 Vault 兼容的经济插件。但这并非必需,如果未正确配置 Vault,插件会自动禁用与经济相关的功能。
受以下任一插件保护的箱子将无法成为宝箱。如果您希望将其他插件加入此列表,请在我的 Discord 上告诉我。
- WorldGuard
- GriefPrevention
默认情况下,所有权限应对所有用户启用。如果您希望设置某些限制,您需要一个允许您禁用特定权限的权限管理插件。
开发者须知
很遗憾,此插件目前没有提供 API。尽管目前可能用不到,但如果收到足够多的请求,我可以为其开发一个 API。
命令
| 命令 |
描述 |
所需权限 |
| /crate |
主命令。 |
usercrates.use |
| /crate help |
提供所有其他命令的主帮助菜单。 |
|
| /crate create [amount] [label] |
在您所注视的箱子上创建一个宝箱。 |
usercrates.create |
| /crate delete |
删除您所注视的宝箱。当然,您必须是该宝箱的所有者。 |
usercrates.delete |
| /crate manage |
提供一个简单的菜单,用于提供关于修改您宝箱的命令建议。 |
usercrates.manage |
| /crate addaccessor <player> |
将指定玩家添加为您的宝箱访问者。 |
usercrates.accessor.add |
| /crate removeaccessor <player> |
从您的宝箱访问者列表中移除指定玩家。 |
usercrates.accessor.remove |
| /crate changetype <type> |
更改您的宝箱类型。 |
usercrates.changetype |
| /crate setprice <price> |
更改您的宝箱价格。 |
usercrates.setprice |
| /crate getkey <amount> |
以多种方式向您发放一定数量的钥匙以便出售。 |
usercrates.getkey |
配置文件
lang.yml
# /crate addaccessor 和 /crate removeaccessor 命令的消息
accessor:
# /crate addaccessor
add:
# 当玩家所注视的位置没有箱子时。
not-chest: '&c您需要注视想要添加访问者的宝箱。'
# 当玩家注视着某个箱子,但它不是宝箱时。
not-crate: '&c您并未注视着一个宝箱。'
# 当玩家试图对自己不拥有的宝箱执行此操作时。
not-owner: '&c那个宝箱不是你的。'
# 当给定名称已存在于该宝箱的访问者列表中时。
exists: '&b%player% &c已经是此宝箱的访问者了。'
# 当玩家成功将某人添加到访问者列表时
# %player% - 被添加为访问者的玩家。
success: '&a成功将 &b%player% &a添加为此宝箱的访问者!'
# /crate removeaccessor
remove:
# 当玩家所注视的位置没有箱子时。
not-chest: '&c您需要注视想要移除访问者的宝箱。'
# 当玩家注视着某个箱子,但它不是宝箱时。
not-crate: '&c您并未注视着一个宝箱。'
# 当玩家试图对自己不拥有的宝箱执行此操作时。
not-owner: '&c那个宝箱不是你的。'
# 当给定名称不存在于该宝箱的访问者列表中时。
unexists: '&b%player% &c还不是此宝箱的访问者。'
# 当玩家成功将某人从访问者列表中移除时
# %player% - 被从访问者列表中移除的玩家
success: '&a成功从访问者列表中移除 &b%player% &a!'
# /crate changetype
changetype:
# 当玩家所注视的位置没有箱子时。
not-chest: '&c您需要注视想要更改类型的宝箱。'
# 当玩家注视着某个箱子,但它不是宝箱时。
not-crate: '&c您并未注视着一个宝箱。'
# 当玩家试图对自己不拥有的宝箱执行此操作时。
not-owner: '&c那个宝箱不是你的。'
# 当玩家想要设置可定价类型但服务器没有经济系统时。
no-econ: '&c您无法将宝箱设为待售状态,因为此服务器没有经济系统。'
# 当玩家成功更改宝箱类型时。
# %type% - 宝箱的新类型。在 'manage.types' 下定义
success: '&a成功将宝箱类型更改为 &b%type%!'
# /crate create
create:
# 当玩家所注视的位置没有箱子时。
not-chest: '&c您需要注视一个箱子才能将其变为宝箱。'
# 当玩家注视着某个宝箱时
already-crate: '&c那里已经有一个宝箱了。'
# 当玩家成功创建宝箱时。
success: '&a成功在该方块处创建了宝箱!你可以将物品放入宝箱,设置价格并获取钥匙,还可以添加访问者来管理这个宝箱。'
# 成功消息的额外警告。仅当服务器没有经济系统时出现。
no-econ: '&6你无法出售你的宝箱,因为此服务器没有经济系统。'
# /crate delete
delete:
# 当玩家看向的位置没有箱子时。
not-chest: '&c你需要看着你想要删除的宝箱。'
# 当玩家看向一个箱子,但它不是宝箱时。
not-crate: '&c你没有看着宝箱。'
# 当玩家试图对自己不拥有的宝箱执行此操作时。
not-owner: '&c那个宝箱不属于你。'
# 当玩家成功移除宝箱时。
success: '&a成功移除了宝箱!'
# /crate getkey
getkey:
# 当玩家看向的位置没有箱子时。
not-chest: '&c你需要看着你想要获取钥匙的宝箱。'
# 当玩家看向一个箱子,但它不是宝箱时。
not-crate: '&c你没有看着宝箱。'
# 当玩家试图对自己不拥有的宝箱执行此操作时。
not-owner: '&c那个宝箱不属于你。'
# 当玩家试图为不支持钥匙的宝箱获取钥匙时。
not-keyable: '&c此宝箱不支持钥匙。你必须通过打开它来购买宝箱。如果你希望启用钥匙功能,请先使用 &b/crate changetype &c更改其类型。'
# 当玩家成功获得一些钥匙时。
# %amount% - 玩家获得的钥匙数量。
success: '&a成功获得了 &b%amount% &a把钥匙!'
# /crate manage
manage:
# 当玩家看向的位置没有箱子时。
not-chest: '&c你需要看着你想要管理的宝箱。'
# 当玩家看向一个箱子,但它不是宝箱时。
not-crate: '&c你没有看着宝箱。'
# 当玩家试图对自己不拥有的宝箱执行此操作时。
not-owner: '&c那个宝箱不属于你。'
# 菜单的标题。
# %player% - 该宝箱的所有者玩家。
header: '&4--&a%player% 的宝箱&4--'
# 显示宝箱所有者的文本。
# %player% - 该宝箱的所有者玩家。
owner: '&e所有者: &b%player%'
# 显示访问者的文本。
# %accessors% - 作为此宝箱访问者的玩家列表。
accessors: '&e访问者: &b%accessors%'
# [ADD] 按钮,点击时提示使用 /crate addaccessor。
add-accessor: '&a&l[添加]'
# 显示宝箱类型的文本。
# %type% - 宝箱的类型。定义在 'manage.types' 下。
type: '&e当前类型: &b%type%'
# 显示宝箱价格的文本。
# %price% - 宝箱的价格。
price: '&e价格: &a%price%'
# [CHANGE] 按钮,点击时提示使用 /crate setprice 更改价格。
change: '&a&l[更改]'
# 所有宝箱类型的无色名称。
types:
# 意味着只能通过钥匙打开宝箱。
KEY: '仅限钥匙'
# 意味着只能通过支付价格打开宝箱。
PRICE: '仅限价格'
# 意味着玩家可以通过价格和钥匙两种方式打开宝箱。
BOTH_PRICE_KEY: '价格与钥匙'
# 意味着除了访问者之外,没有人可以在不支付价格/不使用钥匙的情况下打开宝箱。旨在用于娱乐性质的宝箱。
ONLY_ACCESSORS: '仅限访问者'
# 菜单的页脚。
footer: '&4------------------------'
# /crate setprice
setprice:
# 当服务器没有经济系统时,意味着此命令完全无用。
no-econ: '&c你无法为任何宝箱设置价格,因为此服务器没有经济系统。'
# 当玩家看向的位置没有箱子时。
not-chest: '&c你需要看着你想要更改价格的宝箱。'
# 当玩家看向一个箱子,但它不是宝箱时。
not-crate: '&c你没有看着宝箱。'
# 当玩家试图对自己不拥有的宝箱执行此操作时。
not-owner: '&c那个宝箱不属于你。'
# 当玩家看向的宝箱不支持价格时。
not-pricable: '&c此宝箱不能有价格。你需要使用 &b/crate getkey &c获取钥匙。如果你希望将其设为可购买,请先使用 &b/crate changetype &c将其类型更改为可购买类型。'
# 当玩家成功更改宝箱价格时。
# %price% - 宝箱的新价格。
success: '&a成功将宝箱价格更改为 &b%price%! '
# /crate help (当你尝试执行未知命令(如 /crate askdg 或 /crate setype)时也会显示)
help:
# 列表的标题。
header: '&4-----&a帮助菜单&4-----'
# 列表的命令格式。
# %cmd% - 命令用法。
# %desc% - 命令描述。
format: '&b%cmd% &6- &e%desc%'
# 列表的页脚。
footer: '&4-------------------'
# 当有人成功破坏宝箱方块但不显示时。
crate-break: '&c你不能破坏宝箱方块。如果你想移除它,请考虑使用 &b/crate delete&c。'
# 关于某人打开宝箱时的消息。
open:
# 当玩家背包中没有空间时。
no-space: '&c你的背包没有空间来打开这个宝箱。'
# 当宝箱处于“仅限访问者”模式,但玩家不是访问者时。
not-accessor: '&c此宝箱仅限访问者,你无法打开它。'
# 当玩家正在打开宝箱时。
ing: '&e正在打开宝箱...'
# 当宝箱是支持价格类型,但服务器没有经济系统时。
no-econ: '&c你现在无法打开这个宝箱,因为此服务器可能在此宝箱仍处于 &b仅限价格 &c类型时移除了经济系统。请联系宝箱所有者更改类型。'
# 表示“余额不足”。当玩家无法支付开启宝箱的费用时显示。
# %price% - 玩家需要的金额。保证玩家的余额低于此数值。
neb: '&c你需要 &a%price% &c才能开启这个宝箱。'
# 当玩家手中未持有钥匙,但开启该宝箱需要钥匙时显示。
no-key: '&c开启此宝箱需要在手中持有钥匙。'
# 当玩家持有的钥匙不属于当前宝箱时显示。
invalid-key: '&c你手持的钥匙并非此宝箱的正确钥匙。'
# 当宝箱内部没有任何物品时显示。
nothing: '&c此宝箱内空无一物。'
# 告知玩家在此宝箱上花费的金额(如果有的话)。
# %price% - 玩家在宝箱上花费的金额。
spent: '&e在宝箱上花费了 &a%price% &e。'
# 当玩家通过付费方式开启宝箱时,向宝箱所有者发送通知。
# %player% - 打开由查看此消息的玩家所制作的宝箱的玩家。
# %price% - %player% 花费的金额。查看此消息的玩家获得了这笔金额。
notification: '&b%player% &e以 &a%price%&e 购买了你的宝箱!'
# 告知玩家从宝箱中获得了什么。
# 重要:始终在 '%item%' 前后加上 '&f'。切勿忘记。
# %item% - 玩家获得的物品名称。悬停时显示完整的物品提示框。
# %count% - 物品的数量。
done: '&a你从宝箱中获得了 &f[&f%item%&f] x%count% &a!'
# 宝箱全息图的各行文本。
hologram:
# 第一行。
# %player% - 宝箱的所有者。
1: '&e%player% 的宝箱'
# 第二行。
# %price% - 宝箱的价格。
2: '&e价格: &a%price%'
# 当宝箱处于 'KEY' 模式时,显示在第二行。
2k: '&6需要钥匙'
# 当宝箱处于 'BOTH_KEY_PRICE' 模式时,显示在第二行。
# %price% - 宝箱的价格
2kp: '&6使用钥匙 &d/ &e价格: &a%price%'
# 当宝箱处于 'ACCESSOR_ONLY' 模式时,显示在第二行。
2a: '&6仅限访问者'
# 第三行。
3: '&7右键点击以开启'
# 第四行。
4: '&7左键点击以查看物品'
# 宝箱展示菜单。
crate_display:
# 菜单标题。
title: '宝箱展示'
# 更改出现在宝箱展示菜单中每个物品下方的文本。
# %change% - 开启宝箱时获得该物品的概率百分比。
# %count% - 显示有多少个槽位填充了与此完全相同的物品。
# %all% - 宝箱中被填充的槽位总数。
chance: '&e概率&6: &3%&b%chance% &3(&b%count% in %all%&3)'
# 宝箱开启菜单。
crate_opening:
# 菜单标题
# %player% - 当前正在被开启的宝箱的所有者。
title: '正在开启 %player% 的宝箱!'
# 宝箱钥匙的展示。
key:
# 物品名称。
title: '&e宝箱钥匙'
# 物品的三行描述。
desc:
# 第一行。说明此钥匙可以开启 %player% 的宝箱。
# %player% - 此钥匙所属的宝箱的所有者。
1: '&6开启 &e%player% 的宝箱&6。'
# 第二行。说明每把钥匙的价值。
# %price% - 宝箱的价格,也是单把钥匙的价格。
2: '&6根据最新价格,每把钥匙价值 &a%price% &6。'
# 第三行。说明如何使用此钥匙开启宝箱。
# %player% - 此钥匙所属的宝箱的所有者。
3: '&6使用此钥匙 &e右键点击 &6%player% 的宝箱即可开启!'
config.yml
open:
# 如果启用,当有人的宝箱被开启时,宝箱所有者会收到通知。
notification: true
支持
如果你在插件中发现任何错误、有任何想法,或者只是想和我聊聊,欢迎加入我的 discord 服务器!这是联系我(可能是最棒且)最快的方式。
UserCrates
This plugin makes every chest a potential crate by someone. Every player can make a crate and put items they want to it, then open their own crates!
About
How it works? Simply you just look to a crate, write a couple commands, and done! Now anyone with a key can open that crate. Nothing else required!
Special Notes
For Server Owners
If you want to enable economy features (such as paying money to a crate), you need to install Vault and an economy plugin that works with Vault to your server. It is not
required though, plugin will automatically disable the economy-specific features when Vault is not correctly setup.
Any chest protected by at least one of the plugins below will be unable to become a crate. If you want another plugin to be here, tell me on my discord.
- WorldGuard
- GriefPrevention
All the permissions should be enabled to all users by default. If you wish to make some limitations, you need a permission manager plugin that allows you to disable a
permission.
For Developers
Unfortunately, there is no API for this plugin. Despite it would be useless at the moment, I can make one if enough requests for it approaches.
Commands
| Commnad |
Descripton |
Permission Required |
| /crate |
Main command. |
usercrates.use |
| /crate help |
Provides a main help menu for all the other commands |
|
| /crate create [amount] [label] |
Creates a crate at the chest you are looking at. |
usercrates.create |
| /crate delete |
Deletes the crate you are looking at. Of course you need to be owner of that crate. |
usercrates.delete |
| /crate manage |
Provides a simple menu for command suggestions about modifying your crate. |
usercrates.manage |
| /crate addaccessor <player> |
Adds the given player as an accessor for your crate. |
usercrates.accessor.add |
| /crate removeaccessor <player> |
Removes the player given from the accessors of your crate. |
usercrates.accessor.remove |
| /crate changetype <type> |
Changes the type of your crate. |
usercrates.changetype |
| /crate setprice <price> |
Changes the price of your crate |
usercrates.setprice |
| /crate getkey <amount> |
Gives you an amount of the keys to sell with various ways. |
usercrates.getkey |
Configs
lang.yml
# Messages of the commands /crate addaccessor and /crate removeaccessor
accessor:
# /crate addaccessor
add:
# When there is no chest at where player is looking.
not-chest: '&cYou need to look at the crate that you want to add an accessor.'
# When player is looking to a chest, but it isn't a crate.
not-crate: '&cYou are not looking at a crate.'
# When player tries to do this action for a crate that he does not own.
not-owner: '&cThat crate is not yours.'
# When the given name already exists inside accessor list of that crate.
exists: '&b%player% &cis already an accessor of this crate.'
# When player successfully adds someone to accessor list
# %player% - Player whose added as an accessor.
success: '&aSuccessfully added &b%player% &aas an accessor to this crate!'
# /crate removeaccessor
remove:
# When there is no chest at where player is looking.
not-chest: '&cYou need to look at the crate that you want to remove an accessor.'
# When player is looking to a chest, but it isn't a crate.
not-crate: '&cYou are not looking at a crate.'
# When player tries to do this action for a crate that he does not own.
not-owner: '&cThat crate is not yours.'
# When the given name does not exist inside accessor list of that crate.
unexists: '&b%player% &cis not an accessor of this crate already.'
# When player successfully removes someone from accessor list
# %player% - Player whose removed from accessors
success: '&aSuccessfully removed &b%player% &afrom accessors of this crate!'
# /crate changetype
changetype:
# When there is no chest at where player is looking.
not-chest: '&cYou need to look at the crate that you want to change type.'
# When player is looking to a chest, but it isn't a crate.
not-crate: '&cYou are not looking at a crate.'
# When player tries to do this action for a crate that he does not own.
not-owner: '&cThat crate is not yours.'
# When player wants a pricable type but there is no economy.
no-econ: '&cYou can''t make your crate for sale, because this server does not have an economy.'
# When player successfully changes the crate type.
# %type% - New type of the crate. Defined under 'manage.types'
success: '&aSuccessfully changed crate type to &b%type%!'
# /crate create
create:
# When there is no chest at where player is looking.
not-chest: '&cYou need look at a chest to make it a crate.'
# When player is looking to a crate
already-crate: '&cThere is already a crate there.'
# When player successfully creates a crate.
success: '&aSuccessfully created a crate at that block! You can put your items to your crate, set a price and get keys for it, and add accessors to manage the crate.'
# Additional warning to success message. Only appears when there is no economy on the server.
no-econ: '&6You won''t be able to make your crate for sale, because this server does not have an economy.'
# /crate delete
delete:
# When there is no chest at where player is looking.
not-chest: '&cYou need to look at the crate that you want to delete.'
# When player is looking to a chest, but it isn't a crate.
not-crate: '&cYou are not looking at a crate.'
# When player tries to do this action for a crate that he does not own.
not-owner: '&cThat crate is not yours.'
# When player successfully removes the crate.
success: '&aSuccessfully removed the crate!'
# /crate getkey
getkey:
# When there is no chest at where player is looking.
not-chest: '&cYou need to look at the crate that you want to get a key for.'
# When player is looking to a chest, but it isn't a crate.
not-crate: '&cYou are not looking at a crate.'
# When player tries to do this action for a crate that he does not own.
not-owner: '&cThat crate is not yours.'
# When player tries to get a key for a crate that does not support keys.
not-keyable: '&cThis crate doesn''t support keys. You have to buy the crate by opening it. If you wanted to make it able for keys, change its type using &b/crate changetype &cfirst.'
# When player successfully gets some keys.
# %amount% - Number amount of the keys player got.
success: '&aSuccessfully got &b%amount% &akeys!'
# /crate manage
manage:
# When there is no chest at where player is looking.
not-chest: '&cYou need to look at the crate that you want to manage.'
# When player is looking to a chest, but it isn't a crate.
not-crate: '&cYou are not looking at a crate.'
# When player tries to do this action for a crate that he does not own.
not-owner: '&cThat crate is not yours.'
# Header of the menu.
# %player% - Player whose owner of this crate.
header: '&4--&a%player%''s Crate&4--'
# Owner text that shows the crate owner.
# %player% - Player whose owner of this crate.
owner: '&eOwner: &b%player%'
# Accessors text that shows the accessors.
# %accessors% - A list of the players that is an accessor of this crate.
accessors: '&eAccessors: &b%accessors%'
# [ADD] Button that suggests you /crate addaccessor when clicked.
add-accessor: '&a&l[ADD]'
# Type text that shows type of the crate.
# %type% - Type of the crate. Defined under 'manage.types'
type: '&eUsing Type: &b%type%'
# Price text that shows price of the crate.
# %price% - Price of the crate.
price: '&ePrice: &a%price%'
# [CHANGE] Button that suggests you /crate setprice to change the price when clicked.
change: '&a&l[CHANGE]'
# Colorless type names for all the crate types.
types:
# Means that the only way to open the crate is using a key of it.
KEY: 'Only using Key'
# Means that the only way to open the crate is paying the price of it.
PRICE: 'Only with price'
# Means that player can open the crate in both key and price ways.
BOTH_PRICE_KEY: 'Prices & Keys'
# Means that no one but the accessors can open the crate without a price/key. Intended for fun purposed crates.
ONLY_ACCESSORS: 'Accessor Only'
# Footer of the menu.
footer: '&4------------------------'
# /crate setprice
setprice:
# When there is no economy on the server, meaning this command is completely useless.
no-econ: '&cYou can''t set a price for any crate, because this server does not have an economy.'
# When there is no chest at where player is looking.
not-chest: '&cYou need to look at the crate that you want to change the price.'
# When player is looking to a chest, but it isn't a crate.
not-crate: '&cYou are not looking at a crate.'
# When player tries to do this action for a crate that he does not own.
not-owner: '&cThat crate is not yours.'
# When the crate player is looking at does not support prices.
not-pricable: '&cThis crate can''t have a price. You need to get a key using &b/crate getkey&c. If you wanted to make it for sale, change its type to a buyable type using &b/crate changetype &cfirst.'
# When player successfully changed the crate price.
# %price% - New price of the crate.
success: '&aSuccessfully changed crate''s price to &b%price%!'
# /crate help (Also appears when you try to execute an unknown command, such as /crate askdg or /crate setype.)
help:
# Header of the list.
header: '&4-----&aHelp Menu&4-----'
# Command format of the list.
# %cmd% - Usage of the command.
# %desc% - Description of the command.
format: '&b%cmd% &6- &e%desc%'
# Footer of the list.
footer: '&4-------------------'
# When someone manages to break a crate block without displaying it.
crate-break: '&cYou can''t break a crate block. If you tried to remove it, consider &b/crate delete&c.'
# Messages about the moment that someone opens a crate.
open:
# When there is no space at player's inventory.
no-space: '&cYou have no space in your inventory to open this crate.'
# When the crate is in 'Accessor Only' mode, but player is not an accessor.
not-accessor: '&cThis crate is accessor only, you can''t open it.'
# When player is opening the crate.
ing: '&eOpening the crate...'
# When the crate is a type that supports prices but there is no economy in the server.
no-econ: '&cYou can''t open this crate right now, because this server probably removed their economy system while this crate was still in &bOnly Price &ctype. Ask the crate''s owner to change the type.'
# Stands for 'not-enough-balance'. When player couldn't afford the crate.
# %price% - Amount of the money player needs. Guaranteed that player's balance is lower than it.
neb: '&cYou need &a%price% &cto open this crate.'
# When player isn't holding a key on his hand but the crate requires one.
no-key: '&cYou need to hold a key in your hand for this crate.'
# When player is holding a key that belongs to another crate.
invalid-key: '&cYou are not holding the correct key for this crate.'
# When there is nothing inside the crate.
nothing: '&cThere is nothing inside this crate.'
# Says how much money did player spent on this crate, if he did.
# %price% - Amount of the money player spent on the crate.
spent: '&eSpent &a%price% &eon this crate.'
# Goes to the crate owner when player opens it via price.
# %player% - Player who opened a crate made by whose seeing this message.
# %price% - Amount of the money %player% spent. Player whose seeing this message earned this amount of money.
notification: '&b%player% &ebought your crate for &a%price%&e!'
# Says what player got from the crate.
# IMPORTANT: Always put an '&f' before and after '%item%'. DO NOT FORGET THIS.
# %item% - Name of the item player got. Shows the entire item tooltip when hovered.
# %count% - Amount of the item.
done: '&aYou got &f[&f%item%&f] x%count% &afrom the crate!'
# Lines of the crate hologram.
hologram:
# First line.
# %player% - Player who owns the crate.
1: '&e%player%''s Crate'
# Second line.
# %price% - Price of the crate.
2: '&ePrice: &a%price%'
# Appears at second line when the crate is in 'KEY' mode.
2k: '&6Key Required'
# Appears at second line when the crate is in 'BOTH_KEY_PRICE' mode.
# %price% - Price of the crate
2kp: '&6Use Key &d/ &ePrice: &a%price%'
# Appears at seconds line when the crate is in 'ACCESSOR_ONLY' mode.
2a: '&6Accessor Only'
# Third line.
3: '&7Right-Click to Open'
# Fourth line.
4: '&7Left-Click to See Items'
# Crate display menu.
crate_display:
# Title of the menu.
title: 'Crate Display'
# Change text that appears under every item inside crate display menu.
# %change% - Percentage chance of that item to get while opening the crate.
# %count% - Number that shows how many slots are filled with an item exactly like this one.
# %all% - Amount of the filled slots inside the crate.
chance: '&eChance&6: &3%&b%chance% &3(&b%count% in %all%&3)'
# Crate open menu.
crate_opening:
# Title of the menu
# %player% - Player whose owner of the crate that is being opened right now.
title: 'Opening %player%''s Crate!'
# Display of the crate keys.
key:
# Name of the item.
title: '&eCrate Key'
# 3 Lined description of the item.
desc:
# First line. Says that this crate opens %player%'s crate.
# %player% - Player who owns the crate that this key belongs to.
1: '&6Opens &e%player%''s Crate&6.'
# Second line. Says how much this keys worth.
# %price% - Price of the crate, price of one key as well.
2: '&6Worth &a%price% &6per key from the latest price.'
# Third line. Says how to open the crate using this key.
# %player% - Player who owns the crate that this key belongs to.
3: '&6Right-Click to &e%player%''s Crate &6with this key to open it!'
config.yml
open:
# If enabled, a crate owner will get notified when some of his crates got opened.
notification: true
Support
If you see any bugs at the plugin, have some ideas for it, or just want to talk with me, consider my discord server! It is (probably the best and) the fastest way to reach me out.
评论 0
登录后参与评分
还没有评论,来抢沙发吧