Перейти к содержимому
Mineforgian

CrazyVouchers

Want to make a paper that can give you an axolotl with a pretty firework display, Look no further!

Загрузки
38K
Подписчики
64
Обновлён
17 июня 2026 г.
Лицензия
MIT

Опубликован 14 августа 2022 г.

CrazyVouchers

Installation

  1. Download the update from modrinth/hangar for your version of Minecraft.
    1. Note, Any version that is not the newest version of Minecraft is not supported.
  2. You must be using at least https://papermc.io/.
  3. The file you downloaded goes in the plugins folder.
  4. Restart the server.
  5. Create new files in the vouchers/codes folder, or vouchers.yml or codes.yml and look at the existing files in there to help figure out how to use the plugin.
  6. Reload the plugin, Use crazyvouchers give or crazyvouchers redeem to test your changes.
  7. View the documentation @ https://docs.crazycrew.us/docs/mods/crazyvouchers/

Quick Builds

Get the latest builds for every commit!

Contributing

Support

All support for the plugin is provided on Discord! If a question cannot be answered on the wiki, The next best place is to ask it in the Discord.

Discord Invite Button

Data Collection

We collect anonymous statistics on how the plugin is used at https://bstats.org/plugin/bukkit/Vouchers/4536 and is visible to the public. If you do not want this anonymous data sent, You currently have to go to the bStats folder, and set that to false.


Apex Hosting (ad)

We're sponsored by Apex Hosting, Click here to get 25% off your first purchase with the code APEX25 at checkout for Minecraft servers, Satisfactory servers, and more!

Ченджлог

5.2.0Релиз26.1.2 · 17 июня 2026 г.

Changes 🔨

New Commands

  • Added /crazyvouchers version which includes the git commit, previous git commit, and current version.
    • If any value is not found, it will return "N/A"

Plugin Support

Note: replace <item_id> with the correct identifier from the custom item plugins.
Second Note: Any place you can input diamond_axe allows you to use this format.
Third Note: You can still use emerald_helmet as in direct ids as well

  • Added support for HMCWraps.
    • item: hmcwraps@<item_id>
  • This introduces new formats for other plugins like Oraxen, Nexo, CraftEngine, and ItemsAdder
    • item: nexo@<item_id>
    • item: oraxen@<item_id>
    • item: itemsadder@<item_id>
    • item: craftengine@<item_id>

Configuration Changes

Glowing

  • Glowing no longer is true/false, however existing configurations using true/false will still work as we look for that internally as well.
  # Should the item glow?
  # Available Types: add_glow, remove_glow, none
  Glowing: "none"

Two-Factor Authentication

  • Added the ability to customize the two-factor message per voucher/code
    • If the message in the voucher/code file is not found, it falls back to the default message in messages.yml
    # Enables the ability to require a player to confirm claiming the voucher.
    two-factor:
      # If this should be enabled.
      toggle: false
      # The messages to send to confirm.
      message:
        - "{prefix}<gray>Right click again to confirm that you want to use this voucher." 

Bugs Fixed 🐛

  • Vouchers could be used in recipes due to using return instead of continue.
  • world#dropItem was not wrapped in Folia Scheduler which led to incompatibility on Folia.
  • Vouchers/Codes not refreshing when running the migrators.
  • The plugin jar being in a directory with a space in it would cause startup errors.
  • Custom Heads with HeadDatabase were not working.
  • Weighted random commands were not working properly to invalid filters.
  • Commands with no weights were not running due to an invalid filter.
  • {random}:minimum-maximum placeholder now works properly, and allows for multiple replacements in a command.

As always, Report 🐛 to https://github.com/Crazy-Crew/CrazyVouchers/issues

5.1.6Релиз26.1, 26.1.1, 26.1.2 · 6 марта 2026 г.

Bugs Fixed 🐛

  • Fixed an issue where rgb/color were not working when building a voucher.

As always, Report 🐛 to https://github.com/Crazy-Crew/CrazyVouchers/issues

5.1.5Релиз1.21.11 · 14 января 2026 г.

Bugs Fixed 🐛

  • Fixed a potential memory leak caused by using double brace initializers.

As always, Report 🐛 to https://github.com/Crazy-Crew/CrazyVouchers/issues

5.1.4Релиз1.21.8, 1.21.10, 1.21.11 · 14 ноября 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-commands list 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

5.1.3Релиз1.21.8, 1.21.10 · 5 ноября 2025 г.

Bugs Fixed 🐛

  • Fixed issue with {random}:50000-2000000 not working.
5.1.2Релиз1.21.8, 1.21.10 · 5 ноября 2025 г.

Bugs Fixed 🐛

  • Fixed issue random-commands, and weight calculations. The filter predicate was inverted for weighted and weightless options.
5.1.1Релиз1.21.8, 1.21.10 · 23 октября 2025 г.

Bugs Fixed 🐛

  • Fixed an issue with the out of bounds exception involving random-commands
  • Fixed an issue where PlaceholderAPI placeholders weren't being parsed.
5.1.0Релиз1.21.8, 1.21.10 · 22 октября 2025 г.

Changes

  • Added a new configuration option has-argument to vouchers/codes which was a result of fixing {arg} not being replaced in commands.
  • Added a new configuration option to the config.yml that allows you to choose whether to allow off-hand usage or not.
  • Added a new permission crazyvouchers.bypass.2fa which lets you bypass 2fa when right-clicking.
  • Added a new configuration option override-anti-dupe to 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-frames to vouchers, which lets your players place vouchers in item frames if set to true.
  • chance-commands and random-commands have 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-commands functioned before, which is run separately and has no relation to the weight based options.
  • You will need to run /crazyvouchers migrate -mt VouchersDeprecated for 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-10000 has 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.

Комментарии

Загружаем…