Hot Summer Deals are Here!
Celebrate with up to 99% off on 17,100 resources
03
Days
11
Hours
27
Mins
02
Secs

"Oxygen Counter"

Status
This thread has been locked.

taber

CraftCadia Owner
Supreme
Feedback score
1
Posts
63
Reactions
5
Resources
0
Hey MCM,

I am making a custom game mode, and I need a plugin that does this:

If a player is above level 67 (for example (ON THE Y AXIS)), they would lose 1 oxygen every one second. I was originally thinking having a Boss Bar oxygen counter, but that is for all players. Either the XP bar or the action bar would work. I was thinking having something like Mineplex before a game starts, with the green and red little bars (the | symbol I believe) and every one second they would lose 1 oxygen. There is a maximum 10 oxygen and once they reach 0 oxygen, they start losing 1/2 a heart every second. Once the player gets back underground they start to regain 1/2 an oxygen thing every 2 seconds. If anyone is up to this challenge, add me on discord:

Sam Taber#2019

Also, I have tried programming this into the core plugin. I am using BukkitRunnable and every 20 ticks it should remove XP but it doesn't seem to work. If anyone is willing to help me out that would be great too.
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Galsk

Plugin Developer or something idk
Premium
Feedback score
1
Posts
123
Reactions
14
Resources
0
Yeah sure I can do this! Add me on discord, Technonerd12#2978
 
Status
This thread has been locked.
Top