Full Recode - 1.8-1.20 Support - Crystals - OmniBuilder - DeveloperAPI
OmniTool 2.0.0
This is the biggest update yet, over 2 years in the making.
I have spent the last 2 months completely recoding how the entire plugin functions.
New Features: Omni Builder
- /omni gui - A new way to create different Tiers of OmniTools, with different enchant levels
OmniCrystals
- /crystal <player> (chance) - Omni Crystals are finally implemented
Debug Mode
- /nbtdebug - if "debug-mode" in the config.yml is enabled, you can use this command to check the "data" compound within an OmniTool or OmniCrystal
1.8-1.20 Support Finally, this project works on all versions from 1.8-1.20. If you encounter any bugs with this please let me know, whether that be through a Spigot PM or Discord DM, which my @ can be found at the bottom of the main plugin page.
Developer API I have now implemented a small Developer API to allow developers to integrate directly with my plugin.
- isOmniTool(ItemStack item) - determine whether an item is an omni tool or not, returns boolean
- isOmniCrystal(ItemStack item) - determine whether an item is an omni crystal or not, returns boolean
- addBlockToTable(ToolType type, Material material) - did I miss a block you wanted to be added to a certain tool? add it here if you want it to be different than the base plugins values
- openOmniToolBuilder(Player player) - Opens the OmniBuilder for a player that is logged into the server
- getOmniCrystal(int success) - returns an OmniCrystal with a given success rate
- OmniCrystalApplyEvent - event called when players apply an OmniCrystal onto an item
- OmniToolChangeEvent - event called when an OmniTool changes states
Permissions I have implemented 2 basic permissions for the commands within the plugin.
- omni.tool - execute the /omni command without being a server operator
- omni.crystal - execute the /crystal command without being a server operator