Watch Your Lives
Watch Your Lives
Version: v1.1
The idea of this plugin was given by FaxionMC!
(Follow me on Twitter for updates!)
Watch Your Lives is funny little plugin that adds a challenge to your (roleplayer) server. Watch Your Lives introduces lives to Minecraft. You have a configurable amount of lives and every time you get killed by either a mob, a player or nature (configurable), you will lose a life. Once you reach 0 lives you are banned for a configurable amount of time. Your lives are reset when you are temporarily banned. You, as an admin, can setup multiple groups. Every group has it's own 'life amount'. This allows for complex systems where your donators get more lives than regular players do. Players can also steal lives from other players. This is configurable. Watch Your Lives uses a database built-in Bukkit. You don't have to change anything to get the database working.
Features:
- Uses SQLite database
- Multiple groups
- Supports permissions
- Simple commands
- Steal lives from players (configurable)
- Certain death causes don't count towards your lives (configurable)
Permissions:
- lives.view Allows a player to check their lives.
- lives.reset Alllows a player to reset someone's lives.
- lives.checkpermissions Allows a player to do a permissions check-up
- lives.unban Allows a player to unban a player
- lives.view.others Allows a player to check other players' lives.
Commands:
- /lives Shows you how many lives you have left.
- /lives reset <player> Resets the players lives to the amount of lives set in the config.
- /lives permissions check Update the records in the WYL table according to their permissions
- /lives unban <player> Unban a player
- /lives <player> Look up the lives of a player
Pictures:
Donations
I'm a poor student and I'm developing this plugin in my free-time, if you like my plugin and want to help me, please donate. Donating is the best way to help me out, it goes towards more bug-fixing. Thanks! Donate is in the top right corner. ;)
Donators
Thanks to all the people who donated and downloaded this plugin! I love you all! <3 Especially thanks to my donators who gave me that little boost:
- No-one yet :(
@Wnarni
@daPoseidonGuy
Just because it says its for an older version, doesn't mean it wont work on current versions.
Please update to 1.7.x
update plz
@uSoc_lifehome
I can start working on MySQL integration. I'm not sure what you mean by 'hardcore death screen', though. Could you explain?
I suggest that MySQL support would be fantastic for large/management-freak(like me) server.
PS: Is it possible to send a hardcore death screen when the count turns into zero?
@sawman9999
This works on the latest version of CraftBukkit.
Please Update, i would donate if this were to update
A question and a few suggestions:
Q: Will you be updating for 1.6.x?
S: Could you make it so that rather than banning the player, it teleports them to a specific location? (i.e. a Jail or starter area)
S: Could you set it so they lose all their perms/affiliations when they die?
The reason I ask this is because I want players to lose everything, including Faction membership, Horses, Bank Accounts, claimed chunks, PreciousStones, Skills, etc etc when they die, so that they have to start over like a fresh, new player. Except their rank if they are a donor.
@MCwolski
Okay.
sorry, I didn't notice v1.1's Change log. Just ignore my edit. :)
@MCwolski
I can add the command but I don't understand your edit. Please explain?
Good idea! :)
Add command or specified item for adding one player's life would be nice~
Edit: Unban player after several seconds automatically and tell banned players remaining time when they try to login in. Then reset life.
@magides
Haha, I hope you like it! :D
@Staartvin
Awesome! Can't wait to try it out :D
Edit: Thank you for your consideration of my ideas, and quick response.
@magides
I uploaded a new version which will be ready for download soon!
@magides
I'll add features such as deaths by mobs and natural causes as well as the toggling of stealing lives. When I made this plugin, I added the stealing function. I forgot about it when I created this page. Sorry for that.
The banning works with Essentials at the moment, but will soon be changed to only Bukkit commands so it works on every server.
Okay so I got it working: Correction: it's been working, just not as described.
Here's what the mod description above says: "You have a configurable amount of lives and every time you get killed by either a mob or player, you will lose a life." What I found was it only deducted a life when killed by a player - not a mob, nor suicide, nor natural causes (starvation, drowning, fire, etc) .
Also: this mod never describes the "stealing lives" function which was a surprise to me. Is it possible that you can update this to be a boolean type, and have it toggled on or off ?
Also: after being "vanquished" and having zero lives, nobody was banned, and their lives were reset back to the default. no kicks no bans. I'm thinking this is most likely due to the fact that I put the number 2880 for "Tempban minutes: " - because I want to ban them for 2 days.
Anyways. 2 stars out of 5 until I see improvements and better documentation
I understand all that, but for some reason, it's still not recognizing any "deaths" and subtracting from my total life pool. I, can assign different groups with different numbers, but no deductions.
Is this compatible with PermissionsEx? (that is what i'm using)
magides maybe I can help you, under the lives section, by default it looks like this
Ranks:
donator: 10
regular: 5
for this default setting you would just give the permission wyl.donator to your donator group and wyl.regular to the regular group.
if you wanted to customize it you could set it like this
Ranks:
group1: 1
group2: 5
group3: 10
with this setup you would give group1 the wyl.group1 permission, group 2 the wyl.group2 permission and group 3 the wyl.group3 permission.
This plugin basically creates a permission for any groupname that you list under the ranks section of the config, so as long as that group name is listed under Ranks: you would just add wyl.<groupname> to that group.
I'm having an extremely difficult time getting the permission / group settings working correctly. Which might explain why my deaths aren't being counted after checking on the status of my total /lives