LifeMC
Ever wanted to implement a life count system on your server?
Well, with LifeMC, now you can!
LifeMC allows you to implement a complex life system into Minecraft. Every new player will start out with a default amount of lives. When a player is out of lives, he or she will be banned until that player regains a life. Players can pay eachother in lives.
- Find an issue? Have a feature to request? Submit a ticket!
- Want to try it out? Download!
- Want to look at the source? Check out github!
- Like this plugin? Check out my other projects!
WARNING: Do not edit the data files while the server is running, instead edit or check lives using commands. Use at least Java 6.
NOTE: You can find the changelog under the Changelog page (under Pages tab) or when you click the file name (under Files tab)
Permissions:
- - lifemc.lives.give Allows a player to transfer their own lives to another player.
- - lifemc.lives.gain Allows a player to eat items to regain lives.
- - lifemc.lives.check Allows a player to check their amount of lives.
- - lifemc.lives.check.other Allows a player to check the amount of lives someone else has.
- - lifemc.lives.set Allows a player to set the amount of lives a player has.
- - lifemc.lives.add Allows a player to add to the amount of lives a player has.
- - lifemc.lives.remove Allows a player to remove from amount of lives a player has.
- - lifemc.lives.buy Allows a player to buy new lives.
- - lifemc.lives.lose A player with this permission will lose a life when he/she dies.
Commands:
You can view a list of commands by doing /lifemc help <number>!
Dependencies:
- Vault is necessary to run LifeMC!
Fun features!
Features |
---|
Hardcore your server up with ban upon running out of lives. |
Life storing using text documents in a directory in the plugins folder. |
Revive your friends! |
Eat items to gain lives |
Customize the plugin with a config file and permission support! |
Players can buy new lives with ingame currency. |
Players can help eachother out with gifting lives. |
Support for Minecraft 1.8: LifeMC uses UUIDs so it's futureproof. |
Upcoming features
Todo | Planned release date: TBA |
---|---|
Complete code reformat. | Completed: Yes |
Make it so that not ALL commands are unusable by the console | Completed: Yes |
Add life giving command. (/lives give [player] [amount])(This will replace revive but there will still be a config for reviving to decide whether you can give to dead players or not) | Completed: Yes |
Add spout exclusive GUI feature that displays your lives. | Completed: No |
Add command that shows all commands. (/lifemc help) | Completed: Yes |
Add config for displaying lives in scoreboard or not. | Completed: No |
Add config to gain life upon killing another player or not. | Completed: No |
Add several economic plugin supports for life buying. | Completed: Yes |
Add config for temp ban or not. | Completed: No |
Add permission to not lose items on death (if not out of lives). | Completed: No |
Add config to choose which item you can eat to gain lives. | Completed: Yes |
Add multiverse support. | Completed: No |
Add a sort of LifeItem eating safeguard.(Example: shift+RMB) | Completed: Yes |
Add particle effect and/or sound when someone eats a LifeItem | Completed: No |
There will be more added throughout the development of the update
When add tempban? This is important! I and others need options this plugin
"Add config for temp ban or not. Completed: No"
Is it possible to show a player's lives in their prefix using PEX?
Do you know when multiverse support will be introduced?
A great lives plugin!
Is there any hopes of getting an update that fixes incompatibility with Random Spawn plugin? Asking because Random Spawn seems to be not developed anymore and this plugin still has active manager, BlueMond.
Problem is that RandomSpawn teleports the player even when the player was supposed to be removed from the server due to no lives left. For some strange reason, player still has 1 life left when checking but if he disconnects and tries to return, he is not able to anymore.
EDIT: Nevermind. I checked both plugins and fixed the incompatibility issue myself. Random Spawn plugin prevented kicking out after teleporting and that was the problem.
TEMP BAN
@u7uu7u7
Tempbans only please!!!
please add tempban option!! thanks :3
@DrkMatr1984
Yeah, sure! I'll add an official API so that you can use the data handler ;)
@Staartvin
Hey guys, Awesome plugin! I was considering creating a scoreboard plugin that shows your lives from this plugin in the scoreboard. Do you think you could alias and give static access to a few of the methods, specifically getLives(), from this class in the source? That way it would be like an API almost for other people to make plugins based on yours, such as my scoreboard idea, or plugins featuring BarAPI, for example. Or heck, I may fork it and add in an API for you guys and submit a pull request if you guys are interested.
Thanks!
@Maxwellpunt
@Maxwellpunt
I won't add these features, sorry. They are too specific, and most people don't want such options.
And can you make a custom max lifes, whit permissions.
can you make that the player get every mc day a life. and if a player die that the loze 2 life's. and can you add a future that a slot of the players inventory are locket whit the quantity of items that they has lives.
@Staartvin
Online. Tested both locally and a hosted server, both do the same.
I have actually moved to 1.7 and do not have the issues, but still wanted you to know that it does exist for 1.6.
@xajar
In what mode are you running your server? Online or offline mode?
I found a mistake is lifemc.lives.give if you add yourself life's they add (Form Adrain12 has 3 lives and how we give them Adrian12 it has 4 life) version LifeMC v2.0
I cannot get it to work with mcpc-plus-1.6.4-R2.1-forge965-B251
I have tried it in 1.7 version and it works great, but not the 1.6 version. Doesn't matter what settings I have it at in the configs, or what permissions I assign it doesn't allow me to reconnect to the server, regardless if I die or just disconnect.
Update:
I delete LifeMC folder, start server, connect. Look at the data.yml and it shows:
accounts:
f0a7098e-0ab4-232f-bbf0-afe6ca5e3655:
lives: 3
name: Xajar
I jump off a cliff and die, it disconnects me with "You ran out of lives..." message. The data.yml file now shows:
accounts:
f0a7098e-0ab4-232f-bbf0-afe6ca5e3655:
lives: 3
name: Xajar
ce2bbbee-6ac1-6b1a-ccde-c38a70c2c987:
lives: 0
name: Xajar
I have tried to delete the first one and change the value of the second, but it does not let me back on. Restarting the server, it shows the same thing in the data.yml. I do a "lifemc add Xajar 10" from the console and it updates the data.yml file to:
accounts:
f0a7098e-0ab4-232f-bbf0-afe6ca5e3655:
lives: 13
name: Xajar
ce2bbbee-6ac1-6b1a-ccde-c38a70c2c987:
lives: 0
name: Xajar
So inside it clearly thinks I am F0a7098e, but when i connect it thinks i am c32bbbee, however changing the values manually (even after a restart) will not let me join the server.
I hope I gave you enough information, otherwise hit me up. LOVE this plugin, it would just be nice to get it working in 1.6 mcpc until more mods are released for 1.7.
please add tempban option!! thanks :)
@shreddedglass That option has not yet been implemented.
I cannot find the option to make the penalty "tempban"
help?
UPDATE
After a long time, a new update will be out soon. It is a total rewrite of the last LifeMC, and will perform much better.
The download will be available on Bukkit soon!