Introducing Global Variables!
This version adds global variables to CustomItems, so you can now do things like store the total number of times all of your players have slain creepers with the "creeperSlayingSword", or even make quest books! An example of a quest book will be uploaded on the wiki soon.
To use global variables, just use the normal actions/handlers/placeholders for variables, but replace "variable" with "global" — it's that simple. You can also store per-player global variables by including {player.uuid} in the name of the global.
Check out the wiki page for more info: https://github.com/jojodmo/CustomItems/wiki/Variables#globals
Beta
More improvements for custom block storage
Adds the ability to store up to 4 gigabytes of data per block stored (obviously way overkill, but better than the old limitation of only 64 kilobytes)
Beta
More tests for new block storage format
New "slayMob" handler
This version adds a new "slayMob" handler, that is triggered whenever a player slays a mob using a given item
Beta
Test of new block storage format
This version is a test of the new block storage format. Keep in mind that this might have bugs, so you should only use this on a test server. To test it out, set "blockStorageFormat" to "CustomItems" in your config.yml
Improvements for older versions of MySQL
This version brings some improvements for older versions of MySQL
Use operators in "ifPlayerHasItem" and "ifTargetHasItem"
You can now use operators in "ifPlayerHasItem" and "ifTargetHasItem".
ifPlayerHasItem:
"minecraft:DIAMOND": ">= 3"
"minecraft:GOLD_INGOT": "< 2"
"myCustomItem": 9, # interpreted as ">= 9"
"anotherCustomItem": "between 3 and 4"
action: sendMessage
message: "You have at least 3 diamonds, less than 2 gold ingots, at least 9 myCustomItem, and between 3 and 4 anotherCustomItem"
Beta
Use operators in "ifPlayerHasItem" and "ifTargetHasItem"
You can now use operators in "ifPlayerHasItem" and "ifTargetHasItem". (Beta)
Repairing in Crafting Tables & Other Crafting Improvements
This version allows damageable CustomItems to be repaired in crafting tables (just make sure that the item is both "damageable" and "repairable"), and also makes some minor improvements with the crafting system
Snapshot
Improvements with Crafting
This version makes some minor improvements with crafting
Snapshot
Repairing in Crafting Tables
This version allows damageable CustomItems to be repaired in crafting tables.
Improvements for Minecraft 1.16 (including 1.16.2)
This version makes some minor improvements for Minecraft 1.16, including fixing a minor bug with the "expanded" block texture format
Added "amount" argument to /cui drop
You can now set the amount of items dropped using the drop command: /cui drop [amount] [naturally]
Use Data Values in Recipes
This version allows you to use data values for items in recipes (for Minecraft 1.8, or any other version below Minecraft 1.13).
Snapshot
Use Data Values for items in recipes
This version allows you to use data values for items in recipes (for Minecraft 1.8, or any other version below Minecraft 1.13). For example:
shaped: false
items:
"INK_SACK:4": 3 # 3 lapis lazuli
Bug Fixes with Entity Handlers
This version makes some bug fixes for handlers that involve entities, like hitMob, projectileHitMob, and hitPlayer
McMMO Trefeller Compatibility Improvements
This version improves the compatibility between CustomItems and McMMO's tree feller ability.
PlaceholderAPI Support
This version adds support for PlaceholderAPI anywhere that CustomItems {placeholders} are accepted!
Snapshot
Potential Improvements for 1.8
Support for ItemBridge 2.0
This version adds support for ItemBridge version 2.0