Preparations for customizable waves..

This commit is contained in:
Andreas Troelsen
2011-07-31 21:26:18 +02:00
parent a277bf2b33
commit 4c7d85193e
20 changed files with 1845 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
name: MobArena
main: com.garbagemule.MobArena.MobArena
version: 0.93.4
softdepend: [MultiVerse,XcraftGate,Towny]
commands:
ma:
description: Base command for MobArena
usage: |
/ma join - Join the arena.
/ma leave - Leave the arena.
/ma notready - List of players who aren't ready.
/ma spectate - Warp to the spectator area.
marena:
description: Base command for MobArena
usage: |
/marena join - Join the arena.
/marena leave - Leave the arena.
/marena notready - List of players who aren't ready.
/marena spectate - Warp to the spectator area.
mobarena:
description: Base command for MobArena
usage: |
/mobarena join - Join the arena.
/mobarena leave - Leave the arena.
/mobarena notready - List of players who aren't ready.
/mobarena spectate - Warp to the spectator area.
+51
View File
@@ -0,0 +1,51 @@
ARENA_START=Let the slaughter begin!
ARENA_END=Arena finished.
ARENA_DOES_NOT_EXIST=That arena does not exist. Type /ma arenas for a list.
JOIN_PLAYER_JOINED=
JOIN_NOT_ENABLED=MobArena is not enabled.
JOIN_IN_OTHER_ARENA=You are already in an arena! Leave that one first.
JOIN_ARENA_NOT_ENABLED=This arena is not enabled.
JOIN_ARENA_NOT_SETUP=This arena has not been set up yet.
JOIN_ARENA_PERMISSION=You don't have permission to join this arena.
JOIN_FEE_REQUIRED=Insufficient funds. Price: %
JOIN_FEE_PAID=Price to join was: %
JOIN_ARENA_IS_RUNNING=This arena is in already progress.
JOIN_ALREADY_PLAYING=You are already playing!
JOIN_ARG_NEEDED=You must specify an arena. Type /ma arenas for a list.
JOIN_TOO_FAR=You are too far away from the arena to join/spectate.
JOIN_EMPTY_INV=You must empty your inventory to join the arena.
JOIN_PLAYER_LIMIT_REACHED=The player limit of this arena has been reached.
JOIN_STORE_INV_FAIL=Failed to store inventory. Try again.
LEAVE_PLAYER_LEFT=You left the arena. Thanks for playing!
LEAVE_NOT_PLAYING=You are not in the arena.
PLAYER_DIED=% died!
SPEC_PLAYER_SPECTATE=Enjoy the show!
SPEC_NOT_RUNNING=This arena isn't running.
SPEC_ARG_NEEDED=You must specify an arena. Type /ma arenas for a list.
SPEC_EMPTY_INV=Empty your inventory first!
SPEC_ALREADY_PLAYING=Can't spectate when in the arena!
NOT_READY_PLAYERS=Not ready: %
FORCE_START_STARTED=Forced arena start.
FORCE_START_RUNNING=Arena has already started.
FORCE_START_NOT_READY=Can't force start, no players are ready.
FORCE_END_ENDED=Forced arena end.
FORCE_END_EMPTY=No one is in the arena.
FORCE_END_IDLE=You weren't quick enough!
REWARDS_GIVE=Here are all of your rewards!
LOBBY_CLASS_PICKED=You have chosen % as your class!
LOBBY_CLASS_RANDOM=You will get a random class on arena start.
LOBBY_CLASS_PERMISSION=You don't have permission to use this class!
LOBBY_PLAYER_READY=You have been flagged as ready!
LOBBY_DROP_ITEM=No sharing before the arena starts!
LOBBY_PICK_CLASS=You must first pick a class!
LOBBY_RIGHT_CLICK=Punch the sign. Don't right-click.
WARP_TO_ARENA=Can't warp to the arena during battle!
WARP_FROM_ARENA=Warping not allowed in the arena!
WAVE_DEFAULT=Get ready for wave #%!
WAVE_SPECIAL=Get ready for wave #%! [SPECIAL]
WAVE_REWARD=You just earned a reward: %
MISC_LIST_ARENAS=Available arenas: %
MISC_LIST_PLAYERS=Live players: %
MISC_COMMAND_NOT_ALLOWED=You can't use that command in the arena!
MISC_NO_ACCESS=You don't have access to this command.
MISC_NONE=<none>
+107
View File
@@ -0,0 +1,107 @@
### MobArena Configuration File
### Please visit the MobArena Wiki here: http://goo.gl/F5TTc for more details
### on how to set up this file.
### Note that you CAN'T use tabs in this file! Always use spaces!
### GLOBAL SETTINGS
# These settings are arena-independent and count in all arenas. Note that if
# enabled: false in the global settings, MobArena is disabled globally, and
# arena-specific enabled-values do not matter. If true, however, the per-arena
# enabled-values count.
global-settings:
enabled: true
allowed-commands: /list, /pl
update-notification: true
### CLASS SETUP
# Items can be written as either their data value (numbers) or their Material
# type (names); check the Wiki for links to lists of both.
# The notation is <item>:<amount>. If no amount is given, 1 is assumed. Sub-
# types can be created
# Item SUBTYPES (wool/dye colors) are written as <item>:<subtype>:<amount>,
# but here, the amount is REQUIRED, even if it is just 1.
# Note: If you want to specify only one item, but apostrophes around that one
# item, e.g.: items: '278'
# Note: For every bone a class has, one PET WOLF will spawn upon arena start,
# which will assist the player in the arena session.
classes:
Knight:
items: diamond_sword, grilled_pork:2
armor: 306,307,308,309
Tank:
items: iron_sword, grilled_pork:3, apple
armor: 310,311,312,313
Archer:
items: wood_sword, bow, arrow:64, arrow:64, grilled_pork, bone:2
armor: 298,299,300,301
Chef:
items: stone_sword, bread:6, grilled_pork:4, mushroom_soup, cake:5
armor: 314,315,316,317
Oddjob:
items: stone_sword, flint_and_steel, netherrack:2, tnt:4, pork:3
armor: 298,299,300,301
### ARENA SETUP
# The arena setup is split into 4 different sections per arena: settings,
# waves, rewards and coords (not shown until coords are set up).
# Please refer to the Wiki for descriptions of all these settings.
# Note: The REWARDS use the same notation as the items in the CLASS SETUP
# section. However, only -one- item from the list is picked (at random) when
# the rewards are given.
arenas:
default:
settings:
world: ''
enabled: true
protect: true
entry-fee: ''
logging: true
clear-wave-before-next: false
detonate-creepers: false
detonate-damage: false
lightning: true
auto-equip-armor: true
force-restore: false
soft-restore: false
soft-restore-drops: false
require-empty-inv-join: false
require-empty-inv-spec: false
hellhounds: false
pvp-enabled: false
monster-infight: false
allow-teleporting: false
spectate-on-death: true
share-items-in-arena: true
min-players: 0
max-players: 0
max-join-distance: 0
repair-delay: 5
first-wave-delay: 5
wave-interval: 20
special-modulo: 4
max-idle-time: 0
waves:
default:
zombies: 10
skeletons: 10
spiders: 10
creepers: 10
wolves: 10
special:
powered-creepers: 10
zombie-pigmen: 10
angry-wolves: 10
slimes: 10
humans: 10
giants: 0
ghasts: 0
rewards:
waves:
every:
'3': feather, bone, stick
'5': dirt:4, gravel:4, stone:4
'10': iron_ingot:10, gold_ingot:8
after:
'7': minecart, storage_minecart, powered_minecart
'13': iron_sword, iron_pickaxe, iron_spade
'16': diamond_sword
+57
View File
@@ -0,0 +1,57 @@
### General data
### Statistics for overall information about the arena, such as
### times played, durations, max players seen, total kills, etc.
general-info:
total-games-played: 0
total-duration: 0:00:00
longest-session-duration: 0:00:00
most-players: 0
highest-wave-reached: 0
total-monsters-killed: 0
### Class specific data
### How many times has each class been played, and how many kills, how
### much damage, etc. does the class make/do/take.
classes:
overall-distribution:
# Percentages can be calculated with <classname> / total-count * 100.
total-count: 0
#classes:
# overall-distribution:
# total-count: 0
# archer:
# kills:
# damage-done:
# damage-taken:
# accuracy:
# knight:
# kills:
# damage-done:
# damage-taken:
# accuracy:
# ...
### Reward data
### Totals for all rewards given, perhaps good for balancing?
rewards:
total-given:
# This might be useless information, I don't know.
# Might have to make it data values instead of Material names?
money: 0
### Player data
### Total games played, kills, damage, swings and hits (for accuracy), and how
### many times the player has played as each class.
players: {}
# garbagemule:
# games-played: 5
# kills: 4
# damage-done: 251
# damage-taken: 102
# swings: 1820
# hits: 1214
# classes-played:
# archer: 2
# ...
# Agnate:
# ...
+57
View File
@@ -0,0 +1,57 @@
### General data
### Statistics for overall information about the arena, such as
### times played, durations, max players seen, total kills, etc.
general-info:
total-games-played: 0
total-duration: 0:00:00
longest-session-duration: 0:00:00
most-players: 0
highest-wave-reached: 0
total-monsters-killed: 0
### Class specific data
### How many times has each class been played, and how many kills, how
### much damage, etc. does the class make/do/take.
classes:
overall-distribution:
# Percentages can be calculated with <classname> / total-count * 100.
total-count: 0
#classes:
# overall-distribution:
# total-count: 0
# archer:
# kills:
# damage-done:
# damage-taken:
# accuracy:
# knight:
# kills:
# damage-done:
# damage-taken:
# accuracy:
# ...
### Reward data
### Totals for all rewards given, perhaps good for balancing?
rewards:
total-given:
# This might be useless information, I don't know.
# Might have to make it data values instead of Material names?
money: 0
### Player data
### Total games played, kills, damage, swings and hits (for accuracy), and how
### many times the player has played as each class.
players: {}
# garbagemule:
# games-played: 5
# kills: 4
# damage-done: 251
# damage-taken: 102
# swings: 1820
# hits: 1214
# classes-played:
# archer: 2
# ...
# Agnate:
# ...