Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- configVersion: 1.6.5
- # For help the wiki is a good source of information
- # Wiki: # https://github.com/alkarinv/BattleArena/wiki
- # Auto Update the BattleArena plugin (only works for uniz/linux/mac)
- # Updates will be retrieved from the latest plugin on the bukkit site
- autoUpdate: true
- ## What is the money on this server called
- moneyName: PO
- ### Misc Options
- # some servers like to teleport people into the floor, you can adjust the Y offset of the teleport
- # to make them teleport higher by default, 1.0 = 1 block
- teleportYOffset: 1.0
- # When a player joins an arena and their inventory is stored
- # how many old inventories should be saved
- # put in 0 if you don't want this option
- numberSavedInventories: 5
- # which player commands should be disabled when they enter an arena
- disabledCommands: [home, spawn, payhome, warp, watch, sethome, ma]
- # If set to true, items that are usually not stackable will be stacked when
- # a player is given items. Examples: 64 mushroom soup, or 64 snow_ball, instead of 1 or 16
- ignoreMaxStackSize: false
- # If true if a player joins a match which has 2 arenas. 1v1 and 1v1v1v1. Then 1v1 will happen first
- # afterwards the 1v1v1v1 is guaranteed to be the next arena used.
- # if false. if after the 1v1 is used, and the match ends, the 1v1 can be used again before the 1v1v1v1
- useArenasOnlyInOrder: true
- ## default Options (these can be overridden by each match/event type)
- defaultOptions:
- ### Match Options
- secondsTillBegin: 6
- secondsTillMatch: 6
- secondsToLoot: 5 ## Time after winning to run around and collect loot
- matchTime: 300 ## How long do timed matches last, (in seconds)
- matchUpdateInterval: 30 ## For timed matched, how long between sending players match updates
- ## when set to true when a player joins a queue the match will attempt to
- ## start after the forceStartTime regardless if the minimum amount of people
- ## have joined. Example: say 2 teams of 4 people each is needed, if after
- ## the forceStartTime is exceeded only 2 teams of 1 person is needed to start.
- enableForceStart: false
- forceStartTime: 180
- ### Event Options
- eventCountdownTime: 90 ## How long before announcing an automated event and its start
- eventCountdownInterval: 30 ## How often will it announce a reminder that its open and you can join
- ## If true, when a player joins and an event that can be opened, it will be
- ## silently opened and the player will join
- allowPlayerCreation: false
- ### Duel Options
- allowRatedDuels: false
- # after a player rejects a duel, how long before they can be challenged again
- challengeInterval: 1800 # (seconds) 1800 = 30minutes
- ### Scheduled Event Options
- ### Valid options [startContinuous, startNext]
- onServerStart: [startNext]
- timeBetweenScheduledEvents: 120 ## seconds between end of one event, and start of another
- announceTimeTillNextEvent: false
- ### Match/Event Announcements
- ## these only affect the broadcasts to the server or channel, not the messages the fighting players receive
- ## announce : announce these messages
- ## dontannounce : dont announce these messages
- ## server : use herochat with the channel specified
- ## herochat=<channel> : use herochat with the channel specified
- announcements:
- onPreStart: [ announce, server ] ## match going to happen soon, example 'P1[p1Elo] vs P2[p2elo]'
- onStart: [ dontannounce ] ## match starting
- onVictory: [ announce, server ] ## match has been won, exmaple 'P1[p1elo] has defeated P2[p2elo]'
- ### Default event Announcements
- eventAnnouncements:
- onCountDownToEvent: [ announce, server ] ## event is now open
- onOpen: [ announce, server ] ## event is now open
- onStart: [ announce, server ] ## event is starting
- onVictory: [ announce, server ] ## event has been won
- onCancel: [ announce, server ] ## event has been cancelled
- ## For help and a constantly updated list of everything you can configure
- # Config Setup: https://github.com/alkarinv/BattleArena/wiki/Configsetup
- # Wiki: # https://github.com/alkarinv/BattleArena/wiki
- ### Arena
- arena:
- enabled: true
- type: arena
- database: arena
- rated: true
- prefix: "&6[Arena]&e"
- nTeams: 2
- teamSize: 1+
- onJoin:
- options: [pvpOff]
- preReqs:
- options: [clearInventory]
- onStart:
- options: [teleportIn, blockBreakOff, woolTeams]
- onSpawn:
- options: [deEnchant, giveItems, hunger=20, health=20]
- giveClass:
- default: gladiateur
- items: # ignored if options doesnt have "giveItems"
- - bread: 5
- onDeath:
- options: [clearInventory]
- onComplete:
- options: [teleportOut, deEnchant, clearInventory]
- winner:
- options: [enchants, money=50,experience=150, health=20, hunger=20]
- ### Skirmish
- skirmish:
- enabled: true
- type: skirmish
- database: arena
- rated: false
- prefix: "&b[Skirmish]&e"
- nTeams: 2+
- teamSize: 1+
- onStart:
- options: [teleportIn, pvpOn, blockBreakOff, woolTeams]
- onComplete:
- options: [teleportOut]
- winner:
- options: [health=20, hunger=20]
- ### BattleGround
- battleground:
- enabled: true
- command: bg
- type: battleground
- database: bg
- prefix: "&c[Battleground]&e"
- victoryCondition: highestKills
- matchTime: 60
- nTeams: 4
- teamSize: 1
- preReqs:
- options: [clearInventory]
- onJoin:
- options: [pvpOff]
- onPrestart:
- options: [pvpOff, teleportIn, giveItems, deEnchant]
- giveClass:
- default: gladiator
- items: # ignored if options doesnt have "giveItems"
- - bread: 5
- onStart:
- options: [pvpOn]
- onComplete:
- options: [teleportOut, clearInventory, deEnchant ]
- onSpawn:
- options: [enchants, health=20, hunger=20, deEnchant, woolTeams]
- enchants:
- - speed:3
- onDeath:
- options: [respawn, clearInventory]
- winner:
- options: [enchants, health=20, hunger=20]
- enchants:
- - speed:1:900
- - resistance:1:900
- ### Colliseum
- colliseum:
- enabled: true
- command: col
- type: colliseum
- database: col
- nTeams: 4
- teamSize: 1
- preReqs:
- options: [clearInventory]
- onJoin:
- options: [pvpOff]
- onPrestart:
- options: [pvpOff, teleportIn, deEnchant, woolTeams]
- onStart:
- options: [pvpOn]
- onComplete:
- options: [teleportOut, clearInventory, deEnchant, undisguise]
- onSpawn:
- options: [enchants, health=20, hunger=20, deEnchant,giveItems, woolTeams]
- enchants:
- - speed:1
- items: # ignored if options doesnt have "giveItems"
- - diamond_sword: sharpness:1 1
- - bow: 1
- - arrow: 32
- - diamond_helm: 1
- - diamond_chest: 1
- - diamond_leggings: 1
- - diamond_boot: 1
- onDeath:
- options: [respawn, clearInventory]
- winner:
- options: [enchants, money=1,experience=300, health=20, hunger=20]
- enchants:
- - speed:1:900
- - resistance:1:900
- #### EVENTS ####
- ### FFA Event
- freeForAll:
- enabled: true
- command: ffa
- type: ffa
- database: ffa
- prefix: "&c[FFA]&e"
- nTeams: 2+
- teamSize: 1+
- announcements: ### Override the match victory announcement as the event has one too
- onVictory: [ dontannounce ]
- preReqs:
- options: [clearInventory]
- onJoin:
- options: [teleportIn, woolTeams]
- onOpen:
- options: [pvpOff]
- onPrestart:
- options: [pvpOff, giveItems, deEnchant]
- items: # ignored if options doesnt have "giveItems"
- - iron_sword: 1
- - bow: power:1 punch:1 1
- - arrow: 32
- - diamond_helm: 1
- - diamond_chest: 1
- - diamond_leggings: 1
- - diamond_boot: 1
- - bread: 2
- onStart:
- options: [pvpOn]
- onComplete:
- options: [teleportOut, clearInventory, deEnchant, undisguise]
- onSpawn:
- options: [enchants, health=20, hunger=20, deEnchant]
- enchants:
- - speed:1
- winner:
- options: [giveItems, money=25,experience=75, health=20, hunger=20]
- items:
- - diamond: 3
- - diamond_sword: 1
- losers:
- options: [giveItems, money=12,experience=30, health=20, hunger=20]
- items:
- - diamond: 1
- ### Death Match Event
- deathMatch:
- matchTime: 300
- enabled: true
- command: dm
- type: deathMatch
- victoryCondition: highestKills
- database: dm
- prefix: "&8[DeathMatch]&e"
- nTeams: 1+
- teamSize: 1+
- announcements: ### Override the match victory announcement as the event has one too
- onVictory: [ dontannounce ]
- preReqs:
- options: [clearInventory]
- onJoin:
- options: [teleportIn, woolTeams]
- onOpen:
- options: [pvpOff]
- onStart:
- options: [pvpOn]
- onComplete:
- options: [teleportOut, clearInventory, deEnchant, undisguise]
- onSpawn:
- options: [enchants, giveItems, health=20, hunger=20, deEnchant]
- items: # ignored if options doesnt have "giveItems"
- - iron_sword: 1
- - bow: 1
- - arrow: 32
- - iron_helm: 1
- - iron_chest: 1
- - iron_leggings: 1
- - iron_boot: 1
- - bread: 2
- enchants:
- - speed:1
- onDeath:
- options: [respawn,clearInventory]
- winner:
- options: [giveItems, money=50,experience=100, health=20, hunger=20]
- items:
- - diamond: 6
- - diamond_sword: 1
- losers:
- options: [giveItems, money=25,experience=50, health=20, hunger=20]
- items:
- - diamond: 3
- tourney:
- enabled: true
- command: tourney
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement