Advertisement
Guest User

Untitled

a guest
Nov 30th, 2012
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 10.00 KB | None | 0 0
  1. configVersion: 1.6.5
  2.  
  3.  
  4. # For help the wiki is a good source of information
  5. # Wiki: # https://github.com/alkarinv/BattleArena/wiki
  6.  
  7. # Auto Update the BattleArena plugin (only works for uniz/linux/mac)
  8. # Updates will be retrieved from the latest plugin on the bukkit site
  9. autoUpdate: true
  10.  
  11. ## What is the money on this server called
  12. moneyName: PO
  13.  
  14. ### Misc Options
  15. # some servers like to teleport people into the floor, you can adjust the Y offset of the teleport
  16. # to make them teleport higher by default, 1.0 = 1 block
  17. teleportYOffset: 1.0
  18.  
  19. # When a player joins an arena and their inventory is stored
  20. # how many old inventories should be saved
  21. # put in 0 if you don't want this option
  22. numberSavedInventories: 5
  23.  
  24. # which player commands should be disabled when they enter an arena
  25. disabledCommands: [home, spawn, payhome, warp, watch, sethome, ma]
  26.  
  27. # If set to true, items that are usually not stackable will be stacked when
  28. # a player is given items.  Examples: 64 mushroom soup, or 64 snow_ball, instead of 1 or 16
  29. ignoreMaxStackSize: false
  30.  
  31. # If true if a player joins a match which has 2 arenas. 1v1 and 1v1v1v1. Then 1v1 will happen first
  32. # afterwards the 1v1v1v1 is guaranteed to be the next arena used.
  33. # if false.  if after the 1v1 is used, and the match ends, the 1v1 can be used again before the 1v1v1v1
  34. useArenasOnlyInOrder: true
  35.  
  36. ## default Options (these can be overridden by each match/event type)
  37. defaultOptions:
  38.    ### Match Options
  39.     secondsTillBegin: 6
  40.     secondsTillMatch: 6
  41.     secondsToLoot: 5 ## Time after winning to run around and collect loot
  42.     matchTime: 300 ## How long do timed matches last, (in seconds)
  43.     matchUpdateInterval: 30 ## For timed matched, how long between sending players match updates
  44.  
  45.     ## when set to true when a player joins a queue the match will attempt to
  46.     ## start after the forceStartTime regardless if the minimum amount of people
  47.     ## have joined.  Example: say 2 teams of 4 people each is needed, if after
  48.     ## the forceStartTime is exceeded only 2 teams of 1 person is needed to start.
  49.     enableForceStart: false
  50.     forceStartTime: 180
  51.  
  52.     ### Event Options
  53.     eventCountdownTime: 90 ## How long before announcing an automated event and its start
  54.     eventCountdownInterval: 30 ## How often will it announce a reminder that its open and you can join
  55.     ## If true, when a player joins and an event that can be opened, it will be
  56.     ## silently opened and the player will join
  57.     allowPlayerCreation: false
  58.  
  59.     ### Duel Options
  60.     allowRatedDuels: false
  61.     # after a player rejects a duel, how long before they can be challenged again
  62.     challengeInterval: 1800 # (seconds) 1800 = 30minutes
  63.  
  64.     ### Scheduled Event Options
  65.     ### Valid options [startContinuous, startNext]
  66.     onServerStart: [startNext]
  67.     timeBetweenScheduledEvents: 120 ## seconds between end of one event, and start of another
  68.     announceTimeTillNextEvent: false
  69.  
  70.     ### Match/Event Announcements
  71.     ## these only affect the broadcasts to the server or channel, not the messages the fighting players receive
  72.     ## announce : announce these messages
  73.     ## dontannounce : dont announce these messages
  74.     ## server : use herochat with the channel specified
  75.     ## herochat=<channel> : use herochat with the channel specified
  76.     announcements:
  77.         onPreStart: [ announce, server ]  ## match going to happen soon, example 'P1[p1Elo] vs P2[p2elo]'
  78.         onStart: [ dontannounce ]  ## match starting
  79.         onVictory: [ announce, server ] ## match has been won, exmaple 'P1[p1elo] has defeated P2[p2elo]'
  80.  
  81.     ### Default event Announcements
  82.     eventAnnouncements:
  83.         onCountDownToEvent: [ announce, server ]  ## event is now open
  84.         onOpen: [ announce, server ]  ## event is now open
  85.         onStart: [ announce, server ]  ## event is starting
  86.         onVictory: [ announce, server ] ## event has been won
  87.         onCancel: [ announce, server ] ## event has been cancelled
  88.  
  89. ## For help and a constantly updated list of everything you can configure
  90. # Config Setup: https://github.com/alkarinv/BattleArena/wiki/Configsetup
  91. # Wiki: # https://github.com/alkarinv/BattleArena/wiki
  92.  
  93. ### Arena
  94. arena:
  95.     enabled: true
  96.     type: arena
  97.     database: arena
  98.     rated: true
  99.     prefix: "&6[Arena]&e"
  100.     nTeams: 2
  101.     teamSize: 1+
  102.     onJoin:
  103.         options: [pvpOff]
  104.     preReqs:
  105.         options: [clearInventory]
  106.     onStart:
  107.         options: [teleportIn, blockBreakOff, woolTeams]
  108.     onSpawn:
  109.         options: [deEnchant, giveItems, hunger=20, health=20]
  110.         giveClass:
  111.             default: gladiateur
  112.         items: # ignored if options doesnt have "giveItems"
  113.             - bread: 5
  114.     onDeath:
  115.         options: [clearInventory]
  116.     onComplete:
  117.         options: [teleportOut, deEnchant, clearInventory]
  118.     winner:
  119.         options: [enchants, money=50,experience=150, health=20, hunger=20]
  120.  
  121.  
  122. ### Skirmish
  123. skirmish:
  124.     enabled: true
  125.     type: skirmish
  126.     database: arena
  127.     rated: false
  128.     prefix: "&b[Skirmish]&e"
  129.     nTeams: 2+
  130.     teamSize: 1+
  131.     onStart:
  132.         options: [teleportIn, pvpOn, blockBreakOff, woolTeams]
  133.     onComplete:
  134.         options: [teleportOut]
  135.     winner:
  136.         options: [health=20, hunger=20]
  137.  
  138.  
  139. ### BattleGround
  140. battleground:
  141.     enabled: true
  142.     command: bg
  143.     type: battleground
  144.     database: bg
  145.     prefix: "&c[Battleground]&e"
  146.     victoryCondition: highestKills
  147.     matchTime: 60
  148.     nTeams: 4
  149.     teamSize: 1
  150.     preReqs:
  151.         options: [clearInventory]
  152.     onJoin:
  153.         options: [pvpOff]
  154.     onPrestart:
  155.         options: [pvpOff, teleportIn, giveItems, deEnchant]
  156.         giveClass:
  157.             default: gladiator
  158.         items: # ignored if options doesnt have "giveItems"
  159.             - bread: 5
  160.     onStart:
  161.         options: [pvpOn]
  162.     onComplete:
  163.         options: [teleportOut, clearInventory, deEnchant ]
  164.     onSpawn:
  165.         options: [enchants, health=20, hunger=20, deEnchant, woolTeams]
  166.         enchants:
  167.            - speed:3
  168.     onDeath:
  169.         options: [respawn, clearInventory]
  170.     winner:
  171.         options: [enchants, health=20, hunger=20]
  172.         enchants:
  173.            - speed:1:900
  174.             - resistance:1:900
  175.            
  176. ### Colliseum
  177. colliseum:
  178.     enabled: true
  179.     command: col
  180.     type: colliseum
  181.     database: col
  182.     nTeams: 4
  183.     teamSize: 1
  184.     preReqs:
  185.         options: [clearInventory]
  186.     onJoin:
  187.         options: [pvpOff]
  188.     onPrestart:
  189.         options: [pvpOff, teleportIn, deEnchant, woolTeams]
  190.     onStart:
  191.         options: [pvpOn]
  192.     onComplete:
  193.         options: [teleportOut, clearInventory, deEnchant, undisguise]
  194.     onSpawn:
  195.         options: [enchants, health=20, hunger=20, deEnchant,giveItems, woolTeams]
  196.         enchants:
  197.            - speed:1
  198.         items: # ignored if options doesnt have "giveItems"
  199.             - diamond_sword: sharpness:1 1
  200.             - bow: 1
  201.             - arrow: 32
  202.             - diamond_helm: 1
  203.             - diamond_chest: 1
  204.             - diamond_leggings: 1
  205.             - diamond_boot: 1
  206.     onDeath:
  207.         options: [respawn, clearInventory]
  208.     winner:
  209.         options: [enchants, money=1,experience=300, health=20, hunger=20]
  210.         enchants:
  211.            - speed:1:900
  212.             - resistance:1:900
  213.  
  214. #### EVENTS ####
  215. ### FFA Event
  216. freeForAll:
  217.     enabled: true
  218.     command: ffa
  219.     type: ffa
  220.     database: ffa
  221.     prefix: "&c[FFA]&e"
  222.     nTeams: 2+
  223.     teamSize: 1+
  224.     announcements: ### Override the match victory announcement as the event has one too
  225.         onVictory: [ dontannounce ]
  226.     preReqs:
  227.         options: [clearInventory]
  228.     onJoin:
  229.         options: [teleportIn, woolTeams]
  230.     onOpen:
  231.         options: [pvpOff]
  232.     onPrestart:
  233.         options: [pvpOff, giveItems, deEnchant]
  234.         items: # ignored if options doesnt have "giveItems"
  235.             - iron_sword: 1
  236.             - bow: power:1 punch:1 1
  237.             - arrow: 32
  238.             - diamond_helm: 1
  239.             - diamond_chest: 1
  240.             - diamond_leggings: 1
  241.             - diamond_boot: 1
  242.             - bread: 2
  243.     onStart:
  244.         options: [pvpOn]
  245.     onComplete:
  246.         options: [teleportOut, clearInventory, deEnchant, undisguise]
  247.     onSpawn:
  248.         options: [enchants, health=20, hunger=20, deEnchant]
  249.         enchants:
  250.            - speed:1
  251.     winner:
  252.         options: [giveItems, money=25,experience=75, health=20, hunger=20]
  253.         items:
  254.             - diamond: 3
  255.             - diamond_sword: 1
  256.     losers:
  257.         options: [giveItems, money=12,experience=30, health=20, hunger=20]
  258.         items:
  259.             - diamond: 1
  260.  
  261. ### Death Match Event
  262. deathMatch:
  263.     matchTime: 300
  264.     enabled: true
  265.     command: dm
  266.     type: deathMatch
  267.     victoryCondition: highestKills
  268.     database: dm
  269.     prefix: "&8[DeathMatch]&e"
  270.     nTeams: 1+
  271.     teamSize: 1+
  272.     announcements: ### Override the match victory announcement as the event has one too
  273.         onVictory: [ dontannounce ]
  274.     preReqs:
  275.         options: [clearInventory]
  276.     onJoin:
  277.         options: [teleportIn, woolTeams]
  278.     onOpen:
  279.         options: [pvpOff]
  280.     onStart:
  281.         options: [pvpOn]
  282.     onComplete:
  283.         options: [teleportOut, clearInventory, deEnchant, undisguise]
  284.     onSpawn:
  285.         options: [enchants, giveItems, health=20, hunger=20, deEnchant]
  286.         items: # ignored if options doesnt have "giveItems"
  287.             - iron_sword: 1
  288.             - bow: 1
  289.             - arrow: 32
  290.             - iron_helm: 1
  291.             - iron_chest: 1
  292.             - iron_leggings: 1
  293.             - iron_boot: 1
  294.             - bread: 2
  295.         enchants:
  296.            - speed:1
  297.     onDeath:
  298.         options: [respawn,clearInventory]
  299.     winner:
  300.         options: [giveItems, money=50,experience=100, health=20, hunger=20]
  301.         items:
  302.             - diamond: 6
  303.             - diamond_sword: 1
  304.     losers:
  305.         options: [giveItems, money=25,experience=50, health=20, hunger=20]
  306.         items:
  307.             - diamond: 3
  308.            
  309. tourney:
  310.     enabled: true
  311.     command: tourney
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement