Hardcore 2.0
This is a (new) new implementation of SMP Hardcore. If you die, you are banned.
(The old mod (That i belive the owner is inactive) is here)
Downloads!
Recommended Build For Recommended Build of Bukkit (1.0.1!)
Dev-build For Dev-build of Bukkit (1.1!)
Features
- Multiworld and Permissions Support
- Configurable ban time (default is one week)
- Commands for admins to ban,unban and get info on dead players (/hardcore)
- Players are told what date and time they will be allowed back when they die and when they try to log back early.
- The plugin logs every death along with level, exp, location and death message in csv format for easy exporting
- Does not have the "dead players hog a login spot" issue.
- Final Farewell: Admins can choose to allow players to live for a short time and chat and say goodbye
- Sound and Fury: Admins can choose to allow a non damaging lightning and thunderclap will go off each time a player dies. Because it would be cool.
- Will try and add requested features to the plugin
To Be added
- Fully open source and supported on GitHub (Waiting for internet to fix)
- Auto-update detection (Wont download without the go ahead)
- "True" Multiworld
- Anything you want!
@lucky___13
Is there a way to configure this plugin to allow a PvP Arena where people who are killed inside the arena will not be death banned?
Some errors again, when I reload the plugins with the .jar in the plugins directory, it does not generate a 'Hardcore' folder.
And does not work full stop.
This is your dev. build with bukkit for 1.1 - the latest dev build.
On another note, seeing as your so fast at adding features! - I would love to see players have the ability to spawn at a location, example Jail, instead of being all out kicked/banned. This would probably be good for most servers because they can still talk with friends, and are not left with the opportunity of not connecting back to the server.
Thanks mate, good luck fixing the problem!
Btw, there were no errors in the console. Simple acted as if there was no plugin there, except that when I typed /pl to check the plugins, it did show 'Hardcore' there.
Thanks mate, downloading now :D
@fonkfader
@lucky___13
Done, Use the Dev-Build!
@lucky___13
Its because i havent adopted the new way of creating listeners, I still use my old code because it wont work on the latest RB otherwise, I will create two versions one for the RB and one for the DB
@lucky___13
i've test the plugins without any others and i've got the same error (using latest bukkit 1.1 devbuild)
@rmsy Here are my plugins.
Essentials NoCheat Hardcore (this) worldedit worldguard borderguard permissions lockette iconomy chestshop logblock
See any problems? And I dont think I have any other 'custom login stuff', me not knowing really what that is probably proves that.
@lucky___13
Do you have any other custom login stuff that could be hooking PLAYER_LOGIN?
I have the config like this :
doThunderAndLightningOnDeath: false deathMustBePVPToBan: true finalFarewell: false debug: false resurrectionDayStart: 12/31/69 7:00 PM reaperCheckSeconds: 1 deathSeconds: 120 resurrectionDayEnd: 12/31/69 7:00 PM useResurrectionDay: false thunderLengthSeconds: 1 finalFarewellSeconds: 1 showSparedMessage: true hideCords: false
This error occured when a player logged in.
08:35:36 [SEVERE] Could not pass event PLAYER_LOGIN to Hardcore java.lang.NullPointerException at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:340) at net.minecraft.server.ServerConfigurationManager.attemptLogin(ServerConfigurationManager.java:202) at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:88) at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:39) at net.minecraft.server.NetworkListenThread.a(SourceFile:94) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:534) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) 08:35:36 [INFO] DaeWolf [/119.11.9.168:52453] logged in with entity id 2048477 at ([New World] 527.3822649888899, 71.0, 861.0973602423334)
This error occured when a player was killed by another player
I got a whole lot of this. And a [SEVER] error like 'failed to pass event Hardcore_death to hardcore, or something.
org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:320) at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:168) at org.bukkit.craftbukkit.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:45) at com.earth2me.essentials.commands.Commandkill.run(Commandkill.java:34) at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:109) at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:359) at com.earth2me.essentials.Essentials.onCommand(Essentials.java:290) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:379) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:375) at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:571) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:548) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Wow, thats some speedy performance there.
Love your work, I will be installing it now!
- Ill get back to you on how it performs tomorrow :D
@lucky___13
Its all fixed in the latest version, and I added your features!
Uploaded 2.1, It starts this time.
@fonkfader
I love you, Thank you for explaining that for me, The problem was maven wasent incuding it.
Im still confused, is this not a plugin where I can simply place the .jar file into my plugins folder then start the server?
you have to add a file "plugin.yml" into the .jar and add this to this file :
name: Hardcore
main: com.gotadig.knight.hawk3.hardcore.HardcorePlugin
version: 2.0.1
commands:
hardcore:
description: Hardcore commands
usage: /hardcore res|slay|info [player]
I would very much like to be your tester. Ill have a look at the logs now.
My skype is alexthedood1 Thats probably the easiest way to communicate.
edit: could it possibly be the name of the .jar ? I kept it as hardcore-2.0.1-SNAP... blah blah and it didn't work, so I renamed it to 'hardcore-2.0.1.jar' and 'hardcore.jar' neither worked.
@lucky___13
Stack trace?
Show me the logs!
Also would you like to be my tester? Ill give you a ALPHA build.
Hello again, I put the .jar into my plugin directory, did a reload, but it has not applied the plugin. I am running the latest dev build for 1.1, could this be why?
Anyway, great work, and I look forward to further updates. Hopefully you can get that pvp-only one done soon, its really the only thing I would use it for.
Thanks!
-AlexTheDooD
@AlexTheDooD
Not my style, But okay Ill add a config option for it
Any chance you can implement the ability to have the ban only happen after a PvP death? This would give players an incentive to PvP more and stop them from raging after surprise creeper deaths