kangarko / CoreArena

A high-end monster arena Minecraft plugin with procedural damage and RPG system. Maps included!
https://www.mc-market.org/resources/21643/
30 stars 12 forks source link

Class limit per arena #401

Closed Raesak closed 3 years ago

Raesak commented 3 years ago

Can we get an option in the arena configs to add limitations to class selection? For example a maximum of 10 archers and 10 warriors in the specified arena.

This will help limit the potential abuse of classes without having to limit the usability of the class. For example if I want players to be able to upgrade the archer to have a stack of explosive arrows, it would be a bit of a mess if like 30 players choose that class. There would be nothing but explosions. The class and arena would be completely imbalanced when that happens. Reducing the amount of arrows would only make it less usable.

kangarko commented 3 years ago

Thanks, however I don't have the resources to implement this right now, CoreArena is open source so anyone can take over this task

LeehamElectronics commented 3 years ago

@KasearMC this is already possible using something like Citizens NPC, simply have 20 NPCs, for example 10 NPCs run /class Archer and the other 10 NPCs run /class Tank.

And when player clicks on them it gives them the class, but it also teleports the NPC away to another location so it can not be chosen again. Then at the end of the arena simply have all the teleport commands run again causing the NPCs to TP back ready for the next game.

Then just deny them access to the class GUI.

Anything is possible with a bit of customisation👍👍

Let me know if this helped you at all. Would it be worth mentioning this in the Wiki @kangarko ???