[BUGS]
We are using this repository for a Minecraft server and there are several sections that do not work well for us:
javaServer.stop(): void Does not stop the server correctly. We are currently using javaServer.send('stop') to stop the server properly.
javaServer.on('stop', () => void) It is not executed when the server is stopped with javaServer.stop() or with javaServer.send('stop')
javaServer.on('login', (event: {player: string; ip: string;}) => void) It is not executed when a user logs in to the server
javaServer.on('logout', (event: {player: string; reason: string;}) => void) Does not run when a user logs out of the server
[SUGGESTIONS]
- Add to
javaServer.on('achievement', (event: {player: string; achievement: string;}) => void) the description of the achievement
- Add
javaServer.on('death', (event: {player: string; reason: string;}) => void) as an event to be able to log in when a player dies and the reason
- Add
javaServer.restart(): void to be able to restart the server in case of internal problems. Something similar to doing javaServer.stop(): void and javaServer.start(): void, but in less code.
[BUGS]
We are using this repository for a Minecraft server and there are several sections that do not work well for us:
javaServer.stop(): voidDoes not stop the server correctly. We are currently using javaServer.send('stop') to stop the server properly.javaServer.on('stop', () => void)It is not executed when the server is stopped with javaServer.stop() or with javaServer.send('stop')javaServer.on('login', (event: {player: string; ip: string;}) => void)It is not executed when a user logs in to the serverjavaServer.on('logout', (event: {player: string; reason: string;}) => void)Does not run when a user logs out of the server[SUGGESTIONS]
javaServer.on('achievement', (event: {player: string; achievement: string;}) => void)the description of the achievementjavaServer.on('death', (event: {player: string; reason: string;}) => void)as an event to be able to log in when a player dies and the reasonjavaServer.restart(): voidto be able to restart the server in case of internal problems. Something similar to doing javaServer.stop(): void and javaServer.start(): void, but in less code.