HungerGames
#1
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 = 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
    - hungergames.create -
    • Commands affected:
      - /hg create
    - hungergames.join -
    • Commands affected:
      - /hg join
    - hungergames.leave -
    • Commands affected:
      - /hg leave
    - hungergames.select -
    • Commands affected:
      - /hg select
    - hungergames.setsize -
    • Commands affected:
      - /hg setboundingbox
Source: Link
Download: Link
Reply
Thanks given by:


Messages In This Thread
HungerGames - by NiLSPACE - 04-20-2014, 09:16 PM
RE: HungerGames - by xoft - 04-20-2014, 09:32 PM
RE: HungerGames - by NiLSPACE - 04-20-2014, 09:44 PM
RE: HungerGames - by pikachu784 - 04-21-2014, 03:56 AM
RE: HungerGames - by xoft - 04-21-2014, 04:23 AM
RE: HungerGames - by ThuGie - 04-21-2014, 06:07 AM
RE: HungerGames - by NiLSPACE - 04-21-2014, 06:15 AM
RE: HungerGames - by pikachu784 - 04-21-2014, 10:01 AM
RE: HungerGames - by LO1ZB - 04-21-2014, 08:21 PM
RE: HungerGames - by NiLSPACE - 04-21-2014, 08:29 PM
RE: HungerGames - by LO1ZB - 04-21-2014, 08:53 PM
RE: HungerGames - by NiLSPACE - 04-22-2014, 12:29 AM
RE: HungerGames - by pikachu784 - 04-22-2014, 05:51 AM
RE: HungerGames - by NiLSPACE - 04-22-2014, 06:10 AM
RE: HungerGames - by pikachu784 - 04-22-2014, 07:20 AM
RE: HungerGames - by NiLSPACE - 04-22-2014, 11:42 PM
RE: HungerGames - by pikachu784 - 04-23-2014, 03:31 AM
RE: HungerGames - by NiLSPACE - 04-23-2014, 03:32 AM
RE: HungerGames - by pikachu784 - 04-23-2014, 04:11 AM
RE: HungerGames - by pikachu784 - 04-23-2014, 04:29 AM
RE: HungerGames - by tonibm19 - 04-23-2014, 06:10 PM
RE: HungerGames - by pikachu784 - 04-24-2014, 02:29 AM
RE: HungerGames - by pikachu784 - 04-23-2014, 05:47 AM
RE: HungerGames - by NiLSPACE - 04-23-2014, 05:51 AM
RE: HungerGames - by tigerw - 04-24-2014, 03:36 AM
RE: HungerGames - by xoft - 04-24-2014, 06:07 AM
RE: HungerGames - by pikachu784 - 04-24-2014, 09:08 AM
RE: HungerGames - by pikachu784 - 04-26-2014, 11:07 AM
RE: HungerGames - by xoft - 04-26-2014, 04:43 PM
RE: HungerGames - by NiLSPACE - 04-27-2014, 01:35 AM
RE: HungerGames - by pikachu784 - 04-28-2014, 08:23 AM
RE: HungerGames - by NiLSPACE - 05-10-2014, 09:05 PM
RE: HungerGames - by xoft - 05-11-2014, 01:53 AM
RE: HungerGames - by pikachu784 - 05-15-2014, 12:08 PM
RE: HungerGames - by tonibm19 - 05-16-2014, 04:47 AM
RE: HungerGames - by NiLSPACE - 05-16-2014, 04:51 AM
RE: HungerGames - by Suaarez - 06-29-2014, 12:19 AM
RE: HungerGames - by NiLSPACE - 06-29-2014, 12:20 AM
RE: HungerGames - by Suaarez - 06-29-2014, 12:22 AM
RE: HungerGames - by NiLSPACE - 06-29-2014, 12:24 AM
RE: HungerGames - by Suaarez - 06-29-2014, 12:29 AM
RE: HungerGames - by NiLSPACE - 06-29-2014, 12:30 AM
RE: HungerGames - by Suaarez - 06-29-2014, 12:35 AM
RE: HungerGames - by NiLSPACE - 06-29-2014, 12:36 AM
RE: HungerGames - by Suaarez - 06-29-2014, 12:39 AM
RE: HungerGames - by NiLSPACE - 06-29-2014, 12:41 AM
RE: HungerGames - by Suaarez - 06-29-2014, 12:44 AM
RE: HungerGames - by NiLSPACE - 06-29-2014, 01:17 AM
RE: HungerGames - by Suaarez - 06-29-2014, 01:21 AM
RE: HungerGames - by Suaarez - 06-29-2014, 02:13 AM
RE: HungerGames - by NiLSPACE - 06-29-2014, 03:15 AM
RE: HungerGames - by Suaarez - 06-29-2014, 05:47 AM
RE: HungerGames - by NiLSPACE - 06-29-2014, 05:58 AM
RE: HungerGames - by Suaarez - 06-30-2014, 01:52 AM
RE: HungerGames - by NiLSPACE - 06-30-2014, 02:42 AM
RE: HungerGames - by Suaarez - 06-30-2014, 07:42 AM
RE: HungerGames - by tonibm19 - 06-30-2014, 08:01 AM
RE: HungerGames - by Suaarez - 06-30-2014, 08:12 AM
RE: HungerGames - by tonibm19 - 06-30-2014, 08:19 AM
RE: HungerGames - by semaj678 - 09-23-2014, 03:13 AM
RE: HungerGames - by NiLSPACE - 09-23-2014, 04:06 AM
RE: HungerGames - by rafflok - 11-30-2014, 05:44 AM
RE: HungerGames - by NiLSPACE - 11-30-2014, 05:49 AM
RE: HungerGames - by rafflok - 11-30-2014, 08:40 PM
RE: HungerGames - by NiLSPACE - 11-30-2014, 08:43 PM
RE: HungerGames - by rafflok - 12-01-2014, 01:53 AM
RE: HungerGames - by NiLSPACE - 12-01-2014, 02:18 AM
RE: HungerGames - by donvdp - 12-01-2014, 07:41 AM
RE: HungerGames - by rafflok - 12-03-2014, 05:34 AM
RE: HungerGames - by NiLSPACE - 12-03-2014, 05:44 AM
RE: HungerGames - by LO1ZB - 12-03-2014, 08:40 AM
RE: HungerGames - by rafflok - 12-04-2014, 05:49 AM
RE: HungerGames - by NiLSPACE - 12-04-2014, 05:53 AM
RE: HungerGames - by rafflok - 12-05-2014, 05:57 AM
RE: HungerGames - by Howaner - 12-05-2014, 07:33 AM
RE: HungerGames - by LO1ZB - 12-05-2014, 10:08 AM
RE: HungerGames - by rafflok - 12-06-2014, 12:55 AM
RE: HungerGames - by pikachu784 - 02-19-2015, 04:49 AM
RE: HungerGames - by NiLSPACE - 02-19-2015, 06:04 AM
RE: HungerGames - by pikachu784 - 02-19-2015, 08:08 AM
RE: HungerGames - by NiLSPACE - 02-19-2015, 05:23 PM
RE: HungerGames - by pikachu784 - 02-19-2015, 05:48 PM
RE: HungerGames - by pikachu784 - 02-21-2015, 04:08 PM
RE: HungerGames - by tonibm19 - 02-21-2015, 07:07 PM
RE: HungerGames - by Pelle - 12-27-2015, 10:57 PM
RE: HungerGames - by NiLSPACE - 12-27-2015, 11:37 PM
RE: HungerGames - by Pelle - 12-31-2015, 02:30 AM
RE: HungerGames - by Pelle - 12-31-2015, 11:31 PM
RE: HungerGames - by Pelle - 01-09-2016, 05:58 AM
RE: HungerGames - by NiLSPACE - 01-09-2016, 09:24 AM
RE: HungerGames - by Pelle - 01-10-2016, 01:38 AM
RE: HungerGames - by NiLSPACE - 01-12-2016, 07:13 PM
RE: HungerGames - by Pelle - 01-30-2016, 04:58 PM
RE: HungerGames - by Pelle - 02-02-2016, 12:59 AM



Users browsing this thread: 23 Guest(s)