MinecraftServerControl / mscs

Powerful command-line control for UNIX and Linux powered Minecraft servers
https://minecraftservercontrol.github.io
BSD 2-Clause "Simplified" License
479 stars 61 forks source link

Forge Mods enabled #298

Closed justincm closed 2 years ago

justincm commented 2 years ago

Is there a way to see if the mods have loaded in mscs forge?

Also would quoted mods e.g "Flan's Mod" be acceptable?

zanix commented 2 years ago

Forge itself would need to have a console command to list loaded mods. I tried to find that info but I was not able to see a list of commands. I think Forge will output the list when it starts up so it might be in the log.

justincm commented 2 years ago

The log on startup its fairly empty

[16:24:43]` [Server thread/INFO]: Starting minecraft server version 1.12.2 [16:24:43] [Server thread/INFO]: Loading properties [16:24:43] [Server thread/INFO]: Default game type: SURVIVAL [16:24:43] [Server thread/INFO]: Generating keypair [16:24:43] [Server thread/INFO]: Starting Minecraft server on *:25584 [16:24:43] [Server thread/INFO]: Using epoll channel type [16:24:43] [Server thread/INFO]: Preparing level "forge12" [16:24:44] [Server thread/INFO]: Loaded 488 advancements [16:24:44] [Server thread/INFO]: Preparing start region for level 0 [16:24:45] [Server thread/INFO]: Preparing spawn area: 11% [16:24:46] [Server thread/INFO]: Preparing spawn area: 64%

[16:24:46] [Server thread/INFO]: Starting GS4 status listener [16:24:46] [Query Listener #1/INFO]: Query running on 0.0.0.0:25584

sandain commented 2 years ago

I could be wrong, but that appears to be a normal Mojang server. Could you please provide the mscs.properties file for this world?

justincm commented 2 years ago

mscs-enabled=true mscs-client-version=1.12.2 mscs-server-version=1.12.2 mscs-server-jar=forge12/minecraft_server.1.12.2.jar mscs-server-url= mscs-initial-memory=1024M mscs-maximum-memory=3048M

justincm commented 2 years ago

sorted

justincm commented 2 years ago

using forge file now and using java 8 for forge only

justincm commented 2 years ago

mscs-enabled=true mscs-client-version=1.12.2 mscs-server-version=1.12.2 mscs-server-jar=forge12/forge-1.12.2-14.23.5.2855.jar mscs-server-url= mscs-initial-memory=1024M mscs-maximum-memory=3048M mscs-server-command=/usr/bin/java8 -Xms$INITIAL_MEMORY -Xmx$MAXIMUM_MEMORY $JVM_ARGS -jar $SERVER_LOCATION/$SERVER_JAR $SERVER_ARGS

zanix commented 2 years ago

Glad you got it all figured out. And thanks for posting your solution.