Compatibility
Minecraft: Java Edition
1.21.10
1.21.3–1.21.8
1.21–1.21.1
1.20.6
1.20.4
1.20.1–1.20.2
1.19.4
1.16.5
1.12.2
1.8.8
Platforms
Creators
Details
Licensed MIT
Published 3 years ago
Updated 2 days ago
Changelog
Breaking Changes:
- The weight system has been merged in, which effectively replaces the Chance/Max Range system.
- You must run the command /crazycrates migrate WeightMigration, which will convert your configurations.
- https://docs.crazycrew.us/docs/plugins/crazycrates/guides/crates/weight-system
 
Additions:
- Added the ability to log the plugin actions to file i.e. crates.log and keys.log... A list of events currently tracked
- event_key_given
- event_key_sent
- event_key_received
- event_key_transferred
- event_key_removed
- event_key_taken
- event_key_taken_multiple
- event_crate_opened
- event_crate_force_opened
- event_crate_mass_opened
 
- If you notice anything not tracking right, or lacking tracking. Create an issue.
- The files will zip on /crazycrates reload, plugin shutdown, plugin startup.
- This avoids the files getting large, and leading to issues with crashing the server.
- It mimics how Paper handles their .log files...
 
- Added /crazycrates claim <prize> which claims prizes they didn't get from respins
Changes:
- Added config options, which allow you to configure slots 4 and 22 above the prize in csgocrate
- Added the ability to run commands with the gui customizer.
- Added the ability to respin prizes to each crate file, if the option is enabled.
Crate:
  # Global Settings
  Settings:
    # Settings related to rewards.
    Rewards:
      # Should a yes/no popup be made, to ask if they want to keep the prize?
      Re-Roll-Spin: false
      # Should there be a limit to how many times they can re-roll?
      Permission:
        # Should this be enabled?
        Toggle: false
        # Should this persist restarts? i.e. writes to disk the amount of respins, and reads the amount of respins.
        Persist: false
        # This will define how many permissions will be registered to the server per crate.
        # i.e. crazycrates.respin.<crate_name>.1-20
        # It will simply register multiple permissions, so it shows up in things like LuckPerms.
        Max-Cap: 20
- You can view an example of this in examples/crates/CrateExample.yml
- If Permission.Persistis set to true, we will write to disk, and the re-spins will be considered global- If the option is set to false, it will be cached... and allow re-spins for X amount every time they open a crate.
 
- You must have Re-Roll-Spinset to true to allow re-rolls.
- You must have Permission.Toggleset to true, for it to be permission based.- The higher the permission, the more spins they have.
- Internally, we loop through a player's permissions.... and find the highest matching one with crazycrates.respin.<crate_name>.<amount>
- The permissions will be registered on startup, and on /crates reload if not found.
- We also unregister on /crates reload, if you set Permissions.Toggleto false.
 
- We also unregister on /crates reload, if you set 
- <amount>is the- Max-Cap, It will not go any higher... The higher that number is, the heavier the permission checks.
 
- Crate Types such as Cosmic Crate, Casino Crate, QuadCrate, and WarCrate do not have support for re-spins
- Casino Crate has 3 prizes, the gui currently only supports 1 prize.
- Cosmic Crate has 4 prizes that you pick, the gui currently only supports 1 prize.
- QuadCrate has 4 prizes, the gui currently only supports 1 prize.
- WarCrate is in a similar situation, where it's picked prizes.
 
- The complexity for these crate types above will take some time to add it in while it not being a train wreck.




