ItemJoin v5.0.6

Details

  • Filename
    ItemJoin.jar
  • Uploaded by
  • Uploaded
    Mar 25, 2020
  • Size
    434.49 KB
  • Downloads
    15,198
  • MD5
    04fc6d45668139e68c3387a0ec14c66f

Supported Bukkit Versions

  • 1.15
  • 1.14
  • 1.13
  • 1.12
  • 1.11
  • 1.10
  • 1.9
  • 1.8
  • 1.7.2

Changelog

 
Notice: All previously given JSON Books will BREAK when updating. To resolve this add the dynamic itemflag to the book item. If you do not use JSON Books or you are continuously giving players new JSON Books or you are just now creating a new JSON Book do not worry about these changes. See the changes section below for the new proper JSON formatting.
 
Changelog
 
Added:
  • Officially updated to Minecraft 1.15.
    • Nothing notable has changed, everything functions as intended when updating.
    • Exception: Book pages API has been changed.
  • commands-sequence: RANDOM_SINGLE
    • This will execute ONE of the commands that have been listed for the item, randomly with all lines having equal values.
  • Custom durability data support.
    • Simply define data: 12 for your item and replace 12 with the damage value you wish for the item to take. If the items max damage value is 150 and you set the custom texture to be applied for the damage value 140 you would put 10 as your data on the item.
    • Automagically makes the item unbreakable and hides the unbreakable text once the texture is applied.
  • Custom Model Data support (1.14+)
    • You can add the model data so each item has its own individual texture through the /itemjoin menu under the data section or by adding model-data: 10001 to your item for example.
    • Note: This is the numerical value you assigned in the .json file.
  • Massive additions to the API.
  • Delete option to the ItemJoin Menu.
  • New itemflag move-next
    • Adding this to an item will tell it to move any item that it finds in its dedicated slot to the next available slot. Essentially making it so you can move an existing item out of the way so the custom item can be put in its slot.
  • Support for the count-lock itemflag on the TOTEM_OF_UNDYING item.
  • Support for MySQL (External Database) connections.
    • You will need to add the following to your config.yml or generate a new config.yml to setup MySQL connections.
Database:
  MySQL: false
  host: 'localhost'
  port: 3306
  table: 'database_name'
  user: 'root'
  pass: 'password'
  • New commands-item cost to custom items.
    • Setting commands-item to an item will try to remove the defined Material from the player before running the command.
    • To set the amount of item cost to be charged add the commands-cost integer to the item, this is now a dual purpose identifier.
    • Example; 
      commands-item: EMERALD
      commands-cost: 3
    • This will remove three emeralds from the player's inventory before running the command. If you do not define the commands-cost it will remove one emerald by default.
  • New Global Death-Drops and Self-Drops prevention settings.
    • Self-Drops: Prevents the dropping of ALL items globally when a player tries to drop it.
    • Death-Drops: Prevents the dropping of ALL items globally when a player dies.
    • Since the config.yml will not be regenerated, to use this you will need to add the Self-Drops and Death-Drops sections to your Prevent section.
Prevent:
  Pickups: DISABLED
  itemMovement: DISABLED
  Self-Drops: DISABLED
  Death-Drops: DISABLED
  Bypass: CREATIVE, OP
  • On-Equip and Un-Equip command types.
    • This only works for items that can be placed into armor slots and run the commands per on-equip and un-equip action.
   commands:
     on-equip:
     - 'message: &aYou have equipped this item!'
     un-equip:
     - 'message: &cYou have unequipped this item!'
  • On-Hold command type.
    • This functions by executing the command when holding the item in your main or offhand every x seconds until the item is no longer being held.
    • The every x seconds is defined via the items commands-cooldown, if no cooldown is defined it will default to every 1 second(s) to prevent server crashes.
         commands:
           on-hold:
           - 'message: &aYou are holding an item..'
      
  • On-Receive command type.
    • This functions by executing the command when the player receives the item. This allows you to execute a command every x seconds for every x number of times.
    • The every x number of times is defined via the new commands-receive, if no receive count is defined it will default to only 1 execution cycle.
    • The every x seconds is defined via the items commands-cooldown, if no cooldown is defined it will default to every 1 second(s) to prevent server crashes.
    • In the example below, the command will be executed 3 times with a 2-second cooldown or (delay) in-between each command execution.
   commands:
     on-receive:
     - 'message: &aYou have been given an item.'
   commands-receive: 3
   commands-cooldown 2
  • RANDOM_LIST commands-sequence.
    • You can now define commands lists to be randomly selected from when performing the specified action. The listed commands will only execute if you specify commands-sequence: RANDOM_LIST as this will randomly select a list of commands to execute with equal values.
    • In the example below, there are two commands lists defined for the right-click action. Since there are only two lists it has a 50% chance to be a winner or 50% chance to be a loser.
   commands:
     right-click:
         winner:
         - 'message: &aYou have won the dice role!'
         - 'console: give %player% diamond 64'
         loser:
         - 'message: &cYou have lost the dice role..'
         - 'console: kill %player%'
 
 
Fixed:
  • Bug with skull-textures in animations/dynamic updating.
  • Trimmed skull-textures to fit the bounds of the item lore for the /itemjoin menu.
  • Bug with the item's lore for animated items saving any modified lore that was not saved in the /itemjoin menu.
  • Bug with the item's lore for animated items saving the custom lore from the modify menu displaying helpful information.
  • Bug with global commands.
  • Bug with WorldGuard being enabled randomly even though it wasn't being utilized.
  • Bug with WorldGuard not being enabled when using the Region-Enter clearing option.
  • Bug with drop-full itemflag not functioning properly.
  • Bug with give-next itemflag not functioning properly.
  • Bug with skulls not having the skull-owner skins properly drawn.
  • Bug with hex colors on leather armor.
  • Bug with cancel-events itemflag not always working properly.
  • Bug with item-craftable itemflag.
  • Bug with count-lock itemflag.
  • Bugs with crafting items.
  • Bug with items-Overwrite boolean and Overwrite itemflag not functioning.
  • Bugs with fireworks not working properly when missing certain options.
  • Bug with skull-textures not saving when adding/modifying them in the GUI menu.
  • Bug with crafting items being given back on death.
  • Bug with active commands throwing error codes when missing certain options.
  • Bug with checking for updates due to the website API being changed.
  • Updated optional dependencies.
 
Changed:
  • commands-sequence: RANDOM
    • This no longer has the functionality of executing a single command line randomly, this now executes ALL command lines in a random order, with all lines having equal values.
  • JSON Books have been re-coded and reformatted.
    • Old JSON Books prior to this update will BREAK unless you add the dynamic itemflag to the item.
    • New JSON formatting is <TYPE:VALUE>
    • Current types are open_url, run_command, show_text, and text.
    • Replace value with the value of your intention such as a text to be shown or a command to be executed.
    • Example; 
      <text:I am a clickable hover text component><show_text:Visit the website! \nAnyone is welcome.><open_url:https://www.craftationgaming.com>
  • Massive optimizations to existing code...
  • Clear-items delay is now properly set to ticks instead of seconds.
 
 
Please see the documentation page if you need any help with these new updates!
If you have any ideas or requests that you would like to see in ItemJoin's future please submit a feature request.