Spigot CustomUtils a0.1.6

An API to add blocks,GUIs and items with custom models into the game.

  1. My English is not very good, and some do not understand: This is a "block" that can be placed?
     
  2. Im having trouble with your plugin along with both Iron Chests and Bags2 i followed the console and everything checks out, but it does not ask the player if they want to use a custom resource pack, and if you try to use the assets folder as a resource pack it does nothing. The actual things work but all you see is the spawner holding a diamond hoe/ a diamond hoe
     
  3. Could you please add like "Force player to use the pack" option.
    So when this is true and player joins with "No" or "Promt" and say No that he dont want to use Server Textures to kick him...
    Thanks in advance
     
  4. any chance to reduce the size of the plugin? 20meg is half the size of spigot itself... seems like a lot of other dependencies were added when some couldda just been linked. Maybe just a lite version that doesnt auto-upload, and we do it ourselves if that's what is consuming the majority of the space?on a large server this would be way too resource intensive to use =(
     
  5. Your plug in seems to be amazing but I don't understand to keep my old texture pack server. i use icon with the font folder and custom item with mcpatcher folder. How can I add more custom item skin?
     
  6. Code (Text):
    [06:32:38 WARN]: [CustomUtils] Task #49 for CustomUtils v0.1.6 generated an exception
    java.lang.ClassCastException: me.benfah.cu.init.impl.MinePackInitializationMethod cannot be cast to me.benfah.cu.init.IInitializationMethod
            at me.benfah.cu.init.InitializationMethodRegistry.getMethod(InitializationMethodRegistry.java:31) ~[CustomUtils-a0.1.6.jar:?]
            at me.benfah.cu.api.InitializationMethodProvider.getCurrentMethod(InitializationMethodProvider.java:14) ~[CustomUtils-a0.1.6.jar:?]
            at me.benfah.cu.api.InitializationMethodProvider.init(InitializationMethodProvider.java:24) ~[CustomUtils-a0.1.6.jar:?]
            at me.benfah.cu.main.CustomUtils$1.run(CustomUtils.java:79) ~[CustomUtils-a0.1.6.jar:?]
            at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftTask.run(CraftTask.java:76) ~[spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361) [spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:893) [spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_191]
    Code (Text):
    [06:34:54 WARN]: Unexpected exception while parsing console command "customutils repackage"
    org.bukkit.command.CommandException: Unhandled exception executing command 'customutils' in plugin CustomUtils v0.1.6
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:139) ~[spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchCommand(CraftServer.java:699) ~[spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchServerCommand(CraftServer.java:684) [spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at net.minecraft.server.v1_13_R2.DedicatedServer.aU(DedicatedServer.java:459) [spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:418) [spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_191]
    Caused by: java.lang.ClassCastException: me.benfah.cu.init.impl.MinePackInitializationMethod cannot be cast to me.benfah.cu.init.IInitializationMethod
            at me.benfah.cu.init.InitializationMethodRegistry.getMethod(InitializationMethodRegistry.java:31) ~[CustomUtils-a0.1.6.jar:?]
            at me.benfah.cu.api.InitializationMethodProvider.getCurrentMethod(InitializationMethodProvider.java:14) ~[CustomUtils-a0.1.6.jar:?]
            at me.benfah.cu.api.InitializationMethodProvider.initRP(InitializationMethodProvider.java:29) ~[CustomUtils-a0.1.6.jar:?]
            at me.benfah.cu.cmd.impl.IRepackageCommand.onCommand(IRepackageCommand.java:44) ~[CustomUtils-a0.1.6.jar:?]
            at me.benfah.cu.cmd.CustomUtilsCommandExecutor.onCommand(CustomUtilsCommandExecutor.java:29) ~[CustomUtils-a0.1.6.jar:?]
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            ... 8 more
     
  7. Code (Text):
    [18:32:34 ERROR]: Could not pass event PlayerJoinEvent to CustomUtils v0.1.6
    org.bukkit.event.EventException: null
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at net.minecraft.server.v1_13_R2.PlayerList.onPlayerJoin(PlayerList.java:344) [spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at net.minecraft.server.v1_13_R2.PlayerList.a(PlayerList.java:163) [spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at net.minecraft.server.v1_13_R2.LoginListener.b(LoginListener.java:150) [spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at net.minecraft.server.v1_13_R2.LoginListener.Y_(LoginListener.java:54) [spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at net.minecraft.server.v1_13_R2.NetworkManager.a(NetworkManager.java:231) [spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at net.minecraft.server.v1_13_R2.ServerConnection.c(ServerConnection.java:120) [spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:998) [spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_191]
    Caused by: java.lang.ClassCastException: me.benfah.cu.init.impl.MinePackInitializationMethod cannot be cast to me.benfah.cu.init.IInitializationMethod
            at me.benfah.cu.init.InitializationMethodRegistry.getMethod(InitializationMethodRegistry.java:31) ~[CustomUtils-a0.1.6.jar:?]
            at me.benfah.cu.api.InitializationMethodProvider.getCurrentMethod(InitializationMethodProvider.java:14) ~[CustomUtils-a0.1.6.jar:?]
            at me.benfah.cu.listener.PlayerJoinListener.onPlayerJoin(PlayerJoinListener.java:21) ~[CustomUtils-a0.1.6.jar:?]
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_191]
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_191]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.2.jar:git-Spigot-2474d93-e693496]
            ... 14 more
     
  8. I'm having trouble with Bags2. So, the bags work, and the resource pack only contains the bags, but for some reason it only displays a diamond hoe. And btw, for some reason whenever I start the server it says LEGACY_DIAMOND_HOE

    Code (Text):
    [16:51:06 INFO]: Bags2
    [16:51:07 INFO]: Writing blocks from registry into model file...
    [16:51:07 WARN]: java.lang.NoSuchFieldException: REGISTRY
    [16:51:07 WARN]:        at java.lang.Class.getField(Unknown Source)
    [16:51:07 WARN]:        at me.benfah.cu.util.Utils.getUnlocalizedName(Utils.java:138)
    [16:51:07 WARN]:        at me.benfah.cu.init.impl.MinePackInitializationMethod.initResourcePack(MinePackInitializationMethod.java:206)
    [16:51:07 WARN]:        at me.benfah.cu.api.InitializationMethodProvider.initRP(InitializationMethodProvider.java:29)
    [16:51:07 WARN]:        at me.benfah.cu.cmd.impl.IRepackageCommand.onCommand(IRepackageCommand.java:44)
    [16:51:07 WARN]:        at me.benfah.cu.cmd.CustomUtilsCommandExecutor.onCommand(CustomUtilsCommandExecutor.java:29)
    [16:51:07 WARN]:        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    [16:51:07 WARN]:        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:139)
    [16:51:07 WARN]:        at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchCommand(CraftServer.java:702)
    [16:51:07 WARN]:        at net.minecraft.server.v1_13_R2.PlayerConnection.handleCommand(PlayerConnection.java:1641)
    [16:51:07 WARN]:        at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1476)
    [16:51:07 WARN]:        at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:45)
    [16:51:07 WARN]:        at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:1)
    [16:51:07 WARN]:        at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10)
    [16:51:07 WARN]:        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    [16:51:07 WARN]:        at java.util.concurrent.FutureTask.run(Unknown Source)
    [16:51:07 WARN]:        at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199)
    [16:51:07 WARN]:        at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:895)
    [16:51:07 WARN]:        at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417)
    [16:51:07 WARN]:        at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:830)
    [16:51:07 WARN]:        at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:728)
    [16:51:07 WARN]:        at java.lang.Thread.run(Unknown Source)
    [16:51:07 INFO]: LEGACY_DIAMOND_HOE
    [16:51:07 INFO]: Copying needed resources out of plugin...
    [16:51:07 INFO]: Compressing resourcepack...
    [16:51:07 INFO]: Comparing latest and current resourcepack...