Solved Timer won't teleport the player

Discussion in 'Plugin Development' started by KingPieter, Dec 13, 2015.

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

    KingPieter

    Hello everyone,
    I've made a timer but when the timer is 0 the counter won't teleport a player from the list.
    Can someone please help me?
    Error log:
    Code:
    [17:13:49 WARN]: Exception in thread "Craft Scheduler Thread - 56"
    [17:13:49 WARN]: org.apache.commons.lang.UnhandledException: Plugin PixelDice v1.0 generated an exception while executin
    g task 96
            at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.IllegalStateException: Asynchronous player tracker clear!
            at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:14)
            at net.minecraft.server.v1_8_R3.EntityTrackerEntry.clear(EntityTrackerEntry.java:544)
            at net.minecraft.server.v1_8_R3.EntityTracker.untrackPlayer(EntityTracker.java:237)
            at net.minecraft.server.v1_8_R3.PlayerList.moveToWorld(PlayerList.java:510)
            at org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer.teleport(CraftPlayer.java:471)
            at org.bukkit.craftbukkit.v1_8_R3.entity.CraftEntity.teleport(CraftEntity.java:226)
            at com.pixeldice.main.main$1.run(main.java:161)
            at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
            at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
            ... 3 more
    
    [17:13:50 INFO]: The game starts.
    [17:13:50 WARN]: Exception in thread "Craft Scheduler Thread - 57"
    [17:13:50 WARN]: org.apache.commons.lang.UnhandledException: Plugin PixelDice v1.0 generated an exception while executin
    g task 96
            at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.IllegalStateException: Asynchronous player tracker clear!
            at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:14)
            at net.minecraft.server.v1_8_R3.EntityTrackerEntry.clear(EntityTrackerEntry.java:544)
            at net.minecraft.server.v1_8_R3.EntityTracker.untrackPlayer(EntityTracker.java:237)
            at net.minecraft.server.v1_8_R3.PlayerList.moveToWorld(PlayerList.java:510)
            at org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer.teleport(CraftPlayer.java:471)
            at org.bukkit.craftbukkit.v1_8_R3.entity.CraftEntity.teleport(CraftEntity.java:226)
            at com.pixeldice.main.main$1.run(main.java:161)
            at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
            at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
            ... 3 more
    
    Main.java:
    Code:
    this.getServer().getScheduler().scheduleAsyncRepeatingTask(this,
                        new Runnable(){
                    public void run(){
                        if(counter != -1){
                            if(counter != 0){
                                if(counter == 60){
                                    for(String s: PlayersInLobby1){
                                        Bukkit.broadcastMessage(ChatColor.GOLD + "The game starts in 60 seconds.");
                                    }
                                }
                                if(counter == 45){
                                    for(String s: PlayersInLobby1){
                                        Bukkit.broadcastMessage(ChatColor.GOLD + "The game starts in 45 seconds.");
                                       
                                    }
                                }
                                if(counter == 30){
                                    for(String s: PlayersInLobby1){
                                        Bukkit.broadcastMessage(ChatColor.GOLD + "The game starts in 30 seconds.");
                                       
                                    }
                                }
                                if(counter == 15){
                                    for(String s: PlayersInLobby1){
                                        Bukkit.broadcastMessage(ChatColor.GOLD + "The game starts in 15 seconds.");
                                       
                                    }
                                }
                                if(counter == 10){
                                    for(String s: PlayersInLobby1){
                                        Bukkit.broadcastMessage(ChatColor.GOLD + "The game starts in 10 seconds.");
                                       
                                    }
                                }
                                if(counter <= 5){
                                    for(String s: PlayersInLobby1){
                                        Bukkit.broadcastMessage(ChatColor.GOLD + "The game starts in " + counter + " seconds.");
                                       
                                    }
                                }
                                counter --;
                            }else{
                                    for(String s: PlayersInLobby1){
                                        Bukkit.broadcastMessage(ChatColor.GOLD + "The game starts.");
                                    }
                                Location loc1 = new Location(Bukkit.getWorld("cave"),1,1,1);
                                Bukkit.getPlayer(PlayersInLobby1.get(0)).teleport(loc1);
                                counter --;
                            }
                        }
                    }
                }
                       
                       
                       
                        , 0L, 20L);
     
  2. Offline

    EmeraldRailsMC

    Is that all your Main.java?
     
  3. Offline

    MOMOTHEREAL

    What exactly is at line 161 of your "main" class?
     
  4. Offline

    KingPieter

    Bukkit.getPlayer(PlayersInLobby1.get(0)).teleport(loc1);
    this

    But I don't see a problem in this code... Maybe do you

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

    Zombie_Striker

    Please don't use asynch if you plan on doing anything with bukkit. You don't just use asynch because "hey, less lag!". Unless you truly know how to handle asynch threads, don't use them.
     
  6. Offline

    KingPieter

    Ok but can you fix my problem?
     
  7. Offline

    Zombie_Striker

    @KingPieter
    I think I did.
    Swap anything Asynch to Synch.
     
  8. Offline

    KingPieter

    Yeah you did tnx dude!! :D
     
  9. Offline

    Zombie_Striker

  10. Offline

    KingPieter

    The error has appeared again...
    Code:
                task1 = this.getServer().getScheduler().scheduleSyncRepeatingTask(this,
                        new Runnable(){
                    public void run(){
                        if(counter != -1){
                            if(counter != 0){
                                if(counter == 60){
                                    for(Player p: PlayersInLobby1){
                                        p.sendMessage(ChatColor.GOLD + "The game starts in 60 seconds.");
                                        p.playSound(p.getLocation(),Sound.NOTE_PLING, 1, 1);
                                    }
                                }
                                if(counter == 45){
                                    for(Player p: PlayersInLobby1){
                                        p.sendMessage(ChatColor.GOLD + "The game starts in 45 seconds.");
                                        p.playSound(p.getLocation(),Sound.NOTE_PLING, 1, 1);
                                    }
                                }
                                if(counter == 30){
                                    for(Player p: PlayersInLobby1){
                                        p.sendMessage(ChatColor.GOLD + "The game starts in 30 seconds.");
                                        p.playSound(p.getLocation(),Sound.NOTE_PLING, 1, 1);
                                    }
                                }
                                if(counter == 15){
                                    for(Player p: PlayersInLobby1){
                                        p.sendMessage(ChatColor.GOLD + "The game starts in 15 seconds.");
                                        p.playSound(p.getLocation(),Sound.NOTE_PLING, 1, 1);
                                    }
                                }
                                if(counter == 10){
                                    for(Player p: PlayersInLobby1){
                                        p.sendMessage(ChatColor.GOLD + "The game starts in 10 seconds.");
                                        p.playSound(p.getLocation(),Sound.NOTE_PLING, 1, 1);
                                    }
                                }
                                if(counter <= 5){
                                    for(Player p: PlayersInLobby1){
                                        p.sendMessage(ChatColor.GOLD + "The game starts in " + counter + " seconds.");
                                        p.playSound(p.getLocation(),Sound.NOTE_PIANO, 1, 1);
                                    }
                                }
                             counter --;
                            }else{
                                if(PlayersInLobby1.size() > 1){
                                    for(Player p: PlayersInLobby1){
                                        p.sendMessage(ChatColor.GOLD + "The game starts.");
                                        p.playSound(p.getLocation(),Sound.ANVIL_USE, 1, 1);
                                    }
                                counter --;
                                inGame = 1;
                                Location loc1 = new Location(Bukkit.getServer().getWorld("xmasmap2"),-3, 29, 16);
                                PlayersInLobby1.get(0).teleport(loc1);
                                Location loc2 = new Location(Bukkit.getServer().getWorld("xmasmap2"),-2, 29, 11);
                                PlayersInLobby1.get(1).teleport(loc2);
                            }else{
                                for(Player p1: PlayersInLobby1){
                                     p1.sendMessage(ChatColor.GOLD + "The game has been ended.");
                                     PlayersInLobby1.remove(p1);
                                }
                                getServer().getScheduler().cancelTask(task1);
                                Bukkit.broadcastMessage(ChatColor.GOLD + "The map " + ChatColor.RED + "TREES" + ChatColor.GOLD + " is again playable.");
                                counter = 60;
                            }
                            }
                        }else{
                            if(PlayersInLobby1.size() == 1 && inGame == 1){
                                for(Player p3: PlayersInLobby1){
                                    p3.sendMessage(ChatColor.GOLD + "You've won the game man.");
                                    Location lobby = new Location(Bukkit.getWorld("world"), 1506, 4, -266);
                                    p3.teleport(lobby);
                                    PlayersInLobby1.remove(p3);
                                }
                                for(Player onp: Bukkit.getOnlinePlayers()){
                                    onp.playSound(onp.getLocation(), Sound.CLICK, 1, 1);
                                }
                            inGame = 0;
                            getServer().getScheduler().cancelTask(task1);
                            counter = 60;
                            }
                               
                        }
                    }
                }
                       
                       
                       
                        , 0L, 20L);
    Error Log:
    Code:
    14.12 12:09:17 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
    14.12 12:09:17 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:556) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 12:09:17 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:653) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 12:09:17 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 12:09:17 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:722) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 12:09:17 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 12:09:17 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 12:09:17 [Server] INFO at com.pixeldice.main.main$1.run(main.java:173) ~[?:?]
    14.12 12:09:17 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.entity.CraftEntity.teleport(CraftEntity.java:224) ~[spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 12:09:17 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer.teleport(CraftPlayer.java:460) ~[spigot18.jar:git-Spigot-d97e08b-5e85956]
     
  11. Offline

    mcdorli

    Can you please post the whole error?

    1.: You don't own the pixeldice.com domain
    2.: You're violating D.R.Y.
    3.:This
    if(counter != -1){
    if(counter != 0){
    could be solved in one line
     
  12. Offline

    KingPieter

    1. I have already another name haha :p
    2. here is the full log:
    Code:
    14.12 13:22:38 [Server] WARN Task #199 for PixelDice v1.0 generated an exception
    14.12 13:22:37 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
    14.12 13:22:37 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:556) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 13:22:37 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:653) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 13:22:37 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 13:22:37 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:722) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 13:22:37 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 13:22:37 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 13:22:37 [Server] INFO at com.pixeldice.main.main$1.run(main.java:170) ~[?:?]
    14.12 13:22:37 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.entity.CraftEntity.teleport(CraftEntity.java:224) ~[spigot18.jar:git-Spigot-d97e08b-5e85956]
    
    I think there's a problem with the scheduler

    Or with the teleporting but I can't find one

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
  13. Offline

    mcdorli

    Nope, that's not the full error code, it should have something like "Caused By". If you can't find it, then please, post the whole stacktrace, from start to finish, with a fresh start.
    And still, you shouldn't use com.pixeldice.<project> package name, and I don't say that. because I hate, when someone doesn't have a domian name, and still use it, but because i don't want them to get a trademark DMCA takedown.
     
    Last edited: Dec 14, 2015
  14. Offline

    KingPieter

    I know what the issue is but I can't fix it. The issue appears when I tp the list of players to the map.

    Here is the full log btw:
    Code:
    14.12 16:58:04 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
    14.12 16:58:04 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:556) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 16:58:04 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:653) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 16:58:04 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 16:58:04 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:722) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 16:58:04 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 16:58:04 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 16:58:04 [Server] INFO at com.pixeldice.main.main$1.run(main.java:173) ~[?:?]
    14.12 16:58:04 [Server] INFO at java.util.ArrayList$Itr.next(ArrayList.java:851) ~[?:1.8.0_60]
    14.12 16:58:04 [Server] INFO at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901) ~[?:1.8.0_60]
    14.12 16:58:04 [Server] INFO java.util.ConcurrentModificationException
    14.12 16:58:04 [Server] WARN Task #251 for PixelDice v1.0 generated an exception
    14.12 16:57:04 [Multicraft] Skipped 152 lines due to rate limit (30/s)
    14.12 16:57:01 [Server] INFO Max TNT Explosions: 100
    14.12 16:57:01 [Server] INFO Custom Map Seeds:  Village: 10387312 Feature: 14357617
    14.12 16:57:01 [Server] INFO Max Entity Collisions: 8
    14.12 16:57:01 [Server] INFO Sending up to 10 chunks per packet
    14.12 16:57:01 [Server] INFO Structure Info Saving: true
    14.12 16:57:01 [Server] INFO Random Lighting Updates: false
    14.12 16:57:01 [Server] INFO Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
    14.12 16:57:01 [Server] INFO Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
    14.12 16:57:01 [Server] INFO Entity Activation Range: An 32 / Mo 32 / Mi 16
    14.12 16:57:01 [Server] INFO Replace Blocks: [1, 5]
    14.12 16:57:01 [Server] INFO Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
    14.12 16:57:01 [Server] INFO Engine Mode: 1
    14.12 16:57:01 [Server] INFO Anti X-Ray: true
    14.12 16:57:01 [Server] INFO NetherWart Growth Modifier: 100%
    14.12 16:57:01 [Server] INFO Wheat Growth Modifier: 100%
    14.12 16:57:01 [Server] INFO Sapling Growth Modifier: 100%
    14.12 16:57:01 [Server] INFO Pumpkin Growth Modifier: 100%
    14.12 16:57:01 [Server] INFO Mushroom Growth Modifier: 100%
    14.12 16:57:01 [Server] INFO Melon Growth Modifier: 100%
    14.12 16:57:01 [Server] INFO Cane Growth Modifier: 100%
    14.12 16:57:01 [Server] INFO Cactus Growth Modifier: 100%
    14.12 16:57:01 [Server] INFO Nerfing mobs spawned from spawners: false
    14.12 16:57:01 [Server] INFO Mob Spawn Range: 4
    14.12 16:57:01 [Server] INFO -------- World Settings For [world] --------
    14.12 16:57:01 [Server] INFO Debug logging is disabled
    14.12 16:57:01 [Server] INFO Using 4 threads for Netty based IO
    14.12 16:57:01 [Server] INFO Server Ping Player Sample Count: 12
    14.12 16:57:01 [Server] INFO KingPieter: If you encounter any issues please use the /stop command to restart your server.
    14.12 16:57:01 [Server] INFO KingPieter: Please note that this command is not supported and may cause issues when using some plugins.
    14.12 16:56:59 [Server] INFO Saved the world
    14.12 16:56:59 [Server] INFO Saving...
    14.12 16:56:59 [Server] INFO Saving is already turned on.
    14.12 16:56:59 [Multicraft] Auto-saving world...
    14.12 16:56:56 [Multicraft] Skipped 152 lines due to rate limit (30/s)
    14.12 16:56:46 [Server] INFO Max TNT Explosions: 100
    14.12 16:56:46 [Server] INFO Custom Map Seeds:  Village: 10387312 Feature: 14357617
    14.12 16:56:46 [Server] INFO Max Entity Collisions: 8
    14.12 16:56:46 [Server] INFO Sending up to 10 chunks per packet
    14.12 16:56:46 [Server] INFO Structure Info Saving: true
    14.12 16:56:46 [Server] INFO Random Lighting Updates: false
    14.12 16:56:46 [Server] INFO Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
    14.12 16:56:46 [Server] INFO Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
    14.12 16:56:46 [Server] INFO Entity Activation Range: An 32 / Mo 32 / Mi 16
    14.12 16:56:46 [Server] INFO Replace Blocks: [1, 5]
    14.12 16:56:46 [Server] INFO Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
    14.12 16:56:46 [Server] INFO Engine Mode: 1
    14.12 16:56:46 [Server] INFO Anti X-Ray: true
    14.12 16:56:46 [Server] INFO NetherWart Growth Modifier: 100%
    14.12 16:56:46 [Server] INFO Wheat Growth Modifier: 100%
    14.12 16:56:46 [Server] INFO Sapling Growth Modifier: 100%
    14.12 16:56:46 [Server] INFO Pumpkin Growth Modifier: 100%
    14.12 16:56:46 [Server] INFO Mushroom Growth Modifier: 100%
    14.12 16:56:46 [Server] INFO Melon Growth Modifier: 100%
    14.12 16:56:46 [Server] INFO Cane Growth Modifier: 100%
    14.12 16:56:46 [Server] INFO Cactus Growth Modifier: 100%
    14.12 16:56:46 [Server] INFO Nerfing mobs spawned from spawners: false
    14.12 16:56:46 [Server] INFO Mob Spawn Range: 4
    14.12 16:56:46 [Server] INFO -------- World Settings For [world] --------
    14.12 16:56:46 [Server] INFO Debug logging is disabled
    14.12 16:56:46 [Server] INFO Using 4 threads for Netty based IO
    14.12 16:56:46 [Server] INFO Server Ping Player Sample Count: 12
    14.12 16:56:46 [Server] INFO KingPieter: If you encounter any issues please use the /stop command to restart your server.
    14.12 16:56:46 [Server] INFO KingPieter: Please note that this command is not supported and may cause issues when using some plugins.
    14.12 16:56:46 [Multicraft] Skipped 2 lines due to rate limit (30/s)
    14.12 16:56:43 [Server] INFO at com.pixeldice.main.main.onCommand(main.java:121) ~[?:?]
    14.12 16:56:43 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_60]
    14.12 16:56:43 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_60]
    14.12 16:56:43 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 16:56:43 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 16:56:43 [Server] INFO at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_60]
    14.12 16:56:43 [Server] INFO Caused by: java.lang.ClassNotFoundException: com.pixeldice.main.main$1
    14.12 16:56:43 [Server] INFO ... 15 more
    14.12 16:56:43 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 16:56:43 [Server] INFO at com.pixeldice.main.main.onCommand(main.java:121) ~[?:?]
    14.12 16:56:43 [Server] INFO Caused by: java.lang.NoClassDefFoundError: com/pixeldice/main/main$1
    14.12 16:56:43 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
    14.12 16:56:43 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:556) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 16:56:43 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:653) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 16:56:43 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 16:56:43 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:714) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 16:56:43 [Server] INFO at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 16:56:43 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_60]
    14.12 16:56:43 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_60]
    14.12 16:56:43 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 16:56:43 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 16:56:43 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 16:56:43 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 16:56:43 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 16:56:43 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:640) ~[spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 16:56:43 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 16:56:43 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot18.jar:git-Spigot-d97e08b-5e85956]
    14.12 16:56:43 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'join' in plugin PixelDice v1.0
    14.12 16:56:43 [Server] ERROR null
    14.12 16:55:35 [Server] INFO [KingThomas: Teleported KingPieter to KingThomas]
    14.12 16:55:31 [Multicraft] Skipped 152 lines due to rate limit (30/s)
    14.12 16:55:25 [Server] INFO Max TNT Explosions: 100
    14.12 16:55:25 [Server] INFO Custom Map Seeds:  Village: 10387312 Feature: 14357617
    14.12 16:55:25 [Server] INFO Max Entity Collisions: 8
    14.12 16:55:25 [Server] INFO Sending up to 10 chunks per packet
    14.12 16:55:25 [Server] INFO Structure Info Saving: true
    14.12 16:55:25 [Server] INFO Random Lighting Updates: false
    14.12 16:55:25 [Server] INFO Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
    14.12 16:55:25 [Server] INFO Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
    14.12 16:55:25 [Server] INFO Entity Activation Range: An 32 / Mo 32 / Mi 16
    14.12 16:55:25 [Server] INFO Replace Blocks: [1, 5]
    14.12 16:55:25 [Server] INFO Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
    
    Never mind I've solved it

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 14, 2015
Thread Status:
Not open for further replies.

Share This Page