Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

player-queue interferes with other plugin arenas. #110

Open
wiigor opened this issue Dec 14, 2013 · 0 comments
Open

player-queue interferes with other plugin arenas. #110

wiigor opened this issue Dec 14, 2013 · 0 comments

Comments

@wiigor
Copy link

wiigor commented Dec 14, 2013

Introduction:

The enable-player-queue is a great feature, so people can join automatically instead of being only disappointed that they cant join an arena where the game is currently busy.

Problem:

However people tend to join other plugin arenas (pvparena, spleef and dozens of other arena plugins) while they wait for the new survivalgame to start. If the survival games start, they will be teleported to the survivalgame arena, while they are still in the other minigame, this leads to many issues like having the minigame inventory of the other plugin, and losing their original inventory.

proposed solution:

Solution A (simple)

If a player executes a command:
-check if he is in the player-queue.
-If true, use the same command whitelist command as when he is in an active survivalgame arena.

Solution B (somewhat more complex, but this would be a better solution for me)

If a player executes a command:
-check if he is in the player-queue.
if true, allow the command unless its a queue blacklisted command.

this will require the addition of a command blacklist for queued players. because
as opposed in the game itself most commands will be allowed only the arena commands will not, while in the game you want to disallow all commands by default and some not.

The B solution will allow people to place arena like commands in the blacklist so people wont be able to join other arenas while they are waiting for a survivalgame session to start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant