Open eehunter opened 1 month ago
Hi eehunter, thank you for checking! I'll add a note to the readme in a few days, when I have time.
Actually, the restart command is present but doesn't seem to work on my forge pack. I'll close this issue for now, but I may make a pull request at some point to fix whatever is causing this.
To elaborate, Brigader throws an error whenever I try to use the command on my forge pack. If the command is sent by an OP it's a ConcurrentModificationException, and running from the console gives a different error.
I might port the mod to (Neo)Forge eventually, would appreciate a fix in the meantime though!
Is this mod specific to Windows? The ConcurrentModificationException happens when I run the command with a player online, but if no players are online then there's an error that says something like "no program 'cmd' can be found". My server runs Ubuntu 20.04
This mod is not specific to Windows, though you need to configure the command line to use in the config file (.minecraft/config/restart-server.json
).
Ahh, so maybe it does work on Connector. So perhaps the only issue I need to worry about patching is that ConcurrentModificationException.
Might be related to #24, which version of Minecraft are you playing on?
1.20.1
Actually, if I do a pull request, I bet I could add a config option so that it could automatically detect the host operating system and use the correct command by default.
Seems like it's not related to that issue I linked then. Feel free to try making a PR, would appreciate it!
The FAQ section on Modrinth says that a Forge port is not planned, however it does not mention that, based on cursory testing I have done, the mod appears to work on Forge using Sinytra Connector. I'll do further testing and update this issue if I find any bugs with it on my Connector-based pack, but as of now I can say the game loads and the restart command appears correctly.