Lootcrates - Powerful and Highly Customizable Rewards icon

Lootcrates - Powerful and Highly Customizable Rewards -----

Reward your players with lootcrates





Uploaded 3.4.10 instead of 3.4.11, this just reflects the newest version.
----------, Sep 8, 2024



Crates now support running more than 1 command as a loot item.
----------, Mar 21, 2024

Hopefully things will be faster (negligible) but the jar is smaller now
----------, Oct 8, 2023

Can change in editor.
----------, Sep 6, 2023

fixed
----------, Sep 5, 2023

fix null
----------, Sep 5, 2023

Notes:
See full release information here https://github.com/PeriodicSeizures/Lootcrates/releases/tag/v3.4.0
----------, Sep 5, 2023

was using wrong method
----------, Jun 10, 2023

works with 1.20 and added some new reveal animations
----------, Jun 10, 2023

im late to the party
----------, Jun 1, 2023

was 1.19, back to 1.13
----------, Mar 5, 2023

Now supported
----------, Jan 26, 2023

please use this one not the last release
----------, Sep 5, 2022

fireworks spawned from crate would damage players
----------, Sep 4, 2022

loot items now have individual weights and some things were fixed
----------, Sep 2, 2022

1.19 and bug fixes
----------, Jun 20, 2022


fixed
----------, Apr 25, 2022


fixed missing item swap
----------, Apr 6, 2022

Fixed
----------, Apr 1, 2022



Added a new loot item, LootNBTItem. Is different from normal loot item, in that nbt is also saved and loaded for custom nbt tags.
----------, Mar 25, 2022

better
----------, Mar 7, 2022

better
----------, Feb 18, 2022

limited
----------, Feb 6, 2022

bug still needs attention
----------, Feb 4, 2022



no link to git for things like multimc server host
----------, Jan 18, 2022

test for direct download
----------, Jan 18, 2022

1.18.1 support and all around fixes
----------, Jan 14, 2022

fixed editor bug when editing itemstack
----------, Nov 22, 2021

fixed item duplication bug on inventory close
Skript stuff! see the skript section
----------, Nov 6, 2021

pretty titles and skript icon editable
----------, Oct 17, 2021

Plugin would crash do to a bunch of issues, mainly due to depends not being found, and autoupdater issues
----------, Oct 16, 2021

Edit stuff in game with the editor
/crates editor
Also, don't backport the config from a later to earlier version of Minecraft, since Bukkit will intentionally screw things up
And dont touch the config unless you are familiar with things and are particular with what you are doing
----------, Oct 14, 2021

crates.open and crates.admin renamed to lootcrates.open and lootcrates.admin
----------, Apr 26, 2021

error when player clicked while holding nothing
----------, Apr 6, 2021

works for 1.8
----------, Apr 5, 2021

use tag "model" in crates or loot followed by an integer
[​IMG]
----------, Apr 5, 2021

Seasonal crates now work correctly (basically would be easter eggs on easter or a present around christmas...)
Crates are now identified using NBT tags
Some other changes
----------, Apr 4, 2021

soul speed was mispelled and added soul speed
----------, Apr 3, 2021

autoupdater implemented for github
changes to WIP editor
----------, Mar 22, 2021

Crate opening and management is more straightforward in the plugin, and the config is not as ugly, plus some other changes/additions:
  • Custom potions
  • Technically better performance on server while opening crate
  • bStats metrics is now used
  • NEW CONFIG FORMAT
  • 'Crates' and 'items' loot are no longer separate in config, are all now considered 'loot' for simplicity, with inbuilt modifiers
For backwards compatibility, the old config format still works for those who have used my plugin before this update. Changes now and onward will only apply to the new config format.
----------, Feb 19, 2021

fixed update checker
----------, Nov 13, 2020

Fixed an overlooked config issue
----------, Nov 13, 2020

removed big bugs, and 1.16 works
----------, Aug 16, 2020

working on a crate editor
fixed some stuff
Soft-depends on GraphicalAPI
----------, May 14, 2020

works with 1.8, and maybe even earlier versions.
----------, May 3, 2020

Added '*' flag to command '/crates' in order to act as a mark to target all players.
----------, Mar 15, 2020

Notice:
  • "'add' is not a valid number" - will appear as an error of a command loot running, due to differences in 1.12 vs 1.14 ("xp add {player} 500"). This applies to all commands; as versions change, so will the features.

Bug fixes:
  • Opening a chest error fixed
----------, Jan 26, 2020

Compatible with versions 1.12, 1.13, 1.14.
Also spiced up logger colors.
Confirmed to not work on 1.8. Might work on 1.9/1.10/1.11...
----------, Dec 10, 2019


1.13 version available now.
----------, Nov 23, 2019

fixed /crates command root arguments, and "crate" and "player" autocomplete to match argument.
----------, Nov 8, 2019

Code (YAML):
loot:
  weapon
:
    items
:
      item0
:
        qa-item
: fusion_cell
        count
: 5
      item1
:
        qa-item
: lazerrifle
change value under qa-item to the QualityArmory item.

Functional with count and range arguments. Added better error detection for config.
----------, Nov 3, 2019

I've taken the burden to redo a lot about this plugin, as its old structure was very difficult to read, and generally trashy.

Due to the new format of the plugin, it is more dependent on config now. This also should decrease memory usage.

Changelog
  • new plugin structure
  • reduced memory usage
  • little secret Easter eggs during specific occasions
  • misc. bug fixes
----------, Nov 2, 2019

old config options were removed.
----------, Oct 13, 2019

Every feature that was not purely crates was removed, and instead added into LootcratesExtended.
----------, Oct 13, 2019

fixed reload issue
----------, Oct 8, 2019

fixed armor stand interact
autocomplete fix
ruin fix
----------, Oct 7, 2019

/crates reload
----------, Oct 6, 2019

New option 'remove-ruins' when crate taken from ruins.
----------, Oct 6, 2019

/crates game
----------, Oct 6, 2019

  • fixed command permission
  • added enchanted books
  • fixed ruin spawning
  • gen-ruin option in config
----------, Sep 29, 2019

+ No entities get damaged by crate firework
----------, Sep 17, 2019

+ made noncollectable items drop when inventory is full
+ warning in config about crate spawning
----------, Sep 16, 2019

+ fixed autocomplete naming
- there is a possible threading issue when generating crate ruins, but nothing beyond the main thread is used, so I have no clue as to why this occurs. This can be avoided by disabling ruin generation (just set
enable-generation to false in config.yml).
----------, Sep 13, 2019

+ listeners were not getting registered
----------, Sep 12, 2019

Fixed a command player-username issue
----------, Sep 11, 2019

After all, this is my first plugin, and it was initially developed with minor experience.

I've done a lot of restructuring, changing and adding new features,
  • Fixed crate loot-item indexing issue
  • Fixed misused code
  • Completely redid listeners
  • Completely redid commands
  • Completely redid autocompleters
  • Removed autocomplete option from config
  • Removed -all argument from /crates
  • World generated crates + config options
  • Better secured crates
----------, Sep 8, 2019

fixed /crates all (kinda fixed)
it is still not working as it should, I don't know why, probably it has to do with scheduling / a for loop is too fast.

error-checker has fixes.
----------, Jun 22, 2019

fixed bug
----------, Jun 22, 2019

New stuff added to config:
Code (Text):
# scroll speed
# if set to 0, will instantly reveal items
# 2 = 1 item / 2 ticks
# 5 = 1 item / 5 ticks
scroll-speed: 0

# selection sound
# do "none" for no sound
# ENTITY_EXPERIENCE_ORB_PICKUP
selection-sound: ENTITY_EXPERIENCE_ORB_PICKUP

# Enable command autocomplete?
autocomplete: false

#...
Also added an official error checker, and fixed some core bugs.
----------, Jun 22, 2019

I found a bug where chances were not working correctly; patched now,
+ cool config.
----------, Jun 21, 2019

same
----------, Jun 20, 2019

Download was linked to github; that's now source code.
----------, Jun 20, 2019

I've added the functionality to run commands on loot items when gathered.

Code (Text):
      item7:
        item: gold_nugget
        name: "&640 tokens"
        command:
          - "tokens add 40 {player}"
      item8:
        item: experience_bottle
        name: "&e&l500 Experience"
        command:
          - "xp add {player} 500"
Only commands recognized by console will run.
----------, Jun 20, 2019

Item format heavily modified, allows for better future modifications + looks kinda alright. Again, this should not be buggy / cause ANY issues with your server. I might give the source code in future if people want. So far, the most broken thing will be null pointers, as in something was missing in the config (missing item key in loot).

Code (YAML):
loot:
  common
:
    items
:
      item0
:
        item
: sugar
        count
: 3
      item1
:
        item
: cooked_cod
        range
: 1 3
      item2
:
        item
: stick
        count
: 3
      item3
:
        item
: iron_sword
        name
: "&6&lSharp Dagger"
        lore
:
         - "&7&oForged down below"
        enchantments
:
          sharpness
:
            range
: 1 3
          unbreaking
:
            level
: 1
      item4
:
        item
: diamond_axe
----------, Jun 19, 2019

Resource Information
Author:
----------
Total Downloads: 17,709
First Release: Jun 18, 2019
Last Update: Nov 7, 2024
Category: ---------------
All-Time Rating:
23 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings