I made my own plugin, with an error...

Discussion in 'Plugin Development' started by Minecrafter099, Dec 22, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Minecrafter099

    So, I coded my plugin with Java. It shows that there are no errors. Nor in the plugin.yml, can someone tell me why it isn't working? Thanks! PS (Yes, I did place the .jar file in the plugins folder).
    Plugin YML: http://pastebin.com/MZ68rfdA

    Java Code: http://pastebin.com/UsxaHCTE
     
  2. Offline

    xTigerRebornx

    You didn't put your commands in your plugin.yml
     
  3. Offline

    TeddyTheTeddy

    In your plugin.yml put:
    Code:
    commands:
      zp:
        description: What this command does
        useage: /zp
     
  4. Offline

    Minecrafter099

    Thank you.
    :)

    I added the command, then I re-installed it an reloaded my server, the plugin is not working, nor does it say the plugin in the plugins list when /pl was said. The console shows no errors about the plugin, any help?

    Bump.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 5, 2016
  5. Offline

    HyrulesLegend

    On the server start-up, there should be a stacktrace in Console.
     
  6. Offline

    Minecrafter099

    Stacktrace?
     
  7. Offline

    HyrulesLegend

    An error in the server's console.
     
  8. Offline

    Minecrafter099

    I don't see any... I'll check again.

    I just reloaded my server, then it crashed.

    22.12 18:33:32 [Server] INFO [18:33:32 ERROR]: This crash report has been saved to: /./crash-reports/crash-2013-12-22_18.33.32-server.txt
    22.12 18:33:32 [Server] INFO at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [spigot%231190.jar:git-Spigot-1190]
    22.12 18:33:32 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:446) [spigot%231190.jar:git-Spigot-1190]
    22.12 18:33:32 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:534) ~[spigot%231190.jar:git-Spigot-1190]
    22.12 18:33:32 [Server] INFO at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:260) ~[spigot%231190.jar:git-Spigot-1190]
    22.12 18:33:32 [Server] INFO at net.minecraft.server.v1_7_R1.DedicatedServer.aw(DedicatedServer.java:295) ~[spigot%231190.jar:git-Spigot-1190]
    22.12 18:33:32 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchServerCommand(CraftServer.java:535) ~[spigot%231190.jar:git-Spigot-1190]
    22.12 18:33:32 [Server] INFO at java.util.logging.Logger.log(Logger.java:720) ~[?:1.7.0_45]
    22.12 18:33:32 [Server] INFO at java.util.logging.Logger.doLog(Logger.java:631) ~[?:1.7.0_45]
    22.12 18:33:32 [Server] INFO at java.util.logging.Logger.log(Logger.java:600) ~[?:1.7.0_45]
    22.12 18:33:32 [Server] INFO at ch.njol.skript.log.SkriptLogger$2.isLoggable(SkriptLogger.java:204) ~[?:?]
    22.12 18:33:32 [Server] INFO at ch.njol.skript.log.SkriptLogger$2.isLoggable(SkriptLogger.java:206) ~[?:?]
    22.12 18:33:32 [Server] INFO java.lang.NullPointerException
    22.12 18:33:32 [Server] INFO [18:33:32 ERROR]: Encountered an unexpected exception

    I just got a new error after loading my server AGAIN.

    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at net.minecraft.server.v1_7_R1.PlayerList.a(PlayerList.java:116)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at net.minecraft.server.v1_7_R1.PlayerList.c(PlayerList.java:225)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at java.lang.reflect.Method.invoke(Method.java:606)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at ca.wacos.nametagedit.NametagEventHandler.onPlayerJoin(NametagEventHandler.java:63)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at ca.wacos.nametagedit.NametagCommand.setNametagHard(NametagCommand.java:266)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at ca.wacos.nametagedit.NametagManager.overlap(NametagManager.java:172)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at ca.wacos.nametagedit.NametagManager.get(NametagManager.java:273)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at ca.wacos.nametagedit.NametagManager.declareTeam(NametagManager.java:248)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at ca.wacos.nametagedit.NametagManager.register(NametagManager.java:44)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at ca.wacos.nametagedit.NametagManager.sendPacketsAddTeam(NametagManager.java:349)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at ca.wacos.nametagedit.Packet209Mod.<clinit>(Packet209Mod.java:28)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at java.lang.Class.forName(Class.java:190)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at java.lang.Class.forName0(Native Method)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]:at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:70)
    22.12 18:35:34 [Server] INFO [18:35:34 WARN]: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R1.Packet209SetScoreboardTeam

    Bump.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 5, 2016
  9. Offline

    Squawkers13

    You're using Spigot.
    Bukkit plugins are designed to work with CraftBukkit.
    Download the CraftBukkit build corresponding to your version instead.
     
  10. Offline

    Minecrafter099

    Restarted it with CraftBukkit, didn't make a difference.
     
  11. Offline

    xTigerRebornx

  12. Offline

    _Cookie_

    You have your main class set as a package in your plugin.yml
    E.G:
    main: com.zerqz.ZerqzPlugin
    I think yours is meant to be
    main: com.zerqz.zerqzplugin.ZerqzPlugin
     
  13. Offline

    Minecrafter099

    [Server] WARN at ca.wacos.nametagedit.Packet209Mod.<init>(Packet209Mod.java:48)
    22.12 19:54:19 [Server] WARN java.lang.NullPointerException
    22.12 19:54:19 [Server] INFO Failed to send packet for player (Packet209SetScoreboardTeam) :
    22.12 19:54:19 [Server] INFO Setting prefix/suffix for _Zerqz: ยง4, null (user)
    22.12 19:54:19 [Server] WARN at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)
    22.12 19:54:19 [Server] WARN at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457)
    22.12 19:54:19 [Server] WARN at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545)
    22.12 19:54:19 [Server] WARN at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250)
    22.12 19:54:19 [Server] WARN at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655)
    22.12 19:54:19 [Server] WARN at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134)
    22.12 19:54:19 [Server] WARN at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:149)
    22.12 19:54:19 [Server] WARN at net.minecraft.server.v1_7_R1.LoginListener.a(LoginListener.java:42)
    22.12 19:54:19 [Server] WARN at net.minecraft.server.v1_7_R1.LoginListener.c(LoginListener.java:78)
    22.12 19:54:19 [Server] WARN at net.minecraft.server.v1_7_R1.PlayerList.a(PlayerList.java:116)
    22.12 19:54:19 [Server] WARN at net.minecraft.server.v1_7_R1.PlayerList.c(PlayerList.java:225)
    22.12 19:54:19 [Server] WARN at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    22.12 19:54:19 [Server] WARN at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    22.12 19:54:19 [Server] WARN at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    22.12 19:54:19 [Server] WARN at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
    22.12 19:54:19 [Server] WARN at java.lang.reflect.Method.invoke(Method.java:606)
    22.12 19:54:19 [Server] WARN at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    22.12 19:54:19 [Server] WARN at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    22.12 19:54:19 [Server] WARN at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    22.12 19:54:19 [Server] WARN at ca.wacos.nametagedit.NametagEventHandler.onPlayerJoin(NametagEventHandler.java:30)
    22.12 19:54:19 [Server] WARN at ca.wacos.nametagedit.NametagManager.sendTeamsToPlayer(NametagManager.java:327)
    22.12 19:54:19 [Server] WARN at ca.wacos.nametagedit.Packet209Mod.<init>(Packet209Mod.java:48)
    22.12 19:54:19 [Server] WARN java.lang.NullPointerException
     
  14. Offline

    xTigerRebornx

    Minecrafter099 problem is caused by NametagEdit, not your plugin. Not a problem that we can solve, send it to the dev
     
  15. Offline

    Minecrafter099

    ERMAGERD YOU HALPED MEH Thank you. :)

    Thanks for your time.

    Thought it would work, I fixed the plugin.yml main like you said, re-installed the plugin, then it crashed the server...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 5, 2016
  16. Offline

    _Cookie_

    Minecrafter099
    Post the error when it crashed then please you clearly have multiple errors...
     
  17. Offline

    Henzz

    Minecrafter099
    Register your command in onEnable.
    getCommand("zq").setExecutor(this);
     
  18. Offline

    Minecrafter099

    ---- Minecraft Crash Report ----
    // Quite honestly, I wouldn't worry myself about that.

    Time: 12/22/13 8:04 PM
    Description: Exception in server tick loop

    java.lang.NullPointerException: Exception in server tick loop
    at ch.njol.skript.log.SkriptLogger$2.isLoggable(SkriptLogger.java:206)
    at ch.njol.skript.log.SkriptLogger$2.isLoggable(SkriptLogger.java:204)
    at java.util.logging.Logger.log(Logger.java:600)
    at java.util.logging.Logger.doLog(Logger.java:631)
    at java.util.logging.Logger.log(Logger.java:720)
    at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchServerCommand(CraftServer.java:531)
    at net.minecraft.server.v1_7_R1.DedicatedServer.aw(DedicatedServer.java:286)
    at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:251)
    at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545)
    at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457)
    at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)


    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------

    -- System Details --
    Details:
    Minecraft Version: 1.7.2
    Operating System: Linux (amd64) version 2.6.32-042stab079.6
    Java Version: 1.7.0_45, Oracle Corporation
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 892235568 bytes (850 MB) / 1957167104 bytes (1866 MB) up to 1957167104 bytes (1866 MB)
    JVM Flags: 2 total; -Xmx2000M -Xms2000M
    AABB Pool Size: 30680 (1718080 bytes; 1 MB) allocated, 6402 (358512 bytes; 0 MB) used
    IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
    CraftBukkit Information:
    Running: CraftBukkit version git-Bukkit-1.6.4-R2.0-50-g402ee87-b2958jnks (MC: 1.7.2) (Implementing API version 1.7.2-R0.1-SNAPSHOT) true
    Plugins: { WorldEdit v5.5.8 com.sk89q.worldedit.bukkit.WorldEditPlugin [], AutoBroadcaster v0.4 me.skipperguy12.AutoBroadcasterPlus.AutoBroadcasterPlus [], AMS v1.0 com.github.whitehooder.AMS.AMS [Whitehooder], SurvivalGames v0.5.8.42 org.mcsg.survivalgames.SurvivalGames [Double0negative], Skript v2.0.2 ch.njol.skript.Skript [Njol], Simple-AutoSave v0.2.1 me.odium.autosave.autosave [], JoinMessageChanger v1.2 me.mariuslange.joinmessagechanger.main [MariusLange], AdminFun v2.1.3 me.trevor.adminfun.AdminFun [KingFaris10, Trevor1134], Vault v1.2.25-b333 net.milkbowl.vault.Vault [cereal, Sleaker, mung3r], PermissionsEx v1.20.4 ru.tehkode.permissions.bukkit.PermissionsEx [[t3hk0d3, zml]], PlotMe v0.13b com.worldcretornica.plotme.PlotMe [ZachBora], NametagEdit v1.8 ca.wacos.nametagedit.NametagEdit [], WorldGuard v5.8 com.sk89q.worldguard.bukkit.WorldGuardPlugin [], SimpleWarnings v0.9.3 me.odium.simplewarnings.SimpleWarnings [], Essentials v2.11.1 com.earth2me.essentials.Essentials [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits, md_5, Iaccidentally], EssentialsProtect v2.11.1 com.earth2me.essentials.protect.EssentialsProtect [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits], ServerSigns v2.9.1 de.czymm.ServerSigns.ServerSignsPlugin [CalibeR50, Exloki], EssentialsSpawn v2.11.1 com.earth2me.essentials.spawn.EssentialsSpawn [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits], EssentialsChat v2.11.1 com.earth2me.essentials.chat.EssentialsChat [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits, md_5, Okamosy, Iaccidentally], Multiverse-Core v2.4-b527 com.onarandombox.MultiverseCore.MultiverseCore [Rigby, fernferret, lithium3141, main--], Multiverse-Portals v2.4-b548 com.onarandombox.MultiversePortals.MultiversePortals [Rigby, fernferret],}
    Warnings: DEFAULT
    Threads: { RUNNABLE Netty IO #6: [sun.nio.ch.EPollArrayWrapper.epollWait(Native Method), sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269), sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:79), sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:87), sun.nio.ch.SelectorImpl.select(SelectorImpl.java:98), net.minecraft.util.io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:591), net.minecraft.util.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:301), net.minecraft.util.io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101), java.lang.Thread.run(Thread.java:744)], RUNNABLE Netty IO #4: [sun.nio.ch.EPollArrayWrapper.epollWait(Native Method), sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269), sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:79), sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:87), sun.nio.ch.SelectorImpl.select(SelectorImpl.java:98), net.minecraft.util.io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:591), net.minecraft.util.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:301), net.minecraft.util.io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101), java.lang.Thread.run(Thread.java:744)], RUNNABLE Netty IO #3: [sun.nio.ch.EPollArrayWrapper.epollWait(Native Method), sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269), sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:79), sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:87), sun.nio.ch.SelectorImpl.select(SelectorImpl.java:98), net.minecraft.util.io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:591), net.minecraft.util.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:301), net.minecraft.util.io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101), java.lang.Thread.run(Thread.java:744)], TIMED_WAITING File IO Thread: [java.lang.Thread.sleep(Native Method), net.minecraft.server.v1_7_R1.FileIOThread.b(SourceFile:44), net.minecraft.server.v1_7_R1.FileIOThread.run(SourceFile:23), java.lang.Thread.run(Thread.java:744)], WAITING pool-7-thread-1: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(LockSupport.java:186), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043), java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615), java.lang.Thread.run(Thread.java:744)], RUNNABLE Netty IO #2: [sun.nio.ch.EPollArrayWrapper.epollWait(Native Method), sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269), sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:79), sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:87), sun.nio.ch.SelectorImpl.select(SelectorImpl.java:98), net.minecraft.util.io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:591), net.minecraft.util.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:301), net.minecraft.util.io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101), java.lang.Thread.run(Thread.java:744)], TIMED_WAITING Server Infinisleeper: [java.lang.Thread.sleep(Native Method), net.minecraft.server.v1_7_R1.ThreadSleepForever.run(SourceFile:62)], WAITING Finalizer: [java.lang.Object.wait(Native Method), java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135), java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151), java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:189)], RUNNABLE Netty IO #5: [sun.nio.ch.EPollArrayWrapper.epollWait(Native Method), sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269), sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:79), sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:87), sun.nio.ch.SelectorImpl.select(SelectorImpl.java:98), net.minecraft.util.io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:591), net.minecraft.util.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:301), net.minecraft.util.io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101), java.lang.Thread.run(Thread.java:744)], RUNNABLE Netty IO #7: [sun.nio.ch.EPollArrayWrapper.epollWait(Native Method), sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269), sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:79), sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:87), sun.nio.ch.SelectorImpl.select(SelectorImpl.java:98), net.minecraft.util.io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:591), net.minecraft.util.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:301), net.minecraft.util.io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101), java.lang.Thread.run(Thread.java:744)], RUNNABLE Netty IO #0: [sun.nio.ch.EPollArrayWrapper.epollWait(Native Method), sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269), sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:79), sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:87), sun.nio.ch.SelectorImpl.select(SelectorImpl.java:98), net.minecraft.util.io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:591), net.minecraft.util.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:301), net.minecraft.util.io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101), java.lang.Thread.run(Thread.java:744)], WAITING Skript variable save thread (database): [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(LockSupport.java:186), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043), java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442), ch.njol.skript.variables.VariablesStorage$1.run(VariablesStorage.java:62), java.lang.Thread.run(Thread.java:744)], WAITING pool-5-thread-1: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(LockSupport.java:186), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043), java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615), java.lang.Thread.run(Thread.java:744)], WAITING Skript variable save thread (file): [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(LockSupport.java:186), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043), java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442), ch.njol.skript.variables.VariablesStorage$1.run(VariablesStorage.java:62), java.lang.Thread.run(Thread.java:744)], TIMED_WAITING Snooper Timer: [java.lang.Object.wait(Native Method), java.util.TimerThread.mainLoop(Timer.java:552), java.util.TimerThread.run(Timer.java:505)], TIMED_WAITING pool-3-thread-14: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460), java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:359), java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:942), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615), java.lang.Thread.run(Thread.java:744)], RUNNABLE Server thread: [java.lang.Thread.dumpThreads(Native Method), java.lang.Thread.getAllStackTraces(Thread.java:1639), org.bukkit.craftbukkit.v1_7_R1.CraftCrashReport.call(CraftCrashReport.java:28), net.minecraft.server.v1_7_R1.CrashReportSystemDetails.a(SourceFile:74), net.minecraft.server.v1_7_R1.CrashReport.h(CrashReport.java:45), net.minecraft.server.v1_7_R1.CrashReport.<init>(CrashReport.java:33), net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:474), net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)], RUNNABLE Server console handler: [java.io.FileInputStream.readBytes(Native Method), java.io.FileInputStream.read(FileInputStream.java:272), java.io.BufferedInputStream.fill(BufferedInputStream.java:235), java.io.BufferedInputStream.read(BufferedInputStream.java:254), java.io.FilterInputStream.read(FilterInputStream.java:83), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader$1.read(ConsoleReader.java:167), org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:267), org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:204), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readCharacter(ConsoleReader.java:995), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLineSimple(ConsoleReader.java:1506), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:1153), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:1117), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:1105), net.minecraft.server.v1_7_R1.ThreadCommandReader.run(ThreadCommandReader.java:34)], WAITING Reference Handler: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Object.java:503), java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)], WAITING Chunk I/O Executor Thread-1: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(LockSupport.java:186), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043), java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615), java.lang.Thread.run(Thread.java:744)], RUNNABLE Signal Dispatcher: [], WAITING Thread-5: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(LockSupport.java:186), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043), java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442), net.minecraft.util.com.mojang.util.QueueLogAppender.getNextLogEvent(QueueLogAppender.java:73), org.bukkit.craftbukkit.v1_7_R1.util.TerminalConsoleWriterThread.run(TerminalConsoleWriterThread.java:25), java.lang.Thread.run(Thread.java:744)], RUNNABLE Netty IO #1: [sun.nio.ch.EPollArrayWrapper.epollWait(Native Method), sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269), sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:79), sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:87), sun.nio.ch.SelectorImpl.select(SelectorImpl.java:98), net.minecraft.util.io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:591), net.minecraft.util.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:301), net.minecraft.util.io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101), java.lang.Thread.run(Thread.java:744)], RUNNABLE DestroyJavaVM: [], WAITING PermissionsEx-Cleaner: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Object.java:503), java.util.TimerThread.mainLoop(Timer.java:526), java.util.TimerThread.run(Timer.java:505)],}
    Recent tasks from 12353-12383{SurvivalGames:eek:rg.mcsg.survivalgames.logging.QueueManager$DataDumper@12327,}
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
     
  19. Offline

    Henzz

    Minecrafter099
    Seems like an issue with Skript I'm guessing, no relation to the issue you're having and for the love of god, please use a pastebin.
     
  20. Offline

    Minecrafter099

    Then how come it does not show MY plugin in the plugin list when /pl is said?

    Also, I removed Skript, then reloaded, still not working. I also appreciate everyone for trying to help.. I just am wondering if it is a plugin problem from MY plugin. I'm assuming that due to the fact that MY plugin isn't showing.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 5, 2016
  21. Offline

    Henzz

  22. Offline

    Minecrafter099

  23. Offline

    _Cookie_

    Minecrafter099
    The server you're probably using to test your plugin has a lot of plugins installed on it.. If I was you I would use a clean fresh new server to test he plugins you're developing...
     
  24. Offline

    Minecrafter099

    Hahaha! :) I've done that on a new server and it still doesn't load.
     
  25. Offline

    _Cookie_

    In your plugin you in the Boolean onCommand you have your command but nothing happening like:
    It's meant to be
    if(commandLabel.equalsignorecase("")){
    P.sendmessage();
    }
    Return false;

    Sorry I'm on my iPad it's hard to reply ;)
     
  26. Offline

    Minecrafter099

    What's the difference?
    And, how does that effect the plugin from showing in the list?
     
  27. Offline

    _Cookie_

    Minecrafter099
    Because it isn't a command than.
    Make it like this:
    Code:java
    1. public static boolean onCommand(CommandSender sender, Command cmd, String s, String[] args){
    2. Player p = (Player) sender;
    3. if(s.equalsIgnoreCase("YOURCOMMAND"){
    4. p.sendMessage("Working")
    5. }
    6. return false;
    7. }
     
  28. Offline

    Minecrafter099

    Mine's almost exactly like that. I'm tired, thanks for your time, I'll be back online tomorrow. :)

    Bump

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 5, 2016
  29. Offline

    Developing

  30. Offline

    Minecrafter099

Thread Status:
Not open for further replies.

Share This Page