UHC death event help

Discussion in 'Plugin Development' started by 1928i, Jan 31, 2015.

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

    1928i

  2. Offline

    nverdier

    @1928i But you've updated code since, yes?
     
  3. Offline

    1928i

    Ok, here is updated:


    Code:
    package me.i1928i.UHC;
    
    import java.util.logging.Logger;
    
    import org.bukkit.Bukkit;
    import org.bukkit.ChatColor;
    import org.bukkit.GameMode;
    import org.bukkit.Location;
    import org.bukkit.Material;
    import org.bukkit.command.Command;
    import org.bukkit.command.CommandSender;
    import org.bukkit.entity.Player;
    import org.bukkit.event.EventHandler;
    import org.bukkit.event.Listener;
    import org.bukkit.event.entity.PlayerDeathEvent;
    import org.bukkit.event.player.PlayerJoinEvent;
    import org.bukkit.inventory.ItemStack;
    import org.bukkit.inventory.ShapedRecipe;
    import org.bukkit.inventory.meta.ItemMeta;
    import org.bukkit.inventory.meta.SkullMeta;
    import org.bukkit.plugin.PluginManager;
    import org.bukkit.plugin.java.JavaPlugin;
    
    public class Core extends JavaPlugin implements Listener{
        public final Logger logger = Logger.getLogger("Minecraft");
        public static Core plugin;
       
        @EventHandler
        public void onPlayerDeath(PlayerDeathEvent e){
            Player p = e.getEntity();
            String name = p.getName();
            Location loc = p.getLocation();
            ItemStack head = new ItemStack(Material.SKULL, 1, (short) 3);
            SkullMeta headMeta = (SkullMeta) head.getItemMeta();
            headMeta.setOwner(name);
            head.setItemMeta(headMeta);
            p.getLocation().getWorld().dropItem(loc, head);
            p.setGameMode(GameMode.SPECTATOR);
        }
        @EventHandler
        public void onPlayerJoin(PlayerJoinEvent e){
            Player p = e.getPlayer();
            p.sendMessage("You joined!");
        }
       
        @Override
        public void onDisable(){
            this.logger.info("UHC Plugin Has been disabled!");
        }
    
        @Override
        public void onEnable(){
            this.logger.info("UHC Plugin Has been enabled!");
            PluginManager pm = getServer().getPluginManager();
            pm.registerEvents(this, this);
            ItemStack headApplePlugin = new ItemStack(Material.GOLDEN_APPLE);
            ItemMeta appleMeta = headApplePlugin.getItemMeta();
            appleMeta.setDisplayName("Head Apple");
            headApplePlugin.setItemMeta(appleMeta);
            ShapedRecipe headApple = new ShapedRecipe(headApplePlugin);
            headApple.shape(new String[]{"***","*%*","***"}).setIngredient('*', Material.GOLD_INGOT).setIngredient('%', Material.SKULL);
            getConfig().options().copyDefaults(true);
            saveConfig();
        }
       
        private static int timeId;
        int time = 0;
        public void startTime() {
            timeId = Bukkit.getServer().getScheduler().scheduleSyncRepeatingTask(this, new Runnable() {
                @Override
                public void run(){
                    if(time % 20 == 0){
                        if(plugin.getConfig().isSet("EpisodeNumber")){
                            int hi = plugin.getConfig().getInt("EpisodeNumber")+1;
                            Bukkit.broadcastMessage(ChatColor.GOLD + "[Episode End] " + ChatColor.GREEN + "We are " + time + " minutes in.");
                            plugin.getConfig().set("EpisodeNumber", hi);
                        }else{
                            plugin.getConfig().set("EpisodeNumber", 2);
                            Bukkit.broadcastMessage(ChatColor.GOLD + "[Episode End] " + ChatColor.GREEN + "We are " + time + " minutes in.");
                        }
                    }
                    time++;
                }
            },0l,120l);
        }
        public void stopTime() {
            Bukkit.getServer().getScheduler().cancelTask(timeId);
        }
       
        public boolean onCommand(CommandSender sender, Command cmd, String cl, String[] args){
            Player p = (Player) sender;
            if(cl.equalsIgnoreCase("start")){
                if(p.isOp()){
                    startTime();
                }
            }
            return false;
           
        }
       
    }
    
     
  4. Offline

    1Rogue

    Please post a full server log from startup to shutdown of your plugin
     
  5. Offline

    1928i

    @1Rogue
    How do I do that, I can't copy out of a .bat file?
     
  6. Offline

    1Rogue

    Do the test, then open the "logs" folder, and copy/paste the contents of "latest.log" to http://pastebin.com/, upload it, and link it back here.
     
  7. Offline

    Skionz

    @1928i Here are your options
    1. Type it up
    2. Take a bunch of pictures
    3. Start the server in your IDE and read from the output streams.
    EDIT: Or get it from the log file
     
  8. Offline

    1928i

  9. Offline

    Protophite

    @1928i

    Code:
    @EventHandler
        public void onDeath(EntityDeathEvent e){
            if(e.getEntity() instanceof Player){
                //your code
            }
        }
    
    I think this should work.
     
  10. Offline

    1928i

    @Protophite
    Using a player death event is much easier.
     
  11. Offline

    nverdier

    @1928i So the event still isn't being called, correct?
     
  12. Offline

    Skionz

    @1928i Its literally one line harder. I wouldn't consider one line much easier. This is worth a shot.
     
  13. Offline

    Protophite

    @1928i
    use this in your onEnable:
    Bukkit.getServer().getPluginManager().registerEvents(this, this);

    remove this in your current onEnable:
    PluginManager pm = getServer().getPluginManager();
    pm.registerEvents(this, this);
     
  14. Offline

    N00BHUN73R

    @1928i Does it matter that you're using spigot instead of bukkit?
     
  15. @Protophite
    That shouldn't make a difference.

    @1928i
    This could be a problem a spigot's end, go look and see if there are any known problems associated with the version of spigot you have. There is should be no reason why the event isn't being called.
     
  16. Offline

    SuperOriginal

    @Protophite So you're removing code that's perfectly fine and replacing it with an unnecessary static reference?
     
  17. Offline

    Protophite

    @SuperOriginal Adding an extra variable for nothing is never perfect. Also it makes the code look cleaner and that is always better.
     
    Last edited: Feb 1, 2015
  18. Offline

    Skionz

    He added it for future simplicity, but I believe @SuperOriginal is talking about using a static method to get the Server instead of using the method already in the JavaPlugin class.
     
    SuperOriginal likes this.
  19. Offline

    Protophite

    @Skionz Looking at his code, simplicity isn't a quality it has.

    @1928i Is your onPlayerJoin() event working?
     
  20. Offline

    BaconStripzMan

    Stop watching the BC Blowz
     
    Skionz likes this.
  21. Offline

    1928i

  22. Offline

    Protophite

    @1928i If you join event is working then the problem is with your code in the PlayerDeathEvent.
     
  23. Offline

    1928i

    @Protophite
    I am completely aware of that, but I can't figure out the problem with the code.
     
  24. Offline

    Protophite

    Code:
    
    @EventHandler
        public void onPlayerDeath(PlayerDeathEvent e){
    System.out.println("1");
           Player p = e.getEntity();
    System.out.println("2");
            String name = p.getName();
    System.out.println("3");
            Location loc = p.getLocation();
    System.out.println("4");
            ItemStack head = new ItemStack(Material.SKULL, 1, (short) 3);
    System.out.println("5");
            SkullMeta headMeta = (SkullMeta) head.getItemMeta();
    System.out.println("6");
            headMeta.setOwner(name);
    System.out.println("7");
            head.setItemMeta(headMeta);
    System.out.println("8");
            p.getLocation().getWorld().dropItem(loc, head);
    System.out.println("9");
            p.setGameMode(GameMode.SPECTATOR);
    System.out.println("10");
        }
    
    @1928i
    Whatever number isn't displayed means that the line over it has a problem.
     
  25. Offline

    1928i

    @Protophite
    1, 2, 3, and 4 are printed. Here is log:

    Code:
    [21:50:00] [Server thread/INFO]: Starting minecraft server version 1.8
    [21:50:00] [Server thread/INFO]: Loading properties
    [21:50:00] [Server thread/INFO]: Default game type: SURVIVAL
    [21:50:01] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-29dbaa7-262c777 (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)
    [21:50:01] [Server thread/INFO]: Debug logging is disabled
    [21:50:01] [Server thread/INFO]: Using 4 threads for Netty based IO
    [21:50:01] [Server thread/INFO]: Server Ping Player Sample Count: 12
    [21:50:01] [Server thread/INFO]: Generating keypair
    [21:50:01] [Server thread/INFO]: Starting Minecraft server on localhost:12345
    [21:50:01] [Server thread/INFO]: Set PluginClassLoader as parallel capable
    [21:50:01] [Server thread/INFO]: [UHC] Loading UHC v1.0
    [21:50:01] [Server thread/INFO]: **** Beginning UUID conversion, this may take A LONG time ****
    [21:50:01] [Server thread/INFO]: Preparing level "world"
    [21:50:01] [Server thread/INFO]: -------- World Settings For [world] --------
    [21:50:01] [Server thread/INFO]: Item Despawn Rate: 6000
    [21:50:01] [Server thread/INFO]: Arrow Despawn Rate: 1200
    [21:50:01] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
    [21:50:01] [Server thread/INFO]: Item Merge Radius: 2.5
    [21:50:01] [Server thread/INFO]: View Distance: 10
    [21:50:01] [Server thread/INFO]: Chunks to Grow per Tick: 650
    [21:50:01] [Server thread/INFO]: Clear tick list: false
    [21:50:01] [Server thread/INFO]: Experience Merge Radius: 3.0
    [21:50:01] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
    [21:50:01] [Server thread/INFO]: Structure Info Saving: true
    [21:50:01] [Server thread/INFO]: Mob Spawn Range: 4
    [21:50:01] [Server thread/INFO]: Alternative Hopper Ticking: false
    [21:50:01] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
    [21:50:01] [Server thread/INFO]: Random Lighting Updates: false
    [21:50:01] [Server thread/INFO]: Anti X-Ray: true
    [21:50:01] [Server thread/INFO]:     Engine Mode: 1
    [21:50:01] [Server thread/INFO]:     Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
    [21:50:01] [Server thread/INFO]:     Replace Blocks: [1, 5]
    [21:50:01] [Server thread/INFO]: Max TNT Explosions: 100
    [21:50:01] [Server thread/INFO]: Sending up to 10 chunks per packet
    [21:50:01] [Server thread/INFO]: Max Entity Collisions: 8
    [21:50:01] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
    [21:50:01] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
    [21:50:01] [Server thread/INFO]: Cactus Growth Modifier: 100%
    [21:50:01] [Server thread/INFO]: Cane Growth Modifier: 100%
    [21:50:01] [Server thread/INFO]: Melon Growth Modifier: 100%
    [21:50:01] [Server thread/INFO]: Mushroom Growth Modifier: 100%
    [21:50:01] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
    [21:50:01] [Server thread/INFO]: Sapling Growth Modifier: 100%
    [21:50:01] [Server thread/INFO]: Wheat Growth Modifier: 100%
    [21:50:01] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Feature: 14357617
    [21:50:01] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
    [21:50:01] [Server thread/INFO]: -------- World Settings For [world_nether] --------
    [21:50:01] [Server thread/INFO]: Item Despawn Rate: 6000
    [21:50:01] [Server thread/INFO]: Arrow Despawn Rate: 1200
    [21:50:01] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
    [21:50:01] [Server thread/INFO]: Item Merge Radius: 2.5
    [21:50:01] [Server thread/INFO]: View Distance: 10
    [21:50:01] [Server thread/INFO]: Chunks to Grow per Tick: 650
    [21:50:01] [Server thread/INFO]: Clear tick list: false
    [21:50:01] [Server thread/INFO]: Experience Merge Radius: 3.0
    [21:50:01] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
    [21:50:01] [Server thread/INFO]: Structure Info Saving: true
    [21:50:01] [Server thread/INFO]: Mob Spawn Range: 4
    [21:50:01] [Server thread/INFO]: Alternative Hopper Ticking: false
    [21:50:01] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
    [21:50:01] [Server thread/INFO]: Random Lighting Updates: false
    [21:50:01] [Server thread/INFO]: Anti X-Ray: true
    [21:50:01] [Server thread/INFO]:     Engine Mode: 1
    [21:50:01] [Server thread/INFO]:     Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
    [21:50:01] [Server thread/INFO]:     Replace Blocks: [1, 5]
    [21:50:01] [Server thread/INFO]: Max TNT Explosions: 100
    [21:50:01] [Server thread/INFO]: Sending up to 10 chunks per packet
    [21:50:01] [Server thread/INFO]: Max Entity Collisions: 8
    [21:50:01] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
    [21:50:01] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
    [21:50:01] [Server thread/INFO]: Cactus Growth Modifier: 100%
    [21:50:01] [Server thread/INFO]: Cane Growth Modifier: 100%
    [21:50:01] [Server thread/INFO]: Melon Growth Modifier: 100%
    [21:50:01] [Server thread/INFO]: Mushroom Growth Modifier: 100%
    [21:50:01] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
    [21:50:01] [Server thread/INFO]: Sapling Growth Modifier: 100%
    [21:50:01] [Server thread/INFO]: Wheat Growth Modifier: 100%
    [21:50:01] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Feature: 14357617
    [21:50:01] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
    [21:50:01] [Server thread/INFO]: -------- World Settings For [world_the_end] --------
    [21:50:01] [Server thread/INFO]: Item Despawn Rate: 6000
    [21:50:01] [Server thread/INFO]: Arrow Despawn Rate: 1200
    [21:50:01] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
    [21:50:01] [Server thread/INFO]: Item Merge Radius: 2.5
    [21:50:01] [Server thread/INFO]: View Distance: 10
    [21:50:01] [Server thread/INFO]: Chunks to Grow per Tick: 650
    [21:50:01] [Server thread/INFO]: Clear tick list: false
    [21:50:01] [Server thread/INFO]: Experience Merge Radius: 3.0
    [21:50:01] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
    [21:50:01] [Server thread/INFO]: Structure Info Saving: true
    [21:50:01] [Server thread/INFO]: Mob Spawn Range: 4
    [21:50:01] [Server thread/INFO]: Alternative Hopper Ticking: false
    [21:50:01] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
    [21:50:01] [Server thread/INFO]: Random Lighting Updates: false
    [21:50:01] [Server thread/INFO]: Anti X-Ray: true
    [21:50:01] [Server thread/INFO]:     Engine Mode: 1
    [21:50:01] [Server thread/INFO]:     Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
    [21:50:01] [Server thread/INFO]:     Replace Blocks: [1, 5]
    [21:50:01] [Server thread/INFO]: Max TNT Explosions: 100
    [21:50:01] [Server thread/INFO]: Sending up to 10 chunks per packet
    [21:50:01] [Server thread/INFO]: Max Entity Collisions: 8
    [21:50:01] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
    [21:50:01] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
    [21:50:01] [Server thread/INFO]: Cactus Growth Modifier: 100%
    [21:50:01] [Server thread/INFO]: Cane Growth Modifier: 100%
    [21:50:01] [Server thread/INFO]: Melon Growth Modifier: 100%
    [21:50:01] [Server thread/INFO]: Mushroom Growth Modifier: 100%
    [21:50:01] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
    [21:50:01] [Server thread/INFO]: Sapling Growth Modifier: 100%
    [21:50:01] [Server thread/INFO]: Wheat Growth Modifier: 100%
    [21:50:01] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Feature: 14357617
    [21:50:01] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
    [21:50:01] [Server thread/INFO]: Preparing start region for level 0 (Seed: -6362104998779899339)
    [21:50:02] [Server thread/INFO]: Preparing spawn area: 5%
    [21:50:03] [Server thread/INFO]: Preparing spawn area: 22%
    [21:50:04] [Server thread/INFO]: Preparing start region for level 1 (Seed: -7716093452933466184)
    [21:50:05] [Server thread/INFO]: Preparing spawn area: 90%
    [21:50:05] [Server thread/INFO]: Preparing start region for level 2 (Seed: -7716093452933466184)
    [21:50:06] [Server thread/INFO]: [UHC] Enabling UHC v1.0
    [21:50:06] [Server thread/INFO]: UHC Plugin Has been enabled!
    [21:50:06] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
    [21:50:06] [Server thread/INFO]: Done (4.736s)! For help, type "help" or "?"
    [21:50:23] [User Authenticator #1/INFO]: UUID of player 1928i is 21873681-86cf-4bd2-8840-ac13469b0963
    [21:50:23] [Server thread/INFO]: 1928i[/127.0.0.1:57457] logged in with entity id 347 at ([world] 257.9519429509329, 65.0, 196.64335219807464)
    [21:50:25] [Server thread/INFO]: 1928i issued server command: /kill
    [21:50:25] [Server thread/INFO]: 1
    [21:50:25] [Server thread/INFO]: 2
    [21:50:25] [Server thread/INFO]: 3
    [21:50:25] [Server thread/INFO]: 4
    [21:50:25] [Server thread/ERROR]: Could not pass event PlayerDeathEvent to UHC v1.0
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) ~[spigot.jar:git-Spigot-29dbaa7-262c777]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-29dbaa7-262c777]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-29dbaa7-262c777]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-29dbaa7-262c777]
        at org.bukkit.craftbukkit.v1_8_R1.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:381) [spigot.jar:git-Spigot-29dbaa7-262c777]
        at net.minecraft.server.v1_8_R1.EntityPlayer.die(EntityPlayer.java:407) [spigot.jar:git-Spigot-29dbaa7-262c777]
        at net.minecraft.server.v1_8_R1.EntityLiving.damageEntity(EntityLiving.java:765) [spigot.jar:git-Spigot-29dbaa7-262c777]
        at net.minecraft.server.v1_8_R1.EntityHuman.damageEntity(EntityHuman.java:801) [spigot.jar:git-Spigot-29dbaa7-262c777]
        at net.minecraft.server.v1_8_R1.EntityPlayer.damageEntity(EntityPlayer.java:486) [spigot.jar:git-Spigot-29dbaa7-262c777]
        at net.minecraft.server.v1_8_R1.EntityLiving.G(EntityLiving.java:95) [spigot.jar:git-Spigot-29dbaa7-262c777]
        at net.minecraft.server.v1_8_R1.CommandKill.execute(SourceFile:29) [spigot.jar:git-Spigot-29dbaa7-262c777]
        at org.bukkit.craftbukkit.v1_8_R1.command.VanillaCommandWrapper.execute(VanillaCommandWrapper.java:47) [spigot.jar:git-Spigot-29dbaa7-262c777]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot.jar:git-Spigot-29dbaa7-262c777]
        at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:642) [spigot.jar:git-Spigot-29dbaa7-262c777]
        at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1115) [spigot.jar:git-Spigot-29dbaa7-262c777]
        at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:950) [spigot.jar:git-Spigot-29dbaa7-262c777]
        at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26) [spigot.jar:git-Spigot-29dbaa7-262c777]
        at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53) [spigot.jar:git-Spigot-29dbaa7-262c777]
        at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spigot.jar:git-Spigot-29dbaa7-262c777]
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_51]
        at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_51]
        at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:683) [spigot.jar:git-Spigot-29dbaa7-262c777]
        at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot.jar:git-Spigot-29dbaa7-262c777]
        at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot.jar:git-Spigot-29dbaa7-262c777]
        at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot.jar:git-Spigot-29dbaa7-262c777]
        at java.lang.Thread.run(Unknown Source) [?:1.7.0_51]
    Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_8_R1.inventory.CraftMetaItem cannot be cast to org.bukkit.inventory.meta.SkullMeta
        at me.i1928i.UHC.Core.onPlayerDeath(Core.java:39) ~[?:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ~[spigot.jar:git-Spigot-29dbaa7-262c777]
        ... 25 more
    [21:50:25] [Server thread/INFO]: 1928i fell out of the world
    [21:50:25] [Server thread/INFO]: [1928i: Killed 1928i]
    [21:50:57] [Server thread/INFO]: Stopping the server
    [21:50:57] [Server thread/INFO]: Stopping server
    [21:50:57] [Server thread/INFO]: [UHC] Disabling UHC v1.0
    [21:50:57] [Server thread/INFO]: UHC Plugin Has been disabled!
    [21:50:57] [Server thread/INFO]: Saving players
    [21:50:57] [Server thread/INFO]: 1928i lost connection: Server closed
    [21:50:57] [Server thread/INFO]: 1928i left the game.
    [21:50:57] [Server thread/INFO]: Saving worlds
    [21:50:57] [Server thread/INFO]: Saving chunks for level 'world'/Overworld
    [21:50:57] [Server thread/INFO]: Saving chunks for level 'world_nether'/Nether
    [21:50:57] [Server thread/INFO]: Saving chunks for level 'world_the_end'/The End
    [21:50:57] [Thread-4/INFO]: Stopping server
    [21:50:57] [Thread-4/INFO]: Saving players
    [21:50:57] [Thread-4/INFO]: Saving worlds
    [21:50:57] [Thread-4/INFO]: Saving chunks for level 'world'/Overworld
    
     
  26. Offline

    Skionz

    @1928i The Material should be SKULL_ITEM.
     
  27. Offline

    Konato_K

    @Skionz That's what I said in first page TT-TT And someone else said it too
     
  28. Offline

    Skionz

    It should work. Was he just not listening or what? This could have all been easily fixed with a few debug lines and a quick google search instead of it turning into a two day ordeal.
     
  29. Offline

    Konato_K

    @Skionz I guess the two day stuff was because he said he added a message to broadcast and he said it didn't show up
     
    Protophite likes this.
  30. Offline

    BaconStripzMan

    Well then just stop using minecrafts logger
     
Thread Status:
Not open for further replies.

Share This Page