Skip to content

Instantly share code, notes, and snippets.

@alanhoff
Created December 1, 2012 20:08
Show Gist options
  • Select an option

  • Save alanhoff/4184637 to your computer and use it in GitHub Desktop.

Select an option

Save alanhoff/4184637 to your computer and use it in GitHub Desktop.
## This should be places in the plugin directory
## for more help configuring see the wiki
## https://github.com/alkarinv/BattleArena/wiki
## Change this file to customize your match
Paintball:
enabled: true
database: Paintball # or delete if you dont want wins/losses/top, needs BattleTracker
rated: true # if database is enabled
prefix: "&f[Paintball]&e"
command: pb
nTeams: 2+
teamSize: 1+
### You can delete any stages/transitions that have no options
### for a list of options see wiki
preReqs: ## Prerequisites for joining
options: [clearInventory]
onJoin: ## when they join the match
options: []
onPreStart: ## x seconds before onStart
options: []
onStart: ## Starting
options: [teleportIn, pvpOn, woolTeams]
onSpawn: ## what happens when a player spawns
options: [giveItems, hunger=20, health=20]
items:
- snow_ball: 128
onDeath: ## what happens when a player dies
options: [clearInventory]
onComplete: ## what happens when things end
options: [teleportOut, clearInventory]
winner: ## what to give the winner
options: [health=20, hunger=20]
losers: ## what to give the losers
options: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment