Template Plugin - Template for plugin creation 1.0.0

Template for plugin creation - 1.8 - 1.17

  1. Add custom model data

    Maxlego08
    Add custom model data
  2. Remove static access

    Maxlego08
  3. Update to 1.17

    Maxlego08
    Update NMS to 1.17
  4. [1.0.0.1] Lot of change

    Maxlego08
    Lot of change
  5. [1.0.0.0] Update plugin

    Maxlego08
    A lot of changes have been made, so I'm updating the resource spigot
  6. [0.0.1.4] Update Command system

    Maxlego08
    - Updated command system, it is much simpler and complete!
    - Adding multiple functions in the ZUtils class
    - Deleting examples
    DerekZil likes this.
  7. [0.0.1.0] Update to 1.14

    Maxlego08
    Update ItemDecoder to 1.14
    DerekZil likes this.
  8. [0.0.0.9] Add ZCommand

    Maxlego08
    ZCommand

    Code (Java):

    addCommand("test", new ZCommand()
                    .setCommand(command -> command.sendMessage("Hello world !"))
                    .setPermission("admin.command")
                    .setDescription("Example command !")
                    .setSyntaxe("/test")
                    .addSubCommand("test", "test2", "test3")
                    .setOneClass(true)
            );
     
  9. [0.0.0.8] Update VCommand

    Maxlego08
    You can create orders in another way
    Code (Java):

        addCommand("sphaleria", new VCommand() {  
                @Override
                protected CommandType perform(Sphaleria main, CommandSender sender, String... args) {
                    sendMessage(main.getPrefix() + " §eVersion§7: §c" + main.getDescription().getFullName());
                    sendMessage(main.getPrefix() + " §eCréer par Maxlego08 pour §6sphaleria §e!");
                    return CommandType.SUCCESS;
                }...
  10. More function in ZUtils

    Maxlego08
    same(ItemStack stack, String name) : return true if the ItemStack are the same
    same(Location l, Location l2) : return true if the Location are the same
    contains(ItemStack stack, String name) : return true if the name of the itemstack contains the string
    removeItemInHand(Player player, int how) : remove item in hand
    teleport(Player player, int delay, Location location) : player player