Arenax1
A plugin that allows you to duel with other players in a configurable arena without other players
Compatible plugins: SimpleClans - (the same clan players can attack during x1)
Commands:
Player commands:
- /x1 duel [player]
- /x1 accept [player]
- /x1 reject [player]
- /x1 gui - open ArenaX1 GUI
permission: arenax1.user
Admin COMMANDS
- /x1adm create [name]
- /x1adm remove [name]
- /x1adm pos1 [name]
- /x1adm pos2 [name]
- /x1adm setlobby
- /x1adm list
permission: arenax1.admin
Features:
- Multiple arena
- Editable language -> Because my english is horrible :)
- Send player to spawn or editable lobby on he death
Servers using this plugin: tinycraft.servegame.com:25566
If your server use this plugin, please leave a comment!
Config:
Time before player is teleported START_WAIT_TIME: 5 Time before one player death ENDING_TIME: 10 Time to the arena close if any player death DEFAULT_REMAINING_TIME: 500 Time to wait on duel accepted DEFAULT_ACCEPTED_WAIT: 5 Time to invite expire DEFAULT_EXPIRE_TIME: 60 Language PT-BR, EN-US LANGUAGE: EN-US Dont change this, please VERSION: 1.0
Please, create an ticket if you found an error, or translate this plugin for more idioms
Future features:
- Money support (/x1 duel [player] [null/money]
- New duels: 2x2, 3x3, simpleclans support (clanXclan)
Gui support
- You have more ideas? Please, tell-me :)
The plugin is very good, but there is any chance to add an option do select the arena pls?
Where can u find the translation yml?
[18:39:43] [Server thread/ERROR]: Could not pass event EntityDamageByEntityEvent to ArenaX1 v0.3.2 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) [spigot.jar:git-Spigot-fdc1440-53fac9f] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot.jar:git-Spigot-fdc1440-53fac9f] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-fdc1440-53fac9f] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-fdc1440-53fac9f] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callEvent(CraftEventFactory.java:86) [spigot.jar:git-Spigot-fdc1440-53fac9f] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:552) [spigot.jar:git-Spigot-fdc1440-53fac9f] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:465) [spigot.jar:git-Spigot-fdc1440-53fac9f] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:584) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.EntityLiving.d(EntityLiving.java:1101) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.EntityHuman.d(EntityHuman.java:859) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.EntityLiving.damageEntity(EntityLiving.java:742) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.EntityHuman.damageEntity(EntityHuman.java:800) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.EntityPlayer.damageEntity(EntityPlayer.java:496) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.EntityArrow.t_(EntityArrow.java:242) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.World.entityJoinedWorld(World.java:1607) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.World.g(World.java:1582) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.World.tickEntities(World.java:1425) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.WorldServer.tickEntities(WorldServer.java:597) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:785) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:653) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:556) [spigot.jar:git-Spigot-fdc1440-53fac9f] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51] Caused by: java.lang.NullPointerException at br.com.tinycraft.arenax1.arena.Arena.isInArena(Arena.java:103) [?:?] at br.com.tinycraft.arenax1.executor.ArenaExecutor.getPlayerArena(ArenaExecutor.java:100) [?:?] at br.com.tinycraft.arenax1.listener.PlayerListener.onPlayerDamageEvent(PlayerListener.java:86) [?:?] at sun.reflect.GeneratedMethodAccessor644.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_51] at java.lang.reflect.Method.invoke(Method.java:497) [?:1.8.0_51] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) [spigot.jar:git-Spigot-fdc1440-53fac9f] ... 22 more
My server is using this plugin... nightmarepvp.minecraft.srv.br
@NumeroUnoBaby
Yes, but you receive an anvil sound if you try send an request to yourself... But i remove that, and add an way to accept in the gui...
the request of other players will be in the last 18 chest slot
Sorry for english
Hey there was a bug with the GUI. I can send a request to myself. Can you make it to show only other players. And I wish there was some way to accept it in the GUI ):
@Xofter
this happens every time you duel someone, or only sometimes?
Update:
This error occurred because you changed the name of the world, and the plugin has not, at least when support for it ... You can go in the configuration file Arenax1 / arenas.yml and change the world: NAME by current name... or delete and recreate then
Sorry for english...
[00:32:46] [Server thread/WARN]: [ArenaX1] Task #7 for ArenaX1 v0.1 generated an exception java.lang.NullPointerException at org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer.teleport(CraftPlayer.java:460) [spigot.jar:git-Spigot-fdc1440-53fac9f] at org.bukkit.craftbukkit.v1_8_R3.entity.CraftEntity.teleport(CraftEntity.java:224) [spigot.jar:git-Spigot-fdc1440-53fac9f] at br.com.tinycraft.arenax1.executor.ArenaExecutor.createX1(ArenaExecutor.java:75) [?:?] at br.com.tinycraft.arenax1.invite.InviteManager.run(InviteManager.java:150) [?:?] at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) [spigot.jar:git-Spigot-fdc1440-53fac9f] at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:722) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:653) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:556) [spigot.jar:git-Spigot-fdc1440-53fac9f] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51]
Getting this error
@Xofter
Ah, ok
i check that soon, sorry
@Manolo8 Nah i mean after the the teleport to spawn, you get the message wait nick seconds, not after the fight is won. Meaning you get the right message when you win, and you get a douple message after you teleport to spawn
@Xofter
That is for the player can get all dropped items... But i will add an personal pvp config, and the player can edit then and send /x1 duel nick [x1personalconfig] he can bet money, set if will lose or not your's items The target player receive an message it this config example:
"nick invite you to an duel duel config: keepItems: yes betMoney: 10000" ...
And server owner can set default pvpconfig... or create more
Sorry for this english :(
Found a couple of bugs, first one is when you win/lose you spawn in spawn right? and when that happens everyone gets a message in chat wait nick seconds, for example Wait Xofter seconds. For example you win a match, get teleported to spawn and in chat it says "wait xofter seconds" Secondly, i dont know how to work around this, but if you for example disconnect while you won the match, and the timer (teleport timer) isnt up yet, and log back in, you're still in the arena. That way it can stack up and all the arenas can be full without anyone fighting in them
@Xofter
use JDGUI add bukkit.jar library 1.5.2 +
@Manolo8 just what i was looking for :) would you mind sharing the source code?
@Azen0x
end of game?
ok, i add that
Can you add Lobby point (/x1 setlobby) and teleport here at the and of the game ?
@NumeroUnoBaby
Your suggestion was added
but a little different, I do not see any way the other player accepts the invitation with a GUI, but maybe add a GUI for all calls that the player has
sorry for English :(
Thanks! I will do a plugin review video on it when it's out
@NumeroUnoBaby good suggestion, I'll do it soon
Nice plugin! But I want to suggest a feature. Can you add the feature where players can click on an item that will open up a GUI. And inside that GUI there are name tags with names of all the players in that world. Players can then click on which player they want to send a request to and the other player can click on the nametag (maybe change the item after a request has been sent) to accept it. Maybe add a lore of who is already in a game, and maybe "sent request", etc.