
This plugin enhances your gaming experience and provides you with a unique survival mode that will test your limits.
Multi-World Suggestion
Please, make sure to open config.yml and set `enabled-worlds` the worlds you want the plugin to be enabled.
Your server has to be closed when adding new worlds.
Client Side Features
- Auto Configuration System Update.
- Multi-World Support.
- Language Support.
- Development API
Commands
- /Thirst - Shows your current thirst.
- /Thirst Reload - Reload all data related to config configuration files.
- /Thirst Refill - Sets your current thirst back to 100%
- /Thirst Refill <Player> - Sets a player current thirst back to 100%.
Permissions
- pt.thirst - Shows your current thirst.
- pt.help - Shows all available commands.
- pt.reload - Reload all data related to config configuration files.
- pt.refill - Sets your current thirst back to 100%
- pt.refill.others - Sets a player current thirst back to 100%.
- pt.* - Use all the permissions.
Development API
PlayerThirstLevelChangeEvent
This event activates when the player thirst changes.
You can use event.setCancelled(true) to cancel thirst consumption. Why cancel thirst consumption? because you might want to create your own method to cancel thirst consumption. For example, when a player has a custom Helmet, is flying or anything else you want to do.
But not only that, this event has methods that allow you to handle things better, such as:
- int - event.getThirst() - Get's player current thirst.
- bossbar - event.getBossBar() - Get's player thirst bossbar.
- boolean - event.isUnderSwimming() - Checks if the player is under swimming.
- boolean - event.notValidate() - Checks if the player is null, dead, creative mode, spectate mode.
This is an example of what i use:
@EventHandler
public void onLevel(PlayerThirstLevelChangeEvent event) {
if (event.isUnderSwimming(event.getPlayer()) || (event.notValidate(event.getPlayer()))) {
event.setCancelled(true);
}
}If you are wondering that you can't set your own warning messages because DeadSociety has already warnings from the configuration, this is not a problem, you can always set them to false and create your own with this custom event.
For any bug or feedback, please contact me or comment in the discussion section.
Premium Plugins
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta