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.
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.
