Hard Core Worlds
Hard Core Worlds
Description
This plugin brings something like Hardcore mode to select worlds on your server. Single player Hardcore mode is simulated by these things: Hunger will eventually kill you. Mob Damage is adjusted (by default) to hard difficulty damage, but this is customizable. You/others are banned from chosen worlds after dying in them.
Features
- Optional Server Lives you must have the appropriate permissions if you wish to be banned from the server
- Optional Lives
- Hunger can now bring you down to 0 health (via virtual hunger)
- Mob damage is changed for selected worlds. By default set to the hard difficulty, (Skeletons do 3 hearts, Zombies 3.5 etc.)
- Custom difficulties
- Hardcore worlds ban players upon death
- Can use permissions to ignore bans
- Permissions regulated commands to control banning
Usage
Ban.yml explanation
Mob Difficulty.yml explanation
config.yml explanation
Command List explanation
Permissions explanation
Todo:
Any suggestions?
Known bugs:
none
Unknown bugs:
- Let me know
If you feel compelled for some reason, to give me money, here is the link :)
By the way, I typically don't update unless someone requests it, or a new feature
I have the dev version of the release ready, that works with the new bukkit, unfortunately I have yet to be able to test it at all because of technical issues. So until I can test it, I will not have a release for you.
The next release will contain the following features:
@Draconicthor
Those are good ideas, I'm not going to work on it now, but if I can remember, I'll try to implement your ideas in some way. Like a permissioned version of your reviving idea, and the idea about anybody being able to type /lives to see their own lives. Essentials permissions would require too much change of code for me to really want to do that.
@Synth6983
I think the bug is fixed now (v1.3) and the command
should be able to do exactly what you are asking. It should unban/ban upon crossing/equalling zero
Adding lives to any player that is offline still doesn't work. The modlives cmmand needs to also check if they are banned and if so unban them. So if a player dies and then goes to donate. He can immediately log on. It would unban him and add the life. Or only ban people if lives == 0 Therefore id I added a life, he would be un banned simply by that if check.
This works great, If you could make it that it also works if you add the permissions on Essentials, it would be even better. But this is great. It works fine now.
I wonder if you can add a command maybe where Users that aren't op can type /lives to check how many they have left and another command thats like /revive USERNAME so they can revive their friends, but it removes 1 of their lives so it should be a requirement to have 2.
Thanks great plugin, but if you can add that then awesome!
@genesis_aix
I've attempted to maintain non-deprecated code so R5 should not brick it. We'll see.
@Cayviel Glad to see this beeing kept very much alive. Great work! Have not been able to test the latest additions yet. I noticed that all recent files are made for CB1.1-R3. Should we be worried about R5 bricking it or are you on top of things? =)
@Draconicthor
I bug tested it to some degree, but I need verification. Anyway the point is that I added config console commands, and changed the default value for op commands to true. So as long as op commands = true, if you are an op you will be default have access to console commands related to this plugin. (this is as-of the version 1.2 release)
@Draconicthor First, if you do not have access to the console, do you have access to the files? It has to be configured properly. By default worlds are not hardcore.
I doubt that you have access to the server files, so I guess I'll add console commands for modifying config.yml to the next release.
How can I add use the commands through the server? I don't have access to the Console since its hosted through DevilDogs Hosting.
Also, I'm a bit confused, Is there a way to set the world that everyone has 1 life? And when they die they have to wait lets say 3 days?
@Synth6983
I removed name case dependence, added modlives command, and fixed the console errors that I could reproduce. It seems to be working for me, but I still need people to see if they get any bugs I could not find.
One possible error, server-ban messages might display the incorrect time. Maybe
@Synth6983
The add lives feature has been recently suggested. I will add it in the next release. I can probably make names un-case sensitive if the player is online, but if the player is offline, names can be a bit tricky. I'll see what I can do about it, but no promises. I can verify the error only when I type in "hcw serverlives <offline_player's_name> <#>" Since I can replicate the error, I can fix it. However, the error with the "null" I cannot seem to replicate. The things I mentioned will be fixed next release. If you can help me replicate the error outputting "null" into the console, I'll also fix it.
Got it working. Setting up permissions when your exhausted is a bad idea.
Can you implement a "Add Lives" Command? So people that donate can get more lives instead of me having to check how many lives they have then doing the math and setting their lives?
Also, I get an error if I try to do any command from the console. I could not unban or set lives of a player in the server console. But I was able to do so in game. This is a problem because if a player Donates Buycraft uses Server Console Commands to give out items or lives.
Here is the Error: http://pastebin.com/ixWARwbe
Here is me trying to give my self a life on the HC World. After I died, via the console: http://pastebin.com/z5hcHRqX
It seems to me that the error has something to do with the player being offline. Which is a major issue. Since if they die they are banned. If they would then go and donate. They would not be able to recieve the lives they just purchased because they would be offline.
Also your plugin is Case Sensitive when it comes to names. Can you please make it so that the names of players are not case sensitive?
@Synth6983
From my experience, there will be great difficulties with server banning unless you use PermissionsEX with the 15KB permissions.yml that comes packaged in the plugin. It is possible to work without these, as someone did something with SuperpermsBridge v1.2 to make it work, but it seems to me that permissions is your real problem here
@Synth6983 It works here, maybe you could give a pastebin of your entire permission file? Gotta ask the obvious question: When you are testing, you are in default group?
Tried in R3 and R4, doesnt work at all.
Config.yml: http://pastebin.com/nqUBMXfZ
Default group has the hcw.ban.world.world and hcw.ban.server
Upon player death, nothing happens. No other plugins loaded.
@w000rm
Haven't tried it. In theory it *should* be.
Is this already R5-compatible?
@Cayviel
That is closer. A pool of lives that is centralized but them deciding what world to use it on that they are currently banned from that can only be used if they are banned from said world. If it is really complex you don't need to waste time on it, I can survive without it lol.