Quantcast
Channel: BungeeCord Discussion
Viewing all articles
Browse latest Browse all 3776

Event system. Async?

$
0
0
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

Viewing all articles
Browse latest Browse all 3776

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>