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 :)
@falsevacuum
err, why not. Here you go - https://github.com/Cayviel/Hard-Core-Worlds/
@pyropyro78
Another easy fix. Check v1.1.2.3
@falsevacuum
Ah, I put it on git now, I'll link it to the this repository page now.
@Cayviel
It works with one error. The bans file is displayed properly however when a player tries to log back in it says they have 0 more hours left on their ban. any ideas?
thank you for that update, it is just what i was looking for. =)
@Cayviel Where's the source for this plugin?
@pyropyro78
There. That update (1.1.2) should address your issue. For some reason adding that feature didn't occur to me before, I just set it to default to permanent. It was really easy to fix, all I had to do was add an option to the config file, and half a line of code to the death-serverban-handler and voila! Temporary server bans at death for your pleasure!
(That is, if it works... I didn't test it O.O I should have tested it, but nah... it should work, let me know)
Make sure you add
Server:
to your config.yml as shown in the updated "config.yml" explanation page. Good luck hope it works!
I have users with the hcw.ban.world.* permission and it will server ban them like we want but it perm bans them, i want them only to be banned for 24 hours. I have tried to change it to hcw.ban.world.world and then they do not seem to get banned at all. any solutions to this?
# 'Ban Duration:' is in real hours. '-1' or a value less than zero indicates a permanent ban for said world.
Op Commands: true
Worlds:
world:
Hardcore: true
Ban Duration: 24
Mob Difficulty: Hard
world_nether:
Hardcore: true
Ban Duration: 24
Mob Difficulty: Hard
world_the_end:
Hardcore: true
Ban Duration: 24
Mob Difficulty: Hard
Let's move this discussion to its ticket to save space here. http://dev.bukkit.org/server-mods/hard-core-worlds/tickets/4-another-server-ban-conflict/#comments
Scratch that. No banning works with the latest essentials.
Problem is that: Banning seems to work. But after about 5-10 minutes permbanned people can log in again
I doubt so.. Just /tempban that doesnt work. /ban works fine
@oleerik
Really!?!? How odd. I'll make a ticket for this. It shouldn't have happened though, I'm using essentials, and tried /ban <myname> and It couldn't login. Perhaps if you are server-banned by both my mod, and essentials then there may be a conflict. Is that what happened?
Err. Seems like it messes up essentials timed bans tho.. ^.^
Seems prefect now. No more complaints from my point of view.
Cayviel, where can we donate?
@AvariceSyn
But they haven't actually lost their items and build, since that stuff will still be there when their ban is up (unless there's been a world reset, but resetting the world will unfairly punish players who haven't died, and shouldn't lose their stuff).
Maybe some combination of the two ideas... once the ban is up, they're spawned far away from their home point and death location?
Is anybody else having the same problem as Hampi90?
I have created tickets for these issues, please direct future statements related to these issues to the appropriate ticket,
If you have future other issues, feel free to create a ticket yourself, if you can.
@Hampi90
I may seem nitpicking, but it helps me if I have as much info as possible, can you give me an example of exactly something that you typed in to the console, and a command attempted via the player chat?
@Cayviel
Nope I didn't see any reaction to the command at all in the console which is strange.
@Hampi90
Does the console give you the same error message?
@Cayviel
Well I am server admin to and have the '*' permissions that I can guarantee. But it still won't let me use any of the commands, I even tried to issue them through the console but no luck there either.
Thanks for replying!
But is there anything I can do to make it so that you only die in the hardcore world because of lack of food? I have a hardcore survival and a normal survival where we don't want to die because of hunger.
Good morning world!
@oleerik I'm sure there is a way, I'll get started on that.
@Hampi90
You may be op on your server, but it sounds like you forgot to give yourself either the permission hcw.ban.commands or '*'. I didn't care about "op" status when making this plugin, though maybe I should. It wouldn't be that hard to include. That error is supposed to throw only if all of these conditions are met. They are checked in this order:
Well I'm OP on my server and can't seem to use the commands for this plugin, I got the latest version. The plugin doesn't throw any error message in the console just says in my chat "You don't have permissions for that command".
Oh and a suggestion more if possible is if you can make so the hunger and mobs damage is limited to a world which has hardcore: true
Right now my players can die of hunger in all worlds not just the hardcore world as it was supposed to.
Hope you can help me! :)