Changelog:
- Added core.clearInventory(Player) // Will clear the player's inventory
Changelog:
- Added core.summonLightning(World, double, double, double) // Will summon a lightning at the specified world at the specified x, y, z
Changelog:
- Added core.summonLightning(Location) // Summon a lightning at a specified location
Changelog:
- Added core.setInIndex(Array, Object, Int) // Put the object in the array in the specified index (Int)
Changelog:
- Added core.getIndex(Array, Object) // Will find the index of the object in the array, returns -1 if the object wasn't found
Changelog:
- Removed useless methods that can be accessed through "values" instead of "core"
Changelog:
- Added onItemEquip action for items that will get executed when you equip the item (hold it)
Changelog:
- Added core.cast(Object, Class) // Cast the object to the specified class
- Added core.toClass(String) // Get a class by name (need to use package too, for example, for string: "java.lang.String")
Changelog:
- Added core.toString(Object) // Object is basically anything and it will return it as a string (text)
Changelog:
- Fixed a typo
Changelog:
- Changed some messages
Changelog:
- Added core.setHealth(Player, double) // Set the player's health to a specific number
Changelog:
- Added core.loopThrough(String, Array, int) // (String) The action as code (Array) the array to loop through (int) Period in ticks | You can use the variable "tIndex" which is the current loop number and the variable "currentArrayObject" which is the current array object
Changelog:
- Added core.addToLocation(Location, double, double, double) // Will add to the location to create a new location, for example if you add (1.0, 0.0, 0.0) to (48, 64, 100) it will turn into (49, 64, 100)
- Added core.cloneLocation(Location) // Will return a copy of the location
Changelog:
- Fixed some messages.
Changelog:
- Added core.getUsingIndex(Array, Int) // Get an object that is in the array using the index he is placed in
Changelog:
- Fixed items not working at all for versions 1.21.x
Changelog:
- Added core.removeBlock(Block) // Remove the block
- Added core.removeBlocks(Block[]) // Remove multiple blocks
Changelog:
- Added core.setGamemode(Player, String) // Set the gamemode of a player, (String is the gamemode name just like in /gamemode command
Changelog:
- Added core.heal(Player, Double)
Changelog:
- Added core.giveItem(Player, Material) // Give item to the player, use core.getMaterial(String) to get the material
- Fixed some errors in console
Changelog:
- Added core.removeHeldItem(Player) this will remove the held item of the player, good for consumables so you can remove them on the onConsume trigger
Changelog:
- Added on consume action that will get executed when consuming the item
Changelog:
- Added support for 1.20.4
Changelog:
- Added support for 1.21.4
- Fixed 1.20.6 and 1.21 not compiling correctly
Changelog:
- Added support for 1.21
Changelog:
- Added support for 1.20.6
Changelog:
- Fixed some bugs related to the gui.
Make gui look better - changed enchants and flags guis button lore color.
Some code fixes, typo fix
Fixed saving of actions to the config and loading them.
Quick fix for the templates, now they work perfectly.
Added support for PlaceholderAPI, every text that is getting colored by the plugin will automatically parse placeholders that doesn't require player, if the placeholder does require a player you can use the new core.parsePlaceholder(Player, String)
Made hex color codes supported, works only for minecraft versions that support hex colors codes, simply do &#RRGGBB basically &#<code>
core.executeCommand(Player, String), lets you make the player execute a command on item action.
Made it so /itemscore <itemName> will have tab completion to make it easier to edit existing items.
Instead of repeating simple tasks you can now save methods as a template, right click on the paper to save it as a template, give it a name and then when you right click on an empty paper you can set it to a saved template, you can even download premade templates to the templates folder and use them
fixed enchantments gui, some enchantments showing twice and some places were empy
Bug fixes:
- Fixed some gui bugs when moving through gui pages
- Made item flags and enchantments support all versions, both guis are paginated and enchantments has search now
Big update:
- Added methods to core:
- doIfElse
- runRunnableLater
- runCodeLater
- runUntil
- Player variables:
- Added a boolean to set if the variable is temp (will reset after server restart)
- Method selector:
- Added a button to toggle method filtering
- Bug fixes:
- Fixed action to code saving bug
You can now add custom model data to your item to use with a texture pack and set its model / texture
Fixed gui not updating correctly
Bugs fixed:
- Dupe detection
- Player inventory command
+--
Made all sounds work for higher versions
Fixed gui bugs in higher versions + added support for materials of highers versions.
Fixed bunch of gui bugs for the higher versions + made the enchantments gui paiginated
Made gui texts cleaner and easier to understand
Fixed variable(String) not working correctly
Added nms support for 1.17-1.20
The development of this project continues!
Main update notes:
- Moved code engine inside the plugin so you wont have to have java jdk 8 insalled on your machine.
- Some gui enhancements.
A lot of big changes, don't remember them all