Configuration
Configuration
How to correctly configure item based options!
- the "enchant:" node allows for enchantments
- the "name:" node allows for a name (Supports color codes!!)
- the "lore:" node allows for a item description (Supports color codes!!)
- the "color:" node allows for colored leather
Example:
- 300 1 enchant:SMITE:5 name:dumb_sword lore:some_bad_sword_i_found?
- ID amount node:bla
Please note! "_" stands for a space! using space will mess up your kit!
Super-simple program to get the correct values! http://www.2shared.com/file/_wStnz1s/KitEditor.html
General Configuration
(To get player-ratio: (current-players X 10) Divided-by max-players)
(To get vote-ratio: (current-votes X 10) Divided-by current-players)
general: forcekit: bowman #If the player doesn't pick a kit in time reward: 500 #(Need vault!) Money for winning max-chestcontent: 5 #Max items allowed in a single chest free-run: 30 #How many seconds until PVP is enabled player-ratio: 6 #Player vote ratio to start the game vote-ratio: 7 #Voting ratio to start the game tracker-recharge: 10 #Time in seconds for the player tracker to recharge ratio-for-tracker: 3 #Player alive ratio for the player tracker stick deathkick: false #Should the player be kicked from the arena when they die? block-editing: allow-edits: true #Should blocks be breakable/placeable? rollback: true #Should the plugin rollback the arena when the game ends? editable-blocks: #What blocks should be breakable/placeable? - 2 - 5 - 4 - 24 - 35
Kit Configuration
kits: bowman: #Name helmet: 298 color:red enchant:SMITE:2 name:(Color is ONLY for leather!) chestplate: 307 enchant:PROTECTION_PROJECTILE:1 leggings: 300 boots: 309 enchant:PROTECTION_PROJECTILE:3 items: - 261 1 - 262 64 - 373:8229 2 #ItemID + ItemData + quantity potion-effects: - SLOW.1.forever - FIRE_RESISTANCE.2.100 # Forever = forever, or you can put an integer
Random Items Configuration
#If the chance is x3, that means it has 3x more likely-hood of appearing inside a chest! items: - 272 1 x:5 #Item ID + quantity + chace - 283 1 - 282 1 x:2 - 291 1 name:stupid_stuff - 298 1 x:2
Nodes
Please use /hg kithelp to display all possible nodes!
Hey this config does not show how to configure the permissions, i tried putting the name of one of my rank but it doesnt work, help will be appreciated
@joshp97
I wouldn't use the actual name of the rank.. Something like this would be good:
vip.kit
i dont get the vote and player ratio. pls explain?
Misspelled chance
derp
hello, I make a change in the kits, I create new kits, but when I run the server the plugin don't work.
here is the config.yml file, please help me :)
#To few a list of potions/enchants/
general:
forcekit: bowman
reward: 500
max-chestcontent: 5
free-run: 30
player-ratio: 6
vote-ratio: 7
tracker-recharge: 10
ratio-for-tracker: 2
deathkick: false
block-editing:
allow-edits: false
rollback: false
editable-blocks:
- 2
- 5
- 4
- 24
- 35
- 43
- 43
- 98
- 102
- 125
kits:
bowman:
permission: none
helmet: 298 color:red
chestplate: 299 color:red
leggings: 300 color:red
boots: 301 color:red
items:
- 261 1 name:&2Lucky_Bow
- 262 64
- 373:8229 2
potion-effects:
survivor:
permission: none
helmet: 18
chestplate: 299 color:green
leggings: 300 color.green
boots: 0
items:
- 272 1
- 297 4
- 373:8229 2
potion-effects:
pro:
permission: none
helmet: 0
chestplate: 0
leggings: 0
boots: 0
items:
- 267 1
- 297 4
- 373:8229 2
potion-effects:
ninja:
permission: none
helmet: 0
chestplate: 299 color:black name:&7Ninja-ChestPlate lore:&6Ninja-Stealth-Suit:&4------------- enchant:PROTECTION_FIRE
leggings: 300 color:black
boots: 301 color:black enchant:PROTECTION_FALL
items:
- 373:8229 2 name:&bSuper-healing
potion-effects:
- SPEED.1.forever
stupidclass:
permission: hg.vip
helmet: 0
chestplate: 0
leggings: 0
boots: 0
items:
- 267 1 enchant:SHARPNESS:2 enchant:DAMAGE_UNDEAD:2 name:&6OP_sword?
- 297 4
- 373:8229 2
potion-effects:
- FIRE_RESISTANCE.2.forever
lanza:
permission: none
hemlet: 0
chestplate: 0
leggings: 0
boots: 0
items:
- 276 1
potion-effects:
robinhood:
permission: none
hemlet: 298 color:green
chestplate: 0
leggings: 0
boots: 0
items:
- 268 1
- 261 1
- 262 15
potion-effects:
caballero:
permission: none
hemlet: 0
chestplate: 307
leggings: 0
boots: 0
items:
- 267 1
- 297 1
potion-effects:
bastardo:
permission: none
hemlet: 0
chestplate: 0
leggings: 0
boots: 0
items:
- 322 1
- 272 1
potion-effects:
arquero:
permission: none
helmet: 298 color:red
chestplate: 299 color:red
leggings: 300 color:red
boots: 301 color:red
items:
- 261 1 name:&2Lucky_Bow
- 262 64
- 373:8229 2
potion-effects:
superviviente:
permission: none
helmet: 18
chestplate: 299 color:green
leggings: 300 color.green
boots: 0
items:
- 272 1
- 297 4
- 373:8229 2
potion-effects:
endermaster:
permission: hg.vip
helmet: 0
chestplate: 307
leggings: 0
boots: 0
items:
- 267 1 enchant:SHARPNESS:2 enchant:DAMAGE_UNDEAD:2 name:&6OP_sword?
- 368 5
potion-effects:
- FIRE_RESISTANCE.2.forever
blazer:
permission: hg.vip
helmet: 0
chestplate: 0
leggings: 0
boots: 0
items:
- 261 1 enchant:ARROW_FLAME:4 name:&6OP_sword?
- 262 64
- 322 1
potion-effects:
- FIRE_RESISTANCE.2.forever
allow-edits: true rollback: true
Doesn't work for me. neither does the Kits work for anyone else then myself heres my config:
--- enchant:PROTECTION_FIRE leggings: 300 color:black boots: 301 color:black enchant:PROTECTION_FALL items: - 373:8229 2 name:&bSuper-healing potion-effects: - SPEED.1.forever stupidclass: permission: hg.vip helmet: 0 chestplate: 0 leggings: 0 boots: 0 items: - 267 1 enchant:SHARPNESS:2 enchant:DAMAGE_UNDEAD:2 name:&6OP_sword? - 297 4 - 373:8229 2 potion-effects: - FIRE_RESISTANCE.2.forever@sebastiangrez12 on you kit superviviente: leggings: 300 color.green
the period should be a colon.
Im trying to add enchanted items like this: - 258 1 x:4 enchant:sharpness:1 #Axe Its not working, is it because of the "Chance?"
Watching the setup tutorial, there was no mention of setting the chests; i'm guessing it sees all chests placed and randomizes items into them with each arena reset? There seemed to be nothing we need to do to include the chests into the data. So do we do nothing there?
I was curious if there was a way to get rid of the kits and disable them completley? Sort of defeats the purpose of Hunger Games in my opinion. Even if I don't give them access to the kit permissions the message still appears telling them to choose a kit and it's very misleading.
Thanks for the plugin, it's great! And thanks for taking the time to read this. :)
Hello,
I have a small problem. When we insert a command hg create <arena> <min user> <max user> <time> we get response that first we need to make a selection before creating arena.
What we should do ?
What is a format to enter time?
Please help.
Mactus7
I'm sure you figured this out, but just in case, here
/hg create <arenaname> <minimum usesr> <maximum users> <Max dutration of match>
This is correct, but as for making a region selection you have to use the selection wand and select the 3d region in which your map will be.
Use "/hg wand" to get the special blaze rod (you cant just use a normal one) and then select your region like as if it was world edit. Then you can do your create command.