Giter Site home page Giter Site logo

battlearena's Introduction

BattleArena

A complete Event system for minecraft.

  • Comes default with several Match and Event Types
  • Huge amounts of customization through the configs and in game commands
  • Framework and API for easily creating custom matches/events.

Default Match Types:

  • Arena : You fight with what is given to you in the config. You can't bring items in or out.
  • Skirmish : You bring in what you want to fight with, you take out whatever you pick up.
  • Colloseum : 4 teams against each other, last man standing wins.
  • BattleGround : 1 minute match where the winner is the one with the highest kills after 1 minute. 4 teams of 1 player each compete.

Default Event Types:

  • Free For All : last player/team left standing wins
  • DeathMatch : 2 minute event where if you die you respawn. Highest kills wins
  • Tournament : ( bracket tournament for any number of teams )

Adding to BattleArena

I will gladly accept any code contributions through github. If you need help with the API or writing a plugin for BattleArena I will help as well.

Links

  • IRC (#alkarin on irc.esper.net, join channel BattlePlugins)
  • Bukkit Page (BattleArena on Bukkit)

battlearena's People

Contributors

alkarinv avatar netherfoam avatar wooblee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

battlearena's Issues

Battle Grounds Causing Server Lockup

Ok so i'm 99% sure that battlearena is causing this, if i'm wrong i'm sorry for reporting it. What i've been experiencing since adding battlearena to my server is server lockups were the server stops accepting commands, chunks stop loading and the server becomes unreachable for people trying to connect. However chat still continues to work for those logged in until eventually craftbukkit reports in console that it's become unresponsive.
I have never experienced this before adding the plugin to the server and now it is causing 5-6 crashes a day. I can't see any error messages in console when this happens but what i can see is that battlegrounds seem to be happening at the point of the lockup. I have been in-game, in a bg 2 times when this has happened.
I've tried everything possible to find out what is causing this other than battlearena as the players are really loving it! But sadly this is the only thing left that i can see to be causing this and i have now had to remove the plugin in hope that it can be fixed.

If you don't see a way that battlearena could be causing this then i am sorry for reporting this to you.

Also another little thing, if you set bg to disabled in the config it still allows people to join. You have to type the command in-game to actually disable it. Even then people can still /bg duel [player].

EDIT My server has been running without crashing for the past day now that the plugin has been removed. Just a little more evidence to show that battlearena could be the cause.

/aa showspawns [arena]

This is a suggestion,

When you do /aa showspawns, you're already displaying player spawns, but how about the item spawns and mob spawns as well? Maybe in a different colour wool though

Losing gear when leaving the arena

So the bug occurs when you die in a arena. You get teleported back to where you were and have your items restored. But if you then type /arena leave before the fight you were in has ended your restored items get cleared.

Problem.

When people leave the game because they have to go or they have a bad connection they sometimes get stuck with the stuff in the game and loose there stuff, you should make some sort of feature that kicks everyone out of all of the paint ball/pvp/ spleef arenas with one command or make it so it does that before reloading a server or restarting a server so people always get to keep there items.

Arena alter isn't working correctly

I have to be OP to use /aa (No perm node :S), and I also get told I haven't got an arena selected after using /aa select and try to add a spawn

inventory problem

ok so there is a problem when people on my server are done playing and the match is over there inventory gets cleared but there armor slot does not.

[Feature request] CTF + resource race

Hey,

love the plugin :) -but some features would make it perfect.

Capture the flag / Assautl:
2 Teams each have a "flag" (often just wool) that you run to and take, you then need to return it to your own flag. you cant caputure if you dont have your own flag at home.

Assault: only 1 flag, often used as a "attack a castle" where you have to run in, get a flag, and get it back out.

Resource race:
Both teams start at 0 points, and the goal is then to reach a configurable amount of points. you gain a small amount from killing players from the other team.
but the main income should come from having captured points on the map. each point will give x increase in points. so if you have 3 out of 5 points, you will be getting x points evry 5/10 sec

And my last feature, would be to make it so if you have permission battlearena.team1 you cant team up with players that have permission battlearena.team2

Thanks for a great plugin.
//Perfk

single arenas (no rotation)

Instead of making multiple arenas and cycling through them, being able to chose the arena you want ot play would be nice option. but keep the rotation option too.

so say you have arena A B and C-
currently:
You type /skirmish join; then you play the arena A, next group plays a different arena B. (you really wanted to play arena B)

purposed change:
you type /skirmish join arenaB; you now play arena B and not whats on cycle.

idea-
Just que for the arena you want to play as well as que for the cycle
both "/skirmish join" and "/skirmish join arenaB"

Upgrade classes

Upgrade class selection based on some ranking/win/loss system

Arena Inventory Bug

If a player joins an arena and then disconnects from the server, when they log back in they are back at the point before they entered the arena but with the arena gear not their own inventory. This allows them to glitch free gear very easily.

Spawning arrows with /aa

Bet you're sick of my bug reports, but... If you do /aa addspawn arrow 64 0 30 or whatever numbers you like, when the arrows are spawned they are entity arrows and not item arrows, so nobody can pick them up or use them.

You may want to reorder the searching through the items/mob names or let us use explicit types somehow?

Sort of related:
Spawning potions doesn't work, I'm guessing because you're saving the data value instead of the durability value? Always save the durability value because the durability value is a short (or whatever..) compared to a data value which is a byte. Potion damage values go above 255, which means they need to be stored in a short, which means that fetching the data value of a potion will result in bad numbers, whereas fetching its durability will result in the correct ones.

TLDR;
Spawning potions doesnt work after a reboot.

Dungeons

Add a victory condition for killing all mobs in an arena.

Did it not create the folder and files? o.0

2012-09-11 21:51:07 [INFO] [BattleArena] Enabling BattleArena v3.6.4
2012-09-11 21:51:07 [INFO] [BattleArena v3.6.4] starting enable!
2012-09-11 21:51:07 [SEVERE] java.io.IOException: The system cannot find the path specified
2012-09-11 21:51:07 [SEVERE] at java.io.WinNTFileSystem.createFileExclusively(Native Method)
2012-09-11 21:51:07 [SEVERE] at java.io.File.createNewFile(Unknown Source)
2012-09-11 21:51:07 [SEVERE] at mc.alk.arena.serializers.BaseSerializer.setConfig(BaseSerializer.java:34)
2012-09-11 21:51:07 [SEVERE] at mc.alk.arena.BattleArena.onEnable(BattleArena.java:94)
2012-09-11 21:51:07 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
2012-09-11 21:51:07 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
2012-09-11 21:51:07 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
2012-09-11 21:51:07 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:283)
2012-09-11 21:51:07 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:265)
2012-09-11 21:51:07 [SEVERE] at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:297)
2012-09-11 21:51:07 [SEVERE] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:276)
2012-09-11 21:51:07 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:226)
2012-09-11 21:51:07 [SEVERE] at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
2012-09-11 21:51:07 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:379)
2012-09-11 21:51:07 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
2012-09-11 21:51:07 [SEVERE] java.io.FileNotFoundException: plugins\BattleArena\messages.yml (The system cannot find the path specified)
2012-09-11 21:51:07 [SEVERE] at java.io.FileInputStream.open(Native Method)
2012-09-11 21:51:07 [SEVERE] at java.io.FileInputStream.(Unknown Source)
2012-09-11 21:51:07 [SEVERE] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
2012-09-11 21:51:07 [SEVERE] at mc.alk.arena.serializers.BaseSerializer.setConfig(BaseSerializer.java:42)
2012-09-11 21:51:07 [SEVERE] at mc.alk.arena.BattleArena.onEnable(BattleArena.java:94)
2012-09-11 21:51:07 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
2012-09-11 21:51:07 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
2012-09-11 21:51:07 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
2012-09-11 21:51:07 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:283)
2012-09-11 21:51:07 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:265)
2012-09-11 21:51:07 [SEVERE] at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:297)
2012-09-11 21:51:07 [SEVERE] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:276)
2012-09-11 21:51:07 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:226)
2012-09-11 21:51:07 [SEVERE] at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
2012-09-11 21:51:07 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:379)
2012-09-11 21:51:07 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
2012-09-11 21:51:07 [WARNING] Updating to messages.yml version 1.1
2012-09-11 21:51:07 [WARNING] If you had custom changes to messages you will have to redo them
2012-09-11 21:51:07 [WARNING] You can now override specific match/event messages inside the messages folder
2012-09-11 21:51:07 [SEVERE] java.io.IOException: The system cannot find the path specified
2012-09-11 21:51:07 [SEVERE] at java.io.WinNTFileSystem.createFileExclusively(Native Method)
2012-09-11 21:51:07 [SEVERE] at java.io.File.createNewFile(Unknown Source)
2012-09-11 21:51:07 [SEVERE] at mc.alk.arena.serializers.BaseSerializer.setConfig(BaseSerializer.java:34)
2012-09-11 21:51:07 [SEVERE] at mc.alk.arena.serializers.YamlFileUpdater.updateMessageSerializer(YamlFileUpdater.java:191)
2012-09-11 21:51:07 [SEVERE] at mc.alk.arena.BattleArena.onEnable(BattleArena.java:95)
2012-09-11 21:51:07 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
2012-09-11 21:51:07 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
2012-09-11 21:51:08 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
2012-09-11 21:51:08 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:283)
2012-09-11 21:51:08 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:265)
2012-09-11 21:51:08 [SEVERE] at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:297)
2012-09-11 21:51:08 [SEVERE] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:276)
2012-09-11 21:51:08 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:226)
2012-09-11 21:51:08 [SEVERE] at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
2012-09-11 21:51:08 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:379)
2012-09-11 21:51:08 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
2012-09-11 21:51:08 [SEVERE] java.io.FileNotFoundException: plugins\BattleArena\messages.yml (The system cannot find the path specified)
2012-09-11 21:51:08 [SEVERE] at java.io.FileInputStream.open(Native Method)
2012-09-11 21:51:08 [SEVERE] at java.io.FileInputStream.(Unknown Source)
2012-09-11 21:51:08 [SEVERE] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
2012-09-11 21:51:08 [SEVERE] at mc.alk.arena.serializers.BaseSerializer.setConfig(BaseSerializer.java:42)
2012-09-11 21:51:08 [SEVERE] at mc.alk.arena.serializers.YamlFileUpdater.updateMessageSerializer(YamlFileUpdater.java:191)
2012-09-11 21:51:08 [SEVERE] at mc.alk.arena.BattleArena.onEnable(BattleArena.java:95)
2012-09-11 21:51:08 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
2012-09-11 21:51:08 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
2012-09-11 21:51:08 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
2012-09-11 21:51:08 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:283)
2012-09-11 21:51:08 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:265)
2012-09-11 21:51:08 [SEVERE] at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:297)
2012-09-11 21:51:08 [SEVERE] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:276)
2012-09-11 21:51:08 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:226)
2012-09-11 21:51:08 [SEVERE] at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
2012-09-11 21:51:08 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:379)
2012-09-11 21:51:08 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
2012-09-11 21:51:08 [SEVERE] Error occurred while enabling BattleArena v3.6.4 (Is it up to date?)
java.lang.NoClassDefFoundError: mc/alk/tracker/objects/Stat
at mc.alk.arena.BattleArena.onEnable(BattleArena.java:99)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:283)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:265)
at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:297)
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:276)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:226)
at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:379)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
Caused by: java.lang.ClassNotFoundException: mc.alk.tracker.objects.Stat
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:44)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 12 more

Multiverse Inventory

From Kahilinc.
"So basically when you join in creative world, and lose or win doesnt matter it tp's you back to world the arena is in (at spawn) plus you get the items you joined w/ in creative world. :( So basically they can transfer all there creative items to normal world."

Armour Dupe

Hi, we're having an issue:

We have two worlds:
challenge_7, and
arena.

EDIT: I can't seem to reproduce this on a dev server - Unless you get others with more info, this is probably going to be useless to you :/ - I may have fixed it by changing the prereq from clearinventory to nothing and using store and restoreItems in the config

I'm not sure how relevant it is, but we use multiinv, so here are it's details.

We use multiinv to keep arena and challenge_7 inventories seperate.

We use battlearena, and have an arena (versus, 1v1) in the "arena" world.

Players start in challenge_7, and queue using /arena join.

Then, they take their armour off their armour slots and place it in a chest. (I managed to do it without needing the chest, but I did this in the 3 second break before the game starts)

Then, the arena begins, players get tp'ed to the arena world and players fight and win/lose, and get tp'ed back. (Tested only with winning so far)

When you leave the arena, youll have your armour back in your inventory that you put in the chest. There will also be the armour you put in the chest. Ergo, dupe.

We haven't been able to do this dupe with regular inventory slots, but it may be possible.

My thoughts: Are you saving inventory and armour slots at different times or something? Should you not be saving them immediately before you TP players?

[Bug] Reselecting class when a default one is set

Thanks for fixing that freeze last upload :D

Now I'm having a problem though where players can select a class initially, and that's fine, but when they respawn they can't select another class.

I have a default class specified, which may be causing the issue.

If you need my configs i can send them to you, or you can look at the ones I linked on the devbukkit comment section :)

BA v3.6.9.8

Cheers again!
-Nether.

Creative bug

While in creative mode, if you join /arena join and you die, what ever item you had in your creative inventory you will spawn back with.

My server has the arenas set up in a separate world.
(using multiverse)
I did not see any errors.

Per Class Permissions

It would be very helpful to me if you would please make a per class permissions system. For example, if you had the class "Swordsman" I would like it if I could make it so only specific users could use that class with a permissions node something like this: "battlearena.classes.use.Swordsman" Thank you for taking the time to read this. Keep up the good work! :)

Not losing power on death while in an arena (Factions)

It would be great if players didn't lose power when they die in an arena. It's fine for the smaller fighter but in a battleground players are re-spawning and dying a lot which can lower their power drastically. This is seeming to put players off from taking part in that arena type.

Vault and BOSEconomy

From Archonian
Can't get to work with Vault and BOSEconomy. It works fine with Register, however, I have plugins that are dependant on Vault. I did notice upon startup that it says Vault is defaulted, but I can't seem to find a way to change what to use.

[SEVERE] Could not pass event PluginEnableEvent to BattleArena

Caused by: java.lang.NullPointerException at net.milkbowl.vault.economy.plugins.Economy_BOSE7.currencyNameSingular(Economy_BOSE7.java:120)

None of the other plugins I have are having any issues with Vault and Bose. Vault : 1.2.19 BOSEconomy : v0.7.3.1a Bukkit : 1.3.2-R1.0 (Build #02377) BattleArena : v3.6.8.4

Config parser error after fresh config regen.

Ive deleted my config multiple times to have it regen.
Let me know if you need more info.
Thanks.

2012-09-15 14:37:33 [INFO] [BattleArena] Enabling BattleArena v3.6.5.2
2012-09-15 14:37:33 [INFO] [BattleArena] v3.6.5.2 enabling!
2012-09-15 14:37:33 [INFO] [BattleArena] MassDisguise not detected, ignoring disguises
2012-09-15 14:37:33 [INFO] [BattleArena] Herochat not detected, ignoring Herochat channel options
2012-09-15 14:37:33 [INFO] BattleArena Loading arenas from C:\Vessel Craft MineCraft Server\Vessel Craft Minecraft Server\Vessel Craft Minecraft Server\plugins\BattleArena\arenas.yml using config
2012-09-15 14:37:33 [INFO] [BattleArena] No arenas found
2012-09-15 14:37:33 [SEVERE] org.bukkit.configuration.InvalidConfigurationException: expected '', but found BlockMappingStart
in "", line 4, column 1:
classes:
^

2012-09-15 14:37:33 [SEVERE] at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
2012-09-15 14:37:33 [SEVERE] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
2012-09-15 14:37:33 [SEVERE] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
2012-09-15 14:37:33 [SEVERE] at mc.alk.arena.serializers.BaseSerializer.setConfig(BaseSerializer.java:45)
2012-09-15 14:37:33 [SEVERE] at mc.alk.arena.BattleArena.onEnable(BattleArena.java:150)
2012-09-15 14:37:33 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
2012-09-15 14:37:33 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
2012-09-15 14:37:33 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
2012-09-15 14:37:33 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:265)
2012-09-15 14:37:33 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:247)
2012-09-15 14:37:33 [SEVERE] at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296)
2012-09-15 14:37:33 [SEVERE] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275)
2012-09-15 14:37:33 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225)
2012-09-15 14:37:33 [SEVERE] at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
2012-09-15 14:37:33 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378)
2012-09-15 14:37:33 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
2012-09-15 14:37:33 [SEVERE] Caused by: expected '', but found BlockMappingStart
in "", line 4, column 1:
classes:
^

2012-09-15 14:37:33 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl$ParseDocumentStart.produce(ParserImpl.java:231)
2012-09-15 14:37:33 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
2012-09-15 14:37:33 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
2012-09-15 14:37:33 [SEVERE] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:109)
2012-09-15 14:37:33 [SEVERE] at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
2012-09-15 14:37:33 [SEVERE] at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
2012-09-15 14:37:33 [SEVERE] at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
2012-09-15 14:37:33 [SEVERE] at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
2012-09-15 14:37:33 [SEVERE] ... 15 more
2012-09-15 14:37:33 [SEVERE] org.bukkit.configuration.InvalidConfigurationException: expected '', but found BlockMappingStart
in "", line 4, column 1:
classes:
^

2012-09-15 14:37:33 [SEVERE] at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
2012-09-15 14:37:33 [SEVERE] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
2012-09-15 14:37:33 [SEVERE] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
2012-09-15 14:37:33 [SEVERE] at mc.alk.arena.serializers.BAClassesSerializer.loadAll(BAClassesSerializer.java:18)
2012-09-15 14:37:33 [SEVERE] at mc.alk.arena.BattleArena.onEnable(BattleArena.java:151)
2012-09-15 14:37:33 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
2012-09-15 14:37:33 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
2012-09-15 14:37:33 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
2012-09-15 14:37:33 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:265)
2012-09-15 14:37:33 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:247)
2012-09-15 14:37:33 [SEVERE] at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296)
2012-09-15 14:37:33 [SEVERE] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275)
2012-09-15 14:37:33 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225)
2012-09-15 14:37:33 [SEVERE] at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
2012-09-15 14:37:33 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378)
2012-09-15 14:37:33 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
2012-09-15 14:37:33 [SEVERE] Caused by: expected '', but found BlockMappingStart
in "", line 4, column 1:
classes:
^

2012-09-15 14:37:33 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl$ParseDocumentStart.produce(ParserImpl.java:231)
2012-09-15 14:37:33 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
2012-09-15 14:37:33 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
2012-09-15 14:37:33 [SEVERE] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:109)
2012-09-15 14:37:33 [SEVERE] at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
2012-09-15 14:37:33 [SEVERE] at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
2012-09-15 14:37:33 [SEVERE] at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
2012-09-15 14:37:33 [SEVERE] at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
2012-09-15 14:37:33 [SEVERE] ... 15 more
2012-09-15 14:37:33 [INFO] [BattleArena] has no classes
2012-09-15 14:37:33 [INFO] BattleArena is now using BattleTracker interface 'arena'
2012-09-15 14:37:34 [SEVERE] Couldnt find arenaClass gladiator
2012-09-15 14:37:34 [INFO] [BattleArena] registering match =Arena:arena:Versus rating=RATED,nteams=2+,teamSize=1+,vc=LASTMANSTANDING
2012-09-15 14:37:34 [INFO] [BattleArena] registering match =Skirmish:skirmish:Versus rating=UNRATED,nteams=2+,teamSize=1+,vc=LASTMANSTANDING
2012-09-15 14:37:34 [INFO] BattleArena is now using BattleTracker interface 'col'
2012-09-15 14:37:34 [INFO] [BattleArena] registering match =Colliseum:col:Colliseum rating=RATED,nteams=4,teamSize=1,vc=LASTMANSTANDING
2012-09-15 14:37:34 [INFO] BattleArena is now using BattleTracker interface 'ffa'
2012-09-15 14:37:34 [INFO] [BattleArena] registering match =FreeForAll:ffa:FFA rating=RATED,nteams=2+,teamSize=1+,vc=LASTMANSTANDING
2012-09-15 14:37:34 [INFO] BattleArena is now using BattleTracker interface 'dm'
2012-09-15 14:37:34 [INFO] [BattleArena] registering match =DeathMatch:dm:DeathMatch rating=RATED,nteams=2+,teamSize=1+,vc=HIGHESTKILLS
2012-09-15 14:37:34 [INFO] BattleArena is now using BattleTracker interface 'tourney'
2012-09-15 14:37:34 [INFO] [BattleArena] registering match =Tourney:tourney:Versus rating=RATED,nteams=2+,teamSize=1+,vc=LASTMANSTANDING
2012-09-15 14:37:34 [INFO] BattleArena is now using BattleTracker interface 'bg'
2012-09-15 14:37:34 [SEVERE] Couldnt find arenaClass gladiator
2012-09-15 14:37:34 [INFO] [BattleArena] registering match =Battleground:bg:BattleGround rating=RATED,nteams=4,teamSize=1,vc=HIGHESTKILLS
2012-09-15 14:37:34 [INFO] [BattleArena] v3.6.5.2 enabled!
2012-09-15 14:37:34 [INFO] [BattleArena] found economy plugin Register
2012-09-15 14:37:34 [INFO] [BattleArena] found economy plugin Vault. [Default]


Heres the Config
ive switched arround the gladiator position to see if that made any diffrence in locatin it too.

version:1.1

You can add new classes here

classes:
archer:
prettyName: "&4Archer" ### Used for signs
items:
- iron_sword: sharp:1 1
- bow: flame:2 power:3 punch:2 1
- arrow: 32
- leather_helm: 1
- iron_chest: prot:3 1
- leather_leggings: 1
- leather_boots: 1
- 373;8229: 1 # potion of healing 2
- 373;8193: 1 # potion of regen
- 373;16396: 1 # splash potion of harming 1
monk:
prettyName: "&fMonk" ### Used for signs
items:
- leather_helm: 1
- leather_chest: 1
- leather_leggings: 1
- leather_boots: 1
- 373;8229: 2 # potion of healing 2
- 373;8193: 2 # potion of regen
- 373;16396: 3 # splash potion of harming 1
enchants:
- strength:3:900 # increase attack power
- speed:2:900 # increase movement
- haste:3:900 # increase attack speed
- resistance:2:900 # reduce damage taken
- jump:2:900 # jump 2 blocks higher than normal
- regen:1:900 # regen life
gladiator:
prettyName: "&4Gladiator" ### Used for signs
items:
- diamond_sword: sharp:1 1
- bow: 1
- arrow: 32
- diamond_helm: 1
- diamond_chest: 1
- diamond_leggings: 1
- diamond_boots: 1
- 373;8229: 1 # potion of healing 2
- 373;8193: 1 # potion of regen
- 373;16396: 1 # splash potion of harming 1
enchants:
- speed:1:900
- resistance:1:900

Players keep wool team heads

You know my config setup with myworlds, arena world, challenge_7 world and multiinv so ill skip that.

Players when they leave the battleground, are keeping their 'wool' teams on their head. So

  1. queue for bg in challenge_7 world
  2. get tp'ed to bg in arena world, receive wool head
  3. /bg leave, teleported to challenge_7 world
  4. you strangely have your armour and inventory like you should from challenge_7 world but also have your wool head still.

Small dupe, also a potential pain if you have a diamond helm and it gets replaced by a block of wool.

Unrelated bug, logging out doesnt throw errors now but the player isn't removed from the battleground after being teleported to their previous location. e.g.

  1. /bg join
  2. bg starts
  3. disconnect
  4. connect
  5. your where you are before the bg started
  6. do /bg join
  7. receive error message 'your still in a bg' -> But you're not "physically" in the bg arena anymore

Logging out during arena

Bukkit b2361 MC 1.3.2
BattleArena v3.6.8

Plugins: BattleArena v3.6.8, BKCommonLib v1.24, Buycraft v4.7, ChestFix v0.6, DarekPlugin v0.2, DeathAndTaxes v0.2, dynmap v0.80-1304, EnchantShops v0.1.4, Essentials vPre2.9.4.2, EssentialsSpawn vPre2.9.4.2, FlatlandsBuilder v0.6.2, FlatSurvival v0.1, FreeSpace v0.1, GPPreciousStones v0.1, GriefPrevention v6.5, GriefPreventionCompat v0.2, HawkEye v1.0.7b, JukeboxControl v0.0.3, LevelUp v0.1, Lockette v1.6, MaxGamer v0.5, MaxPvP v0.1, mcMMO v1.3.11-b1030, mcMMOShop v0.1, MobCatcher v2.19 by Malikk, MultiInv v3.1.3, My Worlds v1.48, MyHelpPages v1.1, NoCheatPlus v3.7.3-b112, OpenInv v1.8.7, Orebfuscator v1.6.2, PermissionsEx v1.19.1, PingMOTD v0.0.5, PlugMan v1.7.2, PwnFilter v1.8, Questioner v0.6, QuickArena v0.1, QuickShop v1.9, Register v1.8, RemoteToolkitPlugin v0.61, Safe Creeper v1.0.1, SethomeProtection v0.1, SidewaysLogFix v1.01, SmartEco v0.1, SpaceBukkit v1.2, SpamDisconnectionFix v0.1, Spectate v1.9.1, Spout v1340, SpyKid v0.1, Stargate v0.7.7.2, TheEndAgain v0.99g, ThisLogMustDie v1.0, Tips v1.1, TowerControl v0.1, Towny v0.81.0.0, TownyChat v0.3, UltraBan v1.1.1, VanishNoPacket v3.12.1, Vault v5.2.17-b9001, VoidFix v0.1, Websend v1.5.1, WorldBorder v1.5.3, WorldEdit v1259-b4ac721, WorldGenerationControl v2.6, WorldGuard v${project.version}, xAuth v2.0.9

Logging out during a match is causing this error for me and DC'ing me with 'Internal Server Error'. When I log back in, I'm in the arena still but have no items.

Notably, my arena is in a world called "arena" and my players are in a world called "challenge_7" so maybe it's a multiworld issue.

6:01:19 [INFO] wick issued server command: /r mebeh
06:01:25 [INFO] Pigheadtt issued server command: /r i have a bucket but not lave 1
06:01:27 [INFO] TestGuy124 lost connection: disconnect.quitting
06:01:27 [INFO] Connection reset
06:01:27 [INFO] [Arena] richie0 defeated TestGuy1240!
06:01:27 [INFO] [NoCheatPlus] Milfa failed FastBreak: tried to break blocks faster than possible. VL 867.
06:01:29 [INFO] [G] [User] Pigheadtt: cbf
06:01:30 [INFO] Connection reset
06:01:32 [INFO] TestGuy124[/121.222.119.137:51450] logged in with entity id 1128232 at ([challenge_7] 300.39713455369997, 66.0, -302.80635497905314)
06:01:32 [INFO] [UltraBan] Logged TestGuy124 connecting from ip:121.222.119.137
06:01:32 [INFO] [VoidFix] TestGuy124: false
06:01:32 [INFO] [VoidFix] []
06:01:32 [INFO] Disconnecting TestGuy124 [/121.222.119.137:51450]: Internal server error
06:01:32 [WARNING] Failed to handle packet: java.lang.IllegalStateException: Failed to add player. EntityPlayer['TestGuy124'/1128232, l='arena', x=-111.65, y=54.00, z=154.48](TestGuy124 at -111.64759207191693,54.0,154.47654841677368) already is in chunk -15, 1
java.lang.IllegalStateException: Failed to add player. EntityPlayer['TestGuy124'/1128232, l='arena', x=-111.65, y=54.00, z=154.48](TestGuy124 at -111.64759207191693,54.0,154.47654841677368) already is in chunk -15, 1
at net.minecraft.server.PlayerInstance.a(PlayerInstance.java:28)
at net.minecraft.server.PlayerManager.addPlayer(PlayerManager.java:101)
at net.minecraft.server.ServerConfigurationManagerAbstract.a(ServerConfigurationManagerAbstract.java:123)
at net.minecraft.server.ServerConfigurationManagerAbstract.c(ServerConfigurationManagerAbstract.java:172)
at net.minecraft.server.ServerConfigurationManagerAbstract.a(ServerConfigurationManagerAbstract.java:92)
at net.minecraft.server.NetLoginHandler.d(NetLoginHandler.java:121)
at net.minecraft.server.NetLoginHandler.c(NetLoginHandler.java:41)
at net.minecraft.server.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:44)
at net.minecraft.server.DedicatedServerConnection.b(SourceFile:29)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:578)
at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213)
at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
06:01:33 [INFO] TestGuy124 lost connection: disconnect.endOfStream
06:01:34 [INFO] [NoCheatPlus] Milfa failed FastBreak: tried to break blocks faster than possible. VL 677.
06:01:35 [INFO] wick issued server command: /r I've killed everyone b4 tho... lol

[Feature request] queueing up for more arenas

So this one might be a bit triggy.

i have 4 arenas on my server.

2 that is 20 man before it starts, and 1 that is 5 man and one that is 2 man.

It would be nice if i could queue up for the 20 man, and while i wait for that to get ready (i dont have that many players yet, so it might take some time) the player can take some 1v1´s

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.