A hunger games plugin for Cuberite.
You are able to create multiple different arenas in different worlds. People can join those arenas and battle each other.
The players search for chests where they can find loot. They need it so for survival. Eventualy only one player is left and he'll be the winner.
Setting up an arena
Assuming the server owner/admin already has a map.
1) Create the arena
To create an arena you use "/hg create [ArenaName]".
The coordinates where you stand will be the coordinates for the lobby. When a player joins or dies in an arena he will be teleported there.
2) Setting the bounding box
Then you need to set the bounding box of the arena.
All the chests within this bounding box will be refilled once the arena starts so it is needed. You set it using "/hg bb (point|1,2)".
So basicly point 1 is on one side of the arena and point 2 on the opposite.
3) Adding spawnpoints
Then you have to add spawnpoints. You add them by using "/hg add"
When an arena starts all the players will be sent to a different spawnpoint.
And there you have it. Your own HungerGames arena.
Configuring HungerGames
First open the "Config.cfg" file.
I think the variables CountDownTime, NoDamageTime, PreventMonsterSpawn and PreventAnimalSpawn speak for themselves, but just to be sure:
CountDownTime: The time a player can't move and do anything when an arena starts.
NoDamageTime: The amount of time a player can't take any damage from another player
ArenaStartCountdown: The countdown time an arena has before starting. The arena automaticly starts if all the spawnpoints are full.
PreventMonsterSpawn: If set to true then monsters (zombies, skeletons creepers etc) can't spawn inside the bounding box of an arena.
PreventAnimalSpawn: Same as PreventMonsterSpawn but then for animals (pigs, cows, chicken etc).
The hardest part is configuring the loot what a chest can have, but once you know it it's really easy.
To add an item to the list of available loot you go to ChestContent and add this behind it:
ItemType: The itemid you want to have for example 267 for a diamond sword.
ItemMeta: The meta you want to give the item.
Enchantment: You don't have to put this in, but if you want an enchantment you simply give the name of the enchantment with an equal symbol and the level. For example: "sharpness=2" If you want multiple enchantments you use a ";" between the enchantments.
Chance: This is important. -- IF this item gets chosen then the server chooses a random number between 1 and the given number and if it's 1 this item gets put in the chest. The problem with this is the more items you have available the less chance this item gets chosen.
Also don't forget the comma. You have to place them at the exact spot as where they are in this example.
Commands
General
Permissions
Download: Link
You are able to create multiple different arenas in different worlds. People can join those arenas and battle each other.
The players search for chests where they can find loot. They need it so for survival. Eventualy only one player is left and he'll be the winner.
Setting up an arena
Assuming the server owner/admin already has a map.
1) Create the arena
To create an arena you use "/hg create [ArenaName]".
The coordinates where you stand will be the coordinates for the lobby. When a player joins or dies in an arena he will be teleported there.
2) Setting the bounding box
Then you need to set the bounding box of the arena.
All the chests within this bounding box will be refilled once the arena starts so it is needed. You set it using "/hg bb (point|1,2)".
So basicly point 1 is on one side of the arena and point 2 on the opposite.
3) Adding spawnpoints
Then you have to add spawnpoints. You add them by using "/hg add"
When an arena starts all the players will be sent to a different spawnpoint.
And there you have it. Your own HungerGames arena.
Configuring HungerGames
First open the "Config.cfg" file.
I think the variables CountDownTime, NoDamageTime, PreventMonsterSpawn and PreventAnimalSpawn speak for themselves, but just to be sure:
CountDownTime: The time a player can't move and do anything when an arena starts.
NoDamageTime: The amount of time a player can't take any damage from another player
ArenaStartCountdown: The countdown time an arena has before starting. The arena automaticly starts if all the spawnpoints are full.
PreventMonsterSpawn: If set to true then monsters (zombies, skeletons creepers etc) can't spawn inside the bounding box of an arena.
PreventAnimalSpawn: Same as PreventMonsterSpawn but then for animals (pigs, cows, chicken etc).
The hardest part is configuring the loot what a chest can have, but once you know it it's really easy.
To add an item to the list of available loot you go to ChestContent and add this behind it:
{ ItemType = ItemID, ItemMeta = ItemMeta, Chance = Chance, Enchantment = "enchantmentname", },
ItemType: The itemid you want to have for example 267 for a diamond sword.
ItemMeta: The meta you want to give the item.
Enchantment: You don't have to put this in, but if you want an enchantment you simply give the name of the enchantment with an equal symbol and the level. For example: "sharpness=2" If you want multiple enchantments you use a ";" between the enchantments.
Chance: This is important. -- IF this item gets chosen then the server chooses a random number between 1 and the given number and if it's 1 this item gets put in the chest. The problem with this is the more items you have available the less chance this item gets chosen.
Also don't forget the comma. You have to place them at the exact spot as where they are in this example.
Commands
General
- /hg add - Adds a spawnpoint for the selected arena.
Permission required: hungergames.add
/hg create - Creates an new arena.
Permission required: hungergames.create
The following parameter combinations are recognized:
/hg create ArenaName - The name of the arena you would like to create.
/hg join - Join an arena
Permission required: hungergames.join
The following parameter combinations are recognized:
/hg join ArenaName - The name of the arena.
/hg leave - Leave an arena
Permission required: hungergames.leave
/hg select - Used to select an arena. In the selected arena you can add spawnpoints.
Permission required: hungergames.select
The following parameter combinations are recognized:
/hg select ArenaName - The name of the arena you would like to select.
/hg setboundingbox - Sets the size of the arena. All the chests inside will be filled.
Permission required: hungergames.setsize
The following parameter combinations are recognized:
/hg setboundingbox 1 - Set point 1
/hg setboundingbox 2 - Set point 2
Permissions
- - hungergames.add -
- Commands affected:
- /hg add
- Commands affected:
- /hg create
- Commands affected:
- /hg join
- Commands affected:
- /hg leave
- Commands affected:
- /hg select
- Commands affected:
- /hg setboundingbox
- Commands affected:
Download: Link