Spigot ★BetterDeaths★ ❰Enjoy Your Death❱ 1.4

Make the death better by skipping the death screen and more!

  1. Thank you
     
    • "Red Screen on Half a Heart"
      Screenshot, please?
     
  2. I am making a plugin preview video, will be posted asap.
     
    #5 SirCodalot, Jun 22, 2016
    Last edited: Jun 22, 2016
  3. Video is now posted, check the plugin's overview page.
     
  4. How did you make the red screen?
     
  5. I used the red screen that you get when you interact with the world's border.
     
  6. I understand, but how?
    Packets? Or is it fairly simple?
     
  7. set the player's location to the center of the world and set the world to 1 block size.
     
  8. Ehm, what if someone's pvping or something.
    What if there's someone online a few blocks away, he'll get bugged out
     
  9. For some reason it is not happening
    Code (Text):
                    WorldBorder w = new WorldBorder();
                    w.setSize(1.0D);
                    w.setCenter(player.getLocation().getX() + 10000.0D, player.getLocation().getZ() + 10000.0D);
                    cp.getHandle().playerConnection.sendPacket(
                            new PacketPlayOutWorldBorder(w, PacketPlayOutWorldBorder.EnumWorldBorderAction.INITIALIZE));
     
  10. I just noticed the titles are not working, I am fixing this atm. (Problem will be fixed in version 1.3.1)

    Edit: Bug fixed.
     
    #15 SirCodalot, Jul 14, 2016
    Last edited: Jul 14, 2016
  11. Im getting this Error message everytime I start my server. My server is 1.8.8 Spigot

    [09:18:32 ERROR]: Could not load 'plugins\BetterDeaths 1.3.1.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: net/minecraft/server/v1_10_R1/Packet
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135) ~[spigot.jar:git-Spigot-e4d4710-e1ebe52]
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[spigot.jar:git-Spigot-e4d4710-e1ebe52]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [spigot.jar:git-Spigot-e4d4710-e1ebe52]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:292) [spigot.jar:git-Spigot-e4d4710-e1ebe52]
    at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:198) [spigot.jar:git-Spigot-e4d4710-e1ebe52]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [spigot.jar:git-Spigot-e4d4710-e1ebe52]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_91]
    Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_10_R1/Packet
    at com.withershard.main.BetterDeaths.<clinit>(BetterDeaths.java:23) ~[?:?]
    at java.lang.Class.forName0(Native Method) ~[?:1.8.0_91]
    at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_91]
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[spigot.jar:git-Spigot-e4d4710-e1ebe52]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[spigot.jar:git-Spigot-e4d4710-e1ebe52]
    ... 6 more
    Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_10_R1.Packet
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:91) ~[spigot.jar:git-Spigot-e4d4710-e1ebe52]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot.jar:git-Spigot-e4d4710-e1ebe52]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91]
    at com.withershard.main.BetterDeaths.<clinit>(BetterDeaths.java:23) ~[?:?]
    at java.lang.Class.forName0(Native Method) ~[?:1.8.0_91]
    at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_91]
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[spigot.jar:git-Spigot-e4d4710-e1ebe52]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[spigot.jar:git-Spigot-e4d4710-e1ebe52]
    ... 6 more
     
    • Like Like x 1
  12. The plugin is for spigot 1.10 only.