aarontwf / BattleNight-Core

The main CraftBukkit plugin.
http://dev.bukkit.org/bukkit-plugins/battlenight/
5 stars 5 forks source link

Armor/Weapon/Etc Duping #47

Closed JumanjiCraft closed 12 years ago

JumanjiCraft commented 12 years ago

When a single player joins and leaves the battle arena they are able to dupe the battlenight system and get free armor. I've had a player dupe the system to get lots of chainmail and diamond swords, diamond armor and much more.

aarontwf commented 12 years ago

Ok, I'll have a look at this when I get my laptop back.

aarontwf commented 12 years ago

Try this and let me know if it is fixed: http://bit.ly/bnlatestdev

JumanjiCraft commented 12 years ago

That's fixed it. The only problem now is that with a dual creative and survival world, players that join from the creative world, when they leave the arena, or finish the arena, are TP'd back to the location of the survival world (where battlenight tells them to go after the fight or arena ends) with their entire creative inventory. In other words, players are able to join from Creative, leave the arena, re-enter Survival, and have the inventory they had in creative. There are three fixes i can think of for this. 1. Prevent players from entering the arena if they aren't in the world that the arena is in. 2. Disable entering the arena per world (by world name), perhaps with a command or config setting. OR 3. allow the creation of an exit location for the arena in each world on the server.

JumanjiCraft commented 12 years ago

No. 3 is my least favorite as we have a lot of worlds.

aarontwf commented 12 years ago

Number one is possible at the moment by only adding the "battlenight.user" permission to the worlds you want people to be able to join in and make sure "UsePermissions" in the config is set to true.

JumanjiCraft commented 12 years ago

yeah that did it thanks! everything works swimmingly

aarontwf commented 12 years ago

Good to hear, I have just made a new dev version as an attempt to fix this issue. It can be downloaded with the same link.