03-11-2015, 08:58 AM
(This post was last modified: 03-11-2015, 09:06 AM by DiamondToaster.)
Well, if a Player relogs, then the plugin kicks him from the arena automatically to prevent him from being able to log back in and win. When the entire plugin is reloaded, the current game data is lost and kicks everyone to prevent interference with people being stuck/entering arenas. A very rough and hackish solution to a weird problem. Also, the Smash Bros. plugin had a more "dedicated server" approach so it doesn't expect any other plugins to be present. That will be fixed with my rewrite.
Also, I'm having a really weird bug that I can't seem to fix, if anyone wants to look at the GitHub repo, feel free to point stuff out.
https://github.com/DevToaster/MCArena
EDIT: Never mind, I found the problem. I forgot tables passed values in reference and not in pure values which caused the auto-updating. Silly me.
Also, I'm having a really weird bug that I can't seem to fix, if anyone wants to look at the GitHub repo, feel free to point stuff out.
https://github.com/DevToaster/MCArena
EDIT: Never mind, I found the problem. I forgot tables passed values in reference and not in pure values which caused the auto-updating. Silly me.