Closed mibby closed 10 years ago
Is this still an issue?
Sorry for getting back to you so late. This is no longer an issue. Seems to have been fixed in one of the newer builds.
Considering the time it took me to respond, I don't think you owe anyone an apology for taking a few days to respond ;) I'm not sure when I may have accidentally fixed this, but the code does look like the spectators are denied commands just like the arena/lobby players.
Players can use commands when forced into spectator mode upon being killed inside the mobarena. Thus players are able to type "/back" to get back inside the arena. I propose while in spectate, block all commands except whitelisted ones in the config exactly how mobarena blocks all commands when in the arena except of course mobarena commands and whatever was added to the whitelist. This way, players can't abuse commands while spectating to try to get back inside the arena, thus they would have to leave the mobarena spectate (/ma leave) to type commands again.
Alternatively, have it so if a player walks inside the mobarena battlegrounds region, teleport them back to spectator spawn?