I've read the BungeeCord event system is not like Bukkit one. Also I've seen an AsyncEvent event.
It seems that BungeeCord events are async so when 2 players connect/disconnect/send plugin data the events can be called from 2 different threads, so I must use mutexes when needed.
I don't know if this is true so I would like to ask if someone knows something about this before adding mutextes all around my code, because, you know, that's a pain in the ass xD
It seems that BungeeCord events are async so when 2 players connect/disconnect/send plugin data the events can be called from 2 different threads, so I must use mutexes when needed.
I don't know if this is true so I would like to ask if someone knows something about this before adding mutextes all around my code, because, you know, that's a pain in the ass xD