LimitedLife icon

LimitedLife -----

Your life is bound by a timer! Can you survive the longest?



Welcome to LimitedLife!

LimitedLife is a new SMP series created by Grian, in which your life is bound by a timer. Compete with your friends and see who can survive the longest!

If you encounter any issues with this plugin, please create a discussion post so I can fix them.

Here are the rules:
- Each player is given 24 hours to survive, and at the end of the 24 hours they are killed
- Players names change colors. Starting out they are green, at 8 hours they turn yellow, at 16 they turn red
- Yellow players are allowed to kill green players, and red players are allowed to kill anyone
- If you die, you lose one hour of your life
- If you kill someone, you gain one hour of your life

So what does this plugin do?
- This plugin will automatically keep track of every player on the server and how long they've been alive for
- This plugin will change the color of players names as their time decreases
- This plugin will automatically kill players who run out of time
- This plugin will manage giving or removing time if a player is killed or kills
- This plugin is highly optimized, notably it does not use any persistent timers, and instead is based fully around predicting when the next event should occur to save system resources. If you're curious what I mean by that, check the source code, but this plugin should run well on any hardware or free server hosting websites.

What does this plugin NOT do (yet)?
- This does not have support for the boogeyman
- This plugin uses honor system for the rules on different colors attacking each other. This is because if a yellow player can attack a green player, the green player cannot attack back, meaning they can only try to run
- This plugin does not have a constantly updating scoreboard with time remaining

Commands:
Code (Text):
/time - Sends the player a message in chat with how much time is remaining
Plans:
- Configuration to change the colors, the amount of time between color changes, and the amount of time until death (and possibly more)
- Support for the boogeyman
- An option for a hotbar scoreboard that tells players how much time is remaining
- I'm also open to reviews or discussions with new feature requests, so feel free to leave your ideas there.

A note on save data
This plugin will store the data for the players in a file called "save.limls". This file is located at the root of the server. Modifying or removing this will corrupt or delete the game save data (how long they've been alive for). Do not edit this unless you know what you're doing

If anyone is curious, here's an example save
Code (Text):
0
76a52e19-a9b9-36d8-b07b-76916deec32b,660377,false
0 - This is the save file version. DO NOT CHANGE THIS
76a52e19... - This is a player UUID
660377 - This is the amount of time in milliseconds they have been alive for
false - This is whether or not the player is fully dead and should be a spectator
Resource Information
Author:
----------
Total Downloads: 104
First Release: Mar 4, 2023
Last Update: Mar 4, 2023
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings