CrazyVouchers 5.1.4
release14 ноября 2025 г.Bugs Fixed 🐛
- Fixed multiple issues with
random-commands - Fixed multiple issues with the migration types like
VouchersDeprecated - Fixed an issue where the old
random-commandslist would be copied as is during migration into one command pool which caused all commands to be run, instead of spread out.- This will perform the previous behavior as it was intended now.
- If you have a backup, load it... and re-run /crazyvouchers migrate -mt VouchersDeprecated
As always, Report 🐛 to https://github.com/Crazy-Crew/CrazyVouchers/issues
CrazyVouchers 5.1.3
release5 ноября 2025 г.Bugs Fixed 🐛
- Fixed issue with {random}:50000-2000000 not working.
CrazyVouchers 5.1.2
release5 ноября 2025 г.Bugs Fixed 🐛
- Fixed issue random-commands, and weight calculations. The filter predicate was inverted for weighted and weightless options.
CrazyVouchers 5.1.1
release23 октября 2025 г.Bugs Fixed 🐛
- Fixed an issue with the
out of boundsexception involvingrandom-commands - Fixed an issue where PlaceholderAPI placeholders weren't being parsed.
CrazyVouchers 5.1.0
release22 октября 2025 г.Changes
- Added a new configuration option
has-argumentto vouchers/codes which was a result of fixing{arg}not being replaced in commands. - Added a new configuration option to the
config.ymlthat allows you to choose whether to allow off-hand usage or not. - Added a new permission
crazyvouchers.bypass.2fawhich lets you bypass 2fa when right-clicking. - Added a new configuration option
override-anti-dupeto vouchers which lets you override the anti dupe option in the config.yml- It defaults to false, which is the default behavior out of the box.
- Added a new configuration option
allow-vouchers-in-item-framesto vouchers, which lets your players place vouchers in item frames if set to true. chance-commandsandrandom-commandshave been combined, They were not working properly anyway. We opted for a weight based system when picking random commands, The lower the number. The less likely the command(s) will be run.- You can specify one command in the list, or multiple. It's up to you!
- If there is no weight option present, It will be considered how
random-commandsfunctioned before, which is run separately and has no relation to the weight based options. - You will need to run
/crazyvouchers migrate -mt VouchersDeprecatedfor the changes to take effect, You will see console nagging regarding outdated configurations until you do.
random-commands:
"1":
# The chance for these to run
weight: 45.0
# The commands to run
commands:
- "eco give {player} 100"
"2":
# The chance for these to run
weight: 25.0
# The commands to run
commands:
- "eco give {player} 1000"
# No chance is provided, thus we will pick random commands.
"6":
# The commands to run
commands:
- "give {player} diamond 5"
Technical Changes
- Cleaned up internals when creating a voucher, or a code.
- This allows us to add newer features easier as it's more readable, and less prone to human error.
{random}:1-10000has been improved, and has better logging when a problem happens i.e. due to invalid numbers being used.- Updated the interaction internals to account for off-hand usage by using PlayerInventory & EquipmentSlots
Bugs Fixed
- Voucher Codes when broken were being put in the wrong list which could lead to confusion when viewing what broke.
{arg}was not being replaced when a command was being run.- We no longer check the name/lore if
{arg}is present which in hindsight was a bad idea. - Please read the Changes for further information on how this works now.
- You can manually add this to your existing configurations that do use the
{arg}variable.
- We no longer check the name/lore if
Совместимость
Minecraft: Java Edition
1.20.1–1.21.101.18.2–1.19.41.16.51.12.21.8.8
Детали
Лицензия:MIT
Опубликован:3 года назад
Обновлён:1 месяц назад
