This is a discussion topic for the Ore project, GameSpleef. View the full project on Ore for downloads and more information.
GameSpleef
This spleef plugins provides the ability to add multiple floors, detection of campers, keeps tracks who knocked who out.
Setup
To setup a arena use /spleef admin and click on create new.
Note: To add a floor go stand at one side on the floor and on the other side the block below the floor
After setup click save, it should now be added.
Lobby is the place where you spawn when you die or leave
Spawn is the place you go to when entering the game
To change the rewards the winner gets you will need to edit the gamespleef.conf if you edit it don’t forget to reload or restart your server (you can use /sponge plugins reload gamespleef)
A new version has been released for GameSpleef, it is available for download here.
Update:
Before updating delete your current config
Added config options:
saveInv: experimental inventory save option (inventory will get saved when a player joins the game and will get stuff back when leaving) probably doesn’t work on modded
I added the localization to your plugin. Now anyone can create their own localization without changing the plugin code. If you have any questions about the changes that I made, I am ready to answer them.
Here is a link to the source code, also there is already a compiled plugin GitHub - Mr-Krab/GameSpleef: SpongePowered Spleef minigame.
Also, I must say that the plugin configuration is now saved along the path */config/pluginID/config.conf
I tested the plugin after adding the functionality and found no problems. You might not like something in the code I wrote. You can change anything in it.
When trying to make my first arena and clicking save, I keep getting an error message of:
Error occurred while executing command: The box is degenerate on Y
I followed instructions in the youtube video, but no luck. Any suggestions?
Hey could you please make the hunger restore optional?
Or only during the Spleef Game? Else the player can restore his hunger by joining the arena and leaving again.
This error is caused when your floor or area is not sized properly you need at least 1 block of Y-offset.
I’ve made some changes in release 1.5 that fixes this issue. Best thing to do is delete the config and make the arenas again.
Release 1.5 isn’t on Ore yet (I have to wait 3 days to make uploads again) you can however find the release on GitHub.
@Balgros in release 1.5 hunger, food and potion effects will only get applied when the game starts.
Release 1.5 isn’t on Ore yet (I have to wait 3 days to make uploads) you can find the release on GitHub