
Life Skins
Активный0.0
Установок
Последнее обновление
Версии
Life Skins
A fully server-side mod for changing player skins depending on the life amount without needing to restart Minecraft! Requires the Life Series mod for lives tracking! Also requires Fabric Tailor to run properly (Hoping to make it optional in a future update)
How to use
It's quite simple, really! Your skin will automatically update whenever your amount of lives changes, whether by death, commands, automatic assignment, you name it! It requires a bit of setting up though, how to do that is described below!
/lifeskins reloadskin
or /skin reload
will manually set your skin to the one corresponding to your life amount if automatic reload failed
/lifeskins info
will show setup instructions for skins
/lifeskins skins
will show the skins the mod recognises! Great for checking if everything is set up correctly!
How to set up
In the config folder create a folder called "lifeskins", then in it create another, with your username as its name.
Put your skins inside, and name them after the minimum amount of lives needed for the skin to activate
For example if your username is AtlasTheDummy and you want a skin for when you have one life left, it would be located at /config/lifeskins/AtlasTheDummy/1.png
Automatically the skins are assigned the classic model, if you want the slim one, create a file called "skins.json" in your skin folder and put the following text inside: { "slim": true }
Skins can be changed at runtime and don't require a server restart.
Advanced
"skins.json" has more settings than just if it should use the slim model. This section assumes you already know how to work with json files. Instead of renaming your skins, you can initialise them in the file. To do that, create a skins
array. Every object in the array represents a skin and has the following three fields:
name
- the name of the file you want to use for the skin, for example skin.png
.
lives
- the minimum amount of lives you need to have for the skin to activate, for example 4
slim
- whether the slim model should be used. overrides the global field from the file
Keep in mind, having skins in the skins
array stops the game from automatically searching for files.
I might add more functionality to skins.json later if I feel like it
Extra info
I plan to mainly release versions I myself am going to play on, so I will most likely skip a few. If there's a particular version you'd like me to release a version of the mod for, feel free to contact me either on Discord(my username is dianacraft) or by creating an issue on GitHub, and I'll get that done for you!