LuckPerms

LuckPerms

905k Downloads

Error when stopping the fabric server due to incomplete initialization without JVM restarting

astro-angelfish opened this issue ยท 0 comments

commented

Description

This issue seems to be duplicated with #3405, but became more serve because I've installed a world backup mod QuickBackupM.
When trying to rolling back the world, LuckPerm throws the error on starting up because JVM did not shut down and crashes the server and freezes the server when shutting down on crash.

Reproduction Steps

Install the QuickBackupM
Install LuckPerms
Backup with /qb make
Rollback with /qb back 1 and /qb comfirm
LuckPerm throws the error and crash the server.
Enter the world, the world has been partially rolled back.

Expected Behaviour

LuckPerms correctly handles the exception, no crash occurred and world rolled back correctly.

Server Details

[email protected]+1.20.1 (MC1.20.1)

LuckPerms Version

v5.4.102

Logs and Configs

https://pastebin.com/CYFUjnj5

Extra Details

Examples of partial rollback I've met:

  • Player inventory not rolled back

The backup mod restarts the server immediately by invoking MinecraftServer#runServer at https://github.com/SkyDynamic/QuickBackupM-Fabric/blob/main/src/main/java/dev/skydynamic/quickbackupmulti/QuickBackupMulti.java#L49-L50. Maybe luckperms needs to re-initialize itself completely. Also reported as compatibility problem as https://github.com/SkyDynamic/QuickBackupM-Fabric/issues/4 (Chinese)

I'm unable to reach the newer version of LuckPerm because I'm playing on 1.20.1