Another fun plugin. This one lets you breathe under water. And not breathe on land. Just like Nihachu in the Origins SMP.
This was a fun plugin a viewer requested. Almost the direct opposite of the
PlayerWaterDamage plugin I created
This plugin has a very simple config file setup which lets you set the UUID of the players that have this effect or even use a permissions plugin if you want
Config File
Code (YAML):
# AquaticPlayers
# Made by request
# This plugin is not recommended for public servers. it may cause issues
# Perfect for private roleplay servers however
#
# Coded by VisualCody
# Youtube https://www.youtube.com/c/VisualCody
# Twitter https://twitter.com/visual_cody
# Twitch https://twitch.tv/visualcody
# GitHub https://github.com/visual-cody
# SpigotMC https://www.spigotmc.org/members/visualcody.1184917/
## Use Permissions plugin
## Setting this to true will ignore the playermode and players UUID section below
## Instead it will allow players with the permission "aquaticplayers.use" or OP's
## This will make this plugin act like my older Enderman plugins in terms of setup
## You should use a permissions plugin ideally with this
## Default false
use_permissions
: false
## Blacklist/Whitelist mode
## If set to "whitelist" the list of players will be players who can use the plugin everyone else will not be able to
## If set to "blacklist" the list of players will be players who cant use the plugin. everyone else can use it
## This is useful if you want to use the plugin for a super hardcore mode and want every player to have access but deny admins
##
## Default "whitelist"
playermode
:
"whitelist"
## Players list
## Simply put the UUID of every player that should allowed/disallowed to breathe under water
## You can find your UUID on namemc.com
## Using a UUID ensures the effect remains even if a user changes their username
players
:
-
"df46122f-edc6-40aa-a666-f5859cd5185d"
## Can survive in rain
## Should a player be able to survive in rain?
## Default true
can_survive_in_rain
: true
## Custom death messages
## With this enabled the death messages in chat will announce if a player died because of water damage
## This can be turned off if you have another plugin doing death messages
## Default true
death_message
: true
## Limit to worlds
## If this is set then the plugin will only have effect in specific worlds. Ideal if you have a Multiverse setup
## If set to null it will work in all worlds
## Example config
## worlds:
## - "world1"
## - "world2"
## Default: null
worlds
: null
Demo