Comments (8)
Thanks for the report, I will see what I can do to remedy the shutdown code after I get back from work
from mmcreboot.
https://ore.spongepowered.org/leelawd93/MMCReboot/versions/2.3.3
I hope this works better for you
from mmcreboot.
Hello again, I have tested latest build and there is a problem that whitelist always keeps to be enabled after restart. Also I have checked logs, it seems that kicks before restarts are working but "left the game" messages are printed in log after save-all command. I think it is ok, maybe player disconnect is not an instant action and it is async/other thread blocking operation, I am telling it just in case. Main problem is persistent whitelist.
Here is the log screenshot just in case
from mmcreboot.
I removed the whitelist for now and added a 1 second delay between the kicks and save just in-case. I'm not sure why its forcing the whitelist on constantly as it wasn't doing it on my test setup but cannot force it off after the save and before shutdown in-case a server is actually using a whitelist feature
from mmcreboot.
Hello again, tested it now. Now during restart there is IllegalMonitorStateException (I think it is related to delay between kicks and saving). If you need full latest.log feel free to ask me, I will post in pastebin. If it is not simple to implement delay, I think it is okay not to implement it at all, assuming that server rejects any client packets after kick method was executed, and it just has delay to close socket. If you want I can clarify it on sponge discord server to help as I can.
from mmcreboot.
Yea, I will revert it as soon as I get home in around 6 hours. It shouldn’t cause any issues but I’ll test a few things out on my end and see if I can get anything to work smoothly enough
from mmcreboot.
Ok, my apologies for the wierdness happening, This should have the fixed delay
https://ore.spongepowered.org/leelawd93/MMCReboot/versions/2.3.4
from mmcreboot.
Sorry for the delay, I have tested latest build with 20 players online. The delay between kick and saving is working (according to the logs). Thank you very much for help.
from mmcreboot.
Related Issues (20)
- Won't schedule a reboot HOT 1
- having in issue were running your command to restart the server crashes HOT 3
- Server not restarting automatically on 1.11.2 API6 HOT 4
- Multi commands in restart? HOT 1
- Tick reboot cancel issue HOT 1
- Server not restarting after stoping HOT 1
- Server not restarting automatically on 1.12.2 API7 HOT 7
- restart options HOT 3
- Doesn't seem to work with Multicraft HOT 1
- Server doesn't restart after a reboot. HOT 1
- Plugin only works on server which use a panel like multicraft HOT 2
- Server restart showing negative values on client.
- Could not pass FMLInitializationEvent to Plugin HOT 3
- Only shutting down server? HOT 4
- Server only shutting down HOT 2
- Add zh language file. 添加ZH语言文件。
- Auto restart HOT 1
- Apex Crash
- when i try to join my server it keeps crashing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmcreboot.