Re:Glowstone: open-source Minecraft server
by nly on Thursday November 23, 2017 @07:29PM
(#15768770)
Also, writing a plugin system that plays nice with threads is going to be a pita.
[ Parent
| on HN ]
Re:Glowstone: open-source Minecraft server
by SpaceManiac on Thursday November 23, 2017 @08:19PM
(#15768890)
This is the big one. Glowstone was designed to be a native implementation of the Bukkit API (back when it was still on top), and I assure you that that API, and thereby every plugin built against it, makes some heavy single-threadedness assumptions.
Even if you conceive an API from scratch, Java hasn't the tools to prevent plugin authors from doing things they shouldn't in this regard.