Giter VIP home page Giter VIP logo

battleplugins / battlearena Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alkarinv/battlearena

19.0 9.0 23.0 5.79 MB

A complete match and event framework for creating arenas and minigames in Minecraft. Supports creating modes through config files, or fully custom modes through plugins.

Home Page: https://docs.battleplugins.org/shelves/battlearena

License: GNU General Public License v3.0

Java 100.00%
arena library minecraft minigame pvp paper framework plugin minigame-plugin minecraft-minigame

battlearena's Introduction

BattleArena

A complete match and event framework for Minecraft. Supports creating modes through config files, or fully custom modes through plugins.

Default Modes

Active games in BattleArena are referred to as Competitions. BattleArena natively supports two competition types:

  • Match: A game that is started when a certain condition is met (i.e. number of players), or is always active. These games can be joined at any time, as long as there are available maps.
  • Event: A game that is started based on a certain interval, or when triggered by a server action. These games cannot be joined normally unless the event is active.

Builtin Match Types

  • Arena: Simple duels mode that you fight with what is given to you in the config.
  • Skirmish: You bring in items you want to fight with. The game is always running, and you can join and leave at any time.
  • Colosseum: 4v4 team deathmatch. Last team standing wins.
  • Battlegrounds: 1 minute match in which the winner is the player with the most kills.

Builtin Event Types

  • Free for All: A free for all deathmatch that starts every 30 minutes. Last player alive wins.
  • Deathmatch: A 2-minute event where if you die you respawn. The player with the highest number of kills wins.
  • Tournament: Bracket tournament for any number of teams.

For Developers

BattleArena is designed to be easily extendable. You can create your own modes, events, and even competitions. You can also create your own commands and listeners to handle events in your own way.

Creating an Arena

In BattleArena, the root logic for a game is in the Arena class. This class is responsible for handling the game logic, and is the main class that is extended when creating a new mode. Most all aspects of BattleArena are event-driven, meaning that rather than implementing or overriding methods, you will be listening for various game events, or adding your own. Here is a simple example of an Arena class:

public class MyArena extends Arena {
    
    @ArenaEventHandler
    public void onArenaJoin(ArenaJoinEvent event) {
        event.getPlayer().sendMessage("Welcome to my arena!");
    }
}

And for registering it:

BattleArena.getInstance().registerArena("MyArena", MyArena.class, MyArena::new);

Arena Events

Arena events are at the core of BattleArena. They are fired when certain actions happen in the game, and can be used to listen for and handle these actions. BattleArena opts to use the @ArenaEventHandler annotation compared to Bukkit's @EventHandler annotation, as it allows for capturing events specifically in an Arena, rather than globally.

A list of all Arena events can be found in the org.battleplugins.arena.event package.

Here is an example of an Arena event handler:

@ArenaEventHandler
public void onInteract(PlayerInteractEvent event) {
    event.getPlayer().sendMessage("Interact while in Arena!");
}

Arena event listeners must implement the ArenaListener class rather than Bukkit's Listener class and rather than registered through Bukkit's PluginManager, they are registered through the ArenaEventManager. Here is an example of registering an Arena event listener:

Arena arena = ...; // your Arena instance
arena.getEventManager().registerEvents(new MyArenaListener());

It is important to note that the @ArenaEventHandler annotation will not work for every event. They can only listen for events that can capture a player (i.e. PlayerInteractEvent, PlayerMoveEvent, etc.) as BattleArena needs to know which Arena to fire the event in. Any event that implements PlayerEvent or EntityEvent will automatically be captured by this. If you wish to implement your own resolver to capture an event to an Arena, you can use the ArenaEventManager#registerArenaResolver method.

Creating Custom Event Triggers

BattleArena has multiple event triggers implemented by default used in the config. These include on-join, on-complete, and many others used throughout the plugin. However, you can create your own event triggers to use in the config.

In order to add your own, ensure your Event class implements the ArenaEvent or ArenaPlayerEvent class. The difference between the two is that ArenaPlayerEvent will only capture a single player, which is the player in the event (see on-join as an example), while ArenaEvent will be fired for all players in a competition (see on-complete as an example).

Once you have added the @EventTrigger annotation, then run ArenaEventType.create(<name>, <event class>) which will create the event type and allow it to be used in the config. Then, in order to trigger this, call your event through the ArenaEventManager visible in your Arena class.

battlearena's People

Contributors

redned235 avatar

Stargazers

 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  avatar  avatar

battlearena's Issues

Giving god onLeave

Is there a way to give Godmode back onLeave? I have my staff in god and would like them to get it back after they finish in the arena.

v3.9.9.18

Custom Lore on Class Items

As a user, the ability to give custom lore, or descriptions, on items in classes would be amazing. Colors, multiple lines, and utf8 characters support is essential for the optimal experience and customization of classes.

1.8 Suggestions: Regen, SB, Signs, Classes, etc

Better Regeneration System
I prefer either one that records all the actions that a player has done and reverts them after fifteen seconds after the game has ended, because of possible TNT explosions, or one that is based on AsyncWorldEdit, its an addon to WorldEdit allowing building, and regenerating to use less RAM and not freeze or crash the server, by only putting chunks and bits per tick instead of putting the whole thing. I use a very large map.

Better Scoreboard
I would like one that is very customizable, such as one that would show Wins, Losses, Money, and Players.

Customizable Signs
Although this is already possible to achieve by creating a game sign, deleting it, and putting another sign in the old one's exact location with your custom words, I would like it to be simpler and more customizable. There would also be variables, such as players and max players.

1.8 Title Support
If you win a game, there should be a 1.8 title saying, "You won!", or if someone else wins a game ,it would say, " won!". Of course, this should be customizable.

Per-Arena Classes
Instead of having global classes, there should be classes per arena, because you don't want the diamond shovel from spleef being used for team deathmatch.

Waiting Room Items
There should be waiting room items. One should be something like a clock, that kicks you out of the game when right-clicked. The other lets you choose classes (Per-Arena Classes Advantages Here).

This would be THE PERFECT MINIGAMES/ARENA Plugin.

Suggestion: Hide name tags from ArenaPlayer to other ArenaPlayer while in game

Hi there,

I love BattleArena and my server are using it to build fun pvp game happily, thanks a lot.

However, no matter how far the player is, we can still determine the player location and even distance by the name tag, we can hide the name completely while out of the game use minecraft scoreboard, but after onJoin the scoreboard had been overrided, I went into the code and guessing it is being override using TagAPI, or please let me know if I get it wrong.

So my suggestion is, using a config like blockBreakOff to put into the events so we can choose whether or not BA will override the name tag options.

Of course if it is a option like hideNameTag would be even better!

MineS

Battlearena2 problems - Stuck in match after leaving, no queue end if not enough players

Problems :

  1. Players sometimes cannot enter battlearena, it says they are in a match when they are not.
    1. If players are in queue in the waitroom and there are not enough players after the timestart, they stay in the waitroom forever and don't get removed from that queue. However, when new players join the same game, they are in a different queue. So this player gets left out forever.(or until /bg leave and /bg join again)

restoreItems apprears not to be working?

Here is my current config for Duel http://pastebin.com/XygVj91a
I have tried various ways, placing store & restore Items variable everywhere, and it NEVER restores items, not only that, but players often get placed on waypoints where they were in previous duel...please help, any dev version I should maybe use?

Item/Mob Spawn RS doesn't work

When setting up mob spawning in an arena the FS value sets fine. However no matter what I set the RS value to it always remains at -1 (no respawning). I know it works in older versions so I wanted to make sure you are aware of it.

Avoid damage from players not taking part in the arena

I have towns which have their own arenas and those arenas are open for others players to spectate, some players manage to get in the arena and even if the area is not pvp for towny and world guard, they can hit those in the match. I'm trying to avoid using barriers and others things not available for players to make it easy for them to make new arenas.

It is be possible to add this ? so nobody in the arena can get hit by players not participating?

Thanks.

KDR round to 2 decimal places!

Pls round the KDR to 2 or definable decimal places. It's not useful to display a KDR with more decimal places like 1.26748238294

BombArena - Wrong team spawns

SND -
When the bomb is moved , the teams get spawned on the opposite team spawns. This makes it hard to allow players to use class signs based on their team.

Suggestion: Some Uniformity accros yml and wiki related things.

Firstly I just want to clarify that even before writing this post

  1. I understand this plugin has changed and has multiple developers working on it
  2. That I dont at all intend this to be rude/ demanding.
  3. I am coming from a Non-developer standpoint and I refer to the Wiki and other yml files for reference.

Hello! Recently been attempting to Edit some of the Competition yml files on the server, and since they were from a old version and didnt want to risk using something outdated I took a fresh competitions folder from the JAR and started working on that.

However what I have found is the following:

  1. In the default folder (competitions) the format of the different competitions are written differently (example http://imgur.com/rFm6N1N and http://imgur.com/6gWiSsJ)
    and even though I know they achieve they same thing when I am looking though the different examples of competitions It can be confusing of what is correct and what isnt.
    If it could be possible to write them all in the same style of writing and even just ##comment the other options out I feel that could be a huge help!
  2. Again going along with the format thing, in Arena there is matchtime: 180 and in Battleground timing: {}
    I understand the correct way to use that is
    timing:
    matchTime: 180
    I found this out within the IRC (thank u Supa and Euphoria) but again I feel like that should be uniform with the Wiki and YMLs
  3. Some options shown in places and others not: Examples I have here are on this page the line I am looking at is "joinType: Queue" and apart from that one page there isnt much info about it nor is that line present in the defaultConfig.yml
  4. Stage Options consistency. I understand there are a lot of options when it comes to the different stages of the Match/Arena etc. However when configuring a YML it can be very confusing, just as an Example Lets say people have their items stored before a game and are givin items in match, Do we have to use the option [RestoreALL] during OnLeave or OnComplete ? Or is it such that if a person quits a game he isnt Completing the match so his items couldnt be retrieved?
    There are some (like OnFinish ) that are listed in the Wiki but not in the default config.yml?

Ik I have just been going on and on, but I hope you all know I am just trying to help out as much as I can, despite not knowing much coding-wize, I just feel if this uniformity for options already there are uniform it makes adding more and keeping track of them a lot easier.
I have prob missed out or messed some point up but feel free to ask me on here or the IRC
Cheers!
Verv

Scoreboard with KillLimit.yml not working?

I think i've found a bug (?) :

If i want to have a match with 1 player per team and a victoryCondition with KillLimit (KillLimit.yml)
the Scoreboard doesn't show the playername anymore but the teams (color).
With other victoryConditions like PlayerKills, HighestKills, Custom or nLives it shows the playernames!
If there is nLives in the config (not in victoryCondition but nLives with a number for respawn-count)
while victoryCondition is KillLimit the scoreboard shows both, the playernames and the teamnames/colors.
The kills only get counted in the teams row.
The players remain at 0 !

btw: there should be a setting for KillLimit per player AND per team...

BattleArena v4.0 List of New Features

This post is going to be a list of features that we want for BattleArena v4.0 (we have so many ideas that we want to implement that I feel we need a good way to keep track of them).

************************* BattleArena v4.0 Features: *************************

Refactor codebase
Refactoring makes it easier to add new features.
Platform independent
Allow BattleArena to be use with other server software like Sponge, Spigot, etc
Multi-Server Support
This is the most requested feature: "Bungeecord support." What this means is that when players are teleported from the lobby to the arena, they could also potentially be teleported to a different server. (Obviously configurable to also support a single server setup).
Multiple Rounds per Match
Currently, there is only 1 round per Match. It should be a configurable odd number of rounds (1,3,5,7) to prevent ties. If Admins mis-configure with an even number, then we should round up to the next odd number (add one). For example, if the arena is configured for 3 rounds, then the team that wins 2 rounds first will be declared the Match winner.
Medley
Medley is a mixture of game types: Instead of joining one game type, you can join a Medley and it'll be a random (or queue'd) game type after each match: DeathMatch, CaptureTheFlag, Domination/Conquest/Control, Sabotage/SearchNDestroy, HostageArena, BlutoniumArena, etc.
Invisible Spectators
Right now, spectating is defined as a location to view the match thru glass... But I think we should have invisible spectators inside the match (for a better viewing experience)... We just need to make sure that the spectators cannot interact with anything (esp damage-wise). At first, I'm thinking that spectators should be prevented from using chat because then, it opens up a possible exploit where spectators can give away an enemy location to their friends... but at the same time, they could simply do this anyways over Skype, TeamSpeak, or Ventrilo... So at the very least, this option should be configurable... maybe even off by default... so that Admins understand the implications of turning it on.
Custom Signs
Allow join signs to be customizable
MessageAPI
Allow extensions to inject their own MatchMessager / MessageHandler
Update Scoreboards
Make scoreboards a bit nicer looking, as well as eliminate some current bugs (showing incorrect player counts, etc)

************************* Requested Features: *************************

Configured ParticleEffects & API
For ItemSpawns, & ChestSpawns, have Particle Effects to make them easier to see.

Team invite acceptance Commands are hosed/Command help text wrong.

(Originally Reported by: Verv on 8/29/15 @ 1:50pm ET)
Team Commands seem to have changed unexpectedly at some point and the command message wasn't updated (in a while). Here's the Dirt:

  1. (Most Important) when accepting team invites the command use to be /team accept. this command no longer works. I found that /team join or /arenateam join work. /team accept is the preferred as it makes sense since your accepting an invite.
  2. The command help message is incorrect. Currently for the team creator as well as the invite recipient the help text says that to accept an invite the invitee will need to do /team add. This command does not work and to my knowledge hasn't worked since I started using the BattlePlugins 1-2 years ago.

Reward message for money unclear

When reward money is set, then player get the message:

You have been given
โ€“ 25.0 c

So, sometimes they think, that they lost money instead of getting.

Abusable glitch with MobArena

So I made a duel arena on my server, and problem is, players challenge someone for /duel, then they join mob arena, and send other player a message to accept the duel upon which BattleArena saves mobarena inventory as their inventory and they get to keep those items after playing battlearena match. Is there any way to disable commands usage like /ma while challenging someone to a battle?? Please help, thanks in advance

Teleporting to top block after battle

Platform: Spigot
Battle Arena Version: 3.9.10.4
World Guard Version: 6.0.0-snapshot.1582-
World Edit Version:6.0;3342-78f975b9
Permission Plugin: zPermissions
Other Plugins: N/A

Description: When a player stands too close to a wall or in a two-block high area and jumping, they get teleported to the top block, which can take them outside of the map. Would there be a way to change it in the config where it teleports them back to where they were, and not to the top block.

Info needed for Replication: Standing in a two block tall area, jumping, and joining a battle, when teleported out, getting teleported on top of the block your head was touching.

Players becoming invisible

Platform: Spigot 1.8.7
Battle Arena Version: v3.9.10.4
World Guard Version: 6.0.0-snapshot.1582
World Edit Version:
Permission Plugin: zpermissions
Other Plugins:
Description: Occasionally when a player joins a tourney they will become invisible, and they will have to re-log to fix it, /v does not fix it, and invisible potions are disabled so it would not be a player drinking one and going into a tourney.
Info needed for Replication:

arena alter (addregion)

sorry for my bad english ;,;
i want to add a region in my arena
when i do /ra alter lava addregion
i have select a region with we
arena battle put in the chat
ra setarenaoption [value]: you need to specify a game stage
ra setarenaoption [value] you need to specify a alterparamoption

Custom Item Names for Classes

As a user, the ability to give custom names to items in classes would enhance the game play of my arenas significantly especially when the arena has a back story behind it. The use of colors and utf8 characters in the name would be even more awesome.

NullPointerException on join

Tried to install BattleArena2 (BattleArena v3.9.9.13) on CraftBukkit version git-Spigot-fa7cbf9-00eba53 (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT).

No other plugins installed.
Logged in as Op.
No permissions set, not even 'arena.join.arena'. I think that I tried on another server with this perm set (PEX) a couple of days ago, but it didn't help - still a NullpointerException.

Step-by-step (creating simple arena):

  1. /arena create myarena
  2. /arena alter myarena 2
  3. /arena join myarena

However, when executing step 3 I get a null-pointer exception. Any ideas on how to resolve this issue.

Logs:
http://pastebin.com/CLkiWeTX

potential build issue

http://git.io/vG08O

These two dependencies mc.euro:BukkitInterface and mc.alk:worldeditutil have v1.1.1 of https://github.com/Europia79/Version included in their source code. So, right now, since its the same version, there's no issue. But this could potentially become an issue in the future if one of them wants to use v2.0 and the other one has v3.0... Both projects are being shaded into BattleArena... And both mc.euro.version.* lib classes are being relocated to the same package.

There are probably a variety of different solutions we could do. Just wanted to throw this out there now... So, as a team, we can decide how we wanna handle this dependency situation before it becomes a real problem.

ArenaConfig.yml defaults: [armorTeams] exception

http://wiki.battleplugins.org/?search=armorTeams&title=Special%3ASearch&go=Go
http://wiki.battleplugins.org/BattleArena/Options
http://wiki.battleplugins.org/BattleArena/Stage_Options

[18:13:37] [Server thread/WARN]: [BattleArena] Task #81 for BattleArena v3.9.9.18 generated an exception
java.lang.ArrayIndexOutOfBoundsException: -1
    at java.util.ArrayList.elementData(ArrayList.java:418) ~[?:1.8.0_45]
    at java.util.ArrayList.get(ArrayList.java:431) ~[?:1.8.0_45]
    at mc.alk.arena.util.TeamUtil.getTeamColor(TeamUtil.java:54) ~[?:?]
    at mc.alk.arena.competition.TransitionController.transition(TransitionController.java:224) ~[?:?]
    at mc.alk.arena.competition.TransitionController.transition(TransitionController.java:109) ~[?:?]
    at mc.alk.arena.controllers.containers.GameManager.onPreJoin(GameManager.java:154) ~[?:?]
    at mc.alk.arena.controllers.TeleportLocationController.movePlayer(TeleportLocationController.java:92) ~[?:?]
    at mc.alk.arena.controllers.TeleportLocationController.teleport(TeleportLocationController.java:45) ~[?:?]
    at mc.alk.arena.competition.TransitionController.transition(TransitionController.java:149) ~[?:?]
    at mc.alk.arena.competition.TransitionController.transition(TransitionController.java:109) ~[?:?]
    at mc.alk.arena.competition.TransitionController.transition(TransitionController.java:97) ~[?:?]
    at mc.alk.arena.competition.TransitionController.transition(TransitionController.java:59) ~[?:?]
    at mc.alk.arena.competition.Competition.performTransition(Competition.java:144) ~[?:?]
    at mc.alk.arena.competition.match.Match.startMatch(Match.java:450) ~[?:?]
    at mc.alk.arena.competition.match.Match.access$200(Match.java:105) ~[?:?]
    at mc.alk.arena.competition.match.Match$3.run(Match.java:401) ~[?:?]
    at org.bukkit.craftbukkit.v1_8_R2.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.8.3.jar-2015-05-08:git-Spigot-870264a-0a645a2]
    at org.bukkit.craftbukkit.v1_8_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot-1.8.3.jar-2015-05-08:git-Spigot-870264a-0a645a2]
    at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:720) [spigot-1.8.3.jar-2015-05-08:git-Spigot-870264a-0a645a2]
    at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:368) [spigot-1.8.3.jar-2015-05-08:git-Spigot-870264a-0a645a2]
    at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:651) [spigot-1.8.3.jar-2015-05-08:git-Spigot-870264a-0a645a2]
    at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:554) [spigot-1.8.3.jar-2015-05-08:git-Spigot-870264a-0a645a2]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]

Despite the documentation saying that the armorTeams option goes in defaults:, it generates an exception. Either the documentation is wrong (in which case, it would go into inGame:, onStart:, or onSpawn: instead), or this is a bug.

The bug is caused by the transition being ran BEFORE a Team has been assigned to the player.

ArenaPlayerEnterMatchEvent.getCompetition() returns null

This is not a critical issue for my usecase, but I thought I report it anyways, in case this is not intended:

Code to reproduce:
@eventhandler(priority = EventPriority.LOWEST, ignoreCancelled = true)
void onMatchJoin(ArenaPlayerEnterMatchEvent event) {
// event.getCompetition() returns null here
}

Haven't tested if changing the event priority makes a difference.

Parkour.

On the use of /pk join Jump! i already won as its checking for multiple players it seems and if 1 is left its done for...

I added compatible arenaparkour to the server and used the config it said to use for solo runs.

I made a solo world within the games server A void world, made a small box of quartz with a fire floor incase people fall, since there are no respawns if you fall below 2-3 blocks from where u should land, and only respawn on death. I done the command /parkour create Jump! then set my checkpoint with /pk acp 2 somewhere on a diff block and /pk avp(victory) 1 on a block about...10 blocks away from the starting point. On join it starts a timer as if to have it compete against others while a stand alone was ment to happen you just join and run for yourself, not to compete. On the use of /pk join Jump! i already won as its checking for multiple players it seems and if 1 is left its done for...

I didnt change the config in any way except for:

Let everyone play solo
Copy this ParkourConfig.yml and paste into your ArenaParkour/ParkourConfig.yml
Afterwards just do /pk reload

http://dev.bukkit.org/bukkit-plugins/arenaparkour/#comments

Here an add-on on the config i have: http://pastebin.com/2gjM7Myk

For an even better example just join us.

So to reproduce: Make a void world with mutliverse
Create a box of...24x26 and 11 in heigth
image
Type in /pk acp Jump! 2 where the gold pressure plate is
Then /pk avp Jump! 1 to the blocks 2nd block away from the creeper

Added in is a picture of the inside. on the 2x2 you spawn, the golden pressure plate is a checkpoint and the block on the far right (2nd block to the right of the creeper) is the victory block.

This incase you wanna remake this entire arena to really reproduce

For more questions just ask :)

Incompatibility with WorldGuard 6.x/Spigot 1.8

BattleArena is currently not compatible with WorldGuard version 6 and higher. Without WorldGuard, you are unable to create new arenas, as well as a slew of other issues. This is being worked on, and should be fixed soon.

Edit: Due to some errors in my test server I falsely came to the conclusion that you are unable to create arenas with WorldGuard v6.x. That being said, BattleArena will not enable properly with WG v6.x installed, so either way you are left without functionality.

Inventories going missing after matches

Multiple users have reported that after their players' inventories are not being restored after matches. Evidence in multiple comments on the BattleArena2 page, as well as IRC.

(Details coming soon, just created this real quick as a place holder)

[Suggestions] Things i like to see added.

Hey we spoke a while ago about custom potion in BattleArena, You said add as suggestion so i made a list of things i would love to see added in BattleArena or the plugins it supports.
Sorry for the long list :)

Pets:
More Customization with pets (Dogs)
Set health.
Respawn after out of combat.
Maybe other mobs as pet? (Skeleton slave, zombie slave etc)

Potions:
More customization (Time, Strength) of normal and splash potions. (the item they hold in there hands)
Multiple effects on one potion.
Potions -> Team only for + Positive effect
Potions -> Enemy only for - Negative effect

Sounds:
(For only the players playing in the arena)
On flag pick-up
On flag drop
On flag return

Events:
Custom effect on player on flag pick-up (Removed on flag drop)
If both teams hold opposite flags after certain amount of time they get negative potion effect. (Flag hold time total, not of only that player)
On respawn a short period of time the player can't take damage. (Respawn protection)
Allow players to be teleported to a certain spot after battle is finished. (I want player to return to spawn on finish)

Scoreboard (on right side of screen):
Keep stats of player (K/A/D) of that game. (don't think BattleTracker does this)

Banner:
Use of the 1.8 added banner for teams. (as head, like essentials does when you /head. To replace wool if posible)
Or use banner as replacement for the wool block (flag) in CTF.

Restore Items works Most of the time

In the config I have this line set to
numberSavedInventories: 10
And once a player reaches this limit, their inventory doesn't always restore. Often they have to enter a second duel and win it to have their inventory restored from the previous duel.

My setup includes
BattleArena 3.9.10.4
Spigot 1.8.8
WG 6.1.1 Snapshot
PlotSquared 3.1.3
mcMMO 1.5.03
and PvPManager 3.0 snapshot -b143

[Suggestion] Chests with random items

I think random items can really help many game types and arenas, and can help imitate minigames like skywars, hunger games, etc.

One way I think it can be done is to have a command like "/arena [id] addItem [item name] [chance]"
that will add items to a list.
and an arena option of "itemsPerChest=2-5"
when the match starts look for all chests in the region and add to them 2-5 items from the list using the % chance.

I think it will be nice if this will NOT reset/empty the chest, just add to them, so we can add special rare loot in some hidden chest (say, enchanted diamond sword) and it would stay there.

BattleTracker 2.5.8.10 pushing NoClassFound Errors

Platform: Spigot v1_8_R2
Battle Arena Version: v3.9.9.18
World Guard Version: v6.0.0-SNAPSHOT.1605-dfad4b0
World Edit Version: v6.0.2-SNAPSHOT;3370-58aac973
Permission Plugin: PermissionsEx v1.23.2
Other Plugins: I don't believe any other plugins would affect this. If I am mistaken, I will be happy to report back with other plugins I am using.
Description:
Info needed for Replication: I created a Rating sign for the Arena I had created using the format 1st line:[Arena] 2nd line: [Rating]. The ratings automatically generate when the sign is created, and from what I read about regarding the plugin, I am supposed to be able to right click the sign and get my personal stats. However when I try to do this I get this error: java.lang.ClassNotFoundException: mc.alk.util.compat.v1_8_R2.SignHandler. When I looked over the compilation of the plugin, the highest class found under mc\alk\util\compat was v1_7_R1.SignHandler. Is this simply a matter of waiting for an update or is there something else I can do?

Waitroom dont work

BA version: [BattleArena_v3.9.9.18]
Server version: CraftBukkit version git-Spigot-2ec6f06-7722428 (MC: 1.8.3)
Game config: http://pastebin.com/89kRM2h4

I configured the game and i created a waitroom, player when clicks on sign, will be teleported correct to waitroom and countdown start, but for example i make 3 player join, only 2 player are really in game (i see them in scoreboard)...and that one will be stucked in waitroom... what i have to do?

Scoreboard disappears on v3.9.10.4

When playing in an arena with multiple lives, after you die the first time, the scoreboard vanishes and you cannot see who is still in-game. Thanks.

Running Spigot 1.8.7.

arenas.yml params override section.

arenas.yml has a section called params: which is supposed to override values from {ArenaType}Config.yml.

However, doCommands values are not working for this section.

And adambor reported that the Scoreboard is not displaying the correct number of players: it was displaying the value from FutbolConfig.yml, not the overriden value from arenas.yml params section.

Class signs too restrictive

Says I cannot change classes after switching items, when I haven't switched items... Very hard to change classes

onKill

http://dev.bukkit.org/bukkit-plugins/battlearena2/#c282

Feature Request: Add an "onKill" Event and KillStreaking system (Killstreaks are optional but for PvP modes with infinite Lives, it should be a must). I just need the onKill event to give bonuses and mostly money (points) for each kill. - Maxetto

Example, /plugins/BattleArena/competitions/ArenaConfig.yml

Arena:
  onKill:
    doCommands:
    - console tell player Kill recorded !!!
    options:
    - health=20.0
    - money=1.0
    - experience=1000
    - giveItems
    giveItems:
    - arrow: 10
    - diamond: 1

Just transferring the suggestion from Bukkit Dev comments section to github. As you can see from the picture, this is already completed. Will upload when I get time.

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.