-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Group signs stop working on server-restart. #513
Comments
0.17.4 was a hotfix for 1.13.2 support, where group signs among many other things did not work. It did not address the data loss bug. This one has already been described in #447. Thank you anyway for the report, it would really be helpful if you could show me the content of your data.yml file before, after reloading and after reloading for a second time. Are there any stacktraces? |
Ill send u the data when i got time. |
Oh, i just watched into #447. |
Thank you! A stacktrace is an error message in the console, that might look similar to this:
You should easily be able to find them in your log file by Ctrl+F searching for "at de.erethon.dungeonsxl". |
So, im collecting the data right now:
Data after Reload:
Data after 2nd Reload:
Then i waited about 10 minutes, did /save-all and restarted the server by /stop and starting up again. After restart the signs DON'T work and the data.yml looks like this:
Then i reloaded the plugin after the restart (sign didn't work so i just reloaded for data catching)
No errors/stacktrace's at all in screenlog.0 |
I hope it's no problem that it messed up the formatting.... |
No problem! This is very interesting, thank you once more. |
Could you please try it again with this special debugged build: http://feuerstern.bplaced.net/files/dungeonsxl-0.17.5-SNAPSHOT.jar and show me the console log when the earlier created signs do not work but before reloading? There should be a section starting with "=== LOADING GLOBAL DATA ===". |
Here it is, It worked! |
WOW thanks for your help!! i changed those settings: And now it works!!!! My signs are persistent after restart!! Im happy for now, thanks, but still you maybe should look to implement loading all data not only the data of the "main" world. If you're still not sure what is causing this you can ask me for more data. I'm glad i can help =). |
It seems the issue is that DungeonsXL checks if there are any protections saved for any of the loaded worlds. If the world manager, in this case Multiverse, is enabled after DungeonsXL, then there are obviously no custom worlds at this point and the protections aren't loaded... The easiest fix for now is to add Mutliverse-Core to the list of soft dependencies (this can be done in the plugin.yml file by opening the .jar with a tool like WinRAR), but I'd rather recode it to load the protection locations lazily sothat it doesn't matter if the worlds are known when the data file is loaded. It might take a few days until this is done. Thank you again for the testing. |
Fixed! The changes are included as of dev build 700. http://erethon.de/repo/de/erethon/dungeonsxl/ |
Awesome! Tested it and now it loads the custom worlds properly! |
It is not being worked on at the moment - at least not by me. Discussions and contributions may be posted here: #152 |
Expected behavior
Group-signs work after server-restart
Actual behavior
If i create a DXL sign in my main world like this:
[DXL]
Group
Crash
3,Crash,3
It works completely fine.
Then i do /dxl reload to store all data and wait until the next auto-server restart.
When i try to use the group sign then it doesnt work. It still is a sign with green color and "Join Group" but it doesnt work anymore.
The signs inside the dungeons work completely well! (Except Wave-Trigger but thats another issue i will open)
I tried 0.17.4 and your 0.17.5 Snapshot. And deleting my complete DXL folder.
Steps to reproduce
Creating a group sign, reload, wait until restart and try to click it again.
Possbile plugins that cause interference:
-EssentaislX
-WorldEdit
-WorldGuard
-CoreProtect
-ViaVersion
-LuckPerms
-Multiverse-Core
-Vault (possibly not but ill still tell you)
Spigot Version: 1.12.2
Bug Present since: Half year.
I looked on all other Issue_tickets to this Problem but i found no solution, there you said you fixed that in 0.17.4 but it still doesn't work for me!
Explanation of the requested feature
Possible use cases
The text was updated successfully, but these errors were encountered: