Command-line Arguments
--bonusChestGenerate a bonus chest.
--demoRun the server in demo mode.
--eraseCacheErase server cache
--forceUpgradeForces upgrade on all the chunks, so the version of all chunks matches the current server version.
--help--initSettingsLoads settings from 'server.properties' and 'eula.txt', then exit.
--jfrprofileInitializes the Java Flight Recorder. (v1.18+)
--noguiDoesn't open the GUI when launching the server. Not recommended if you want to monitor your server
--port <Number>Overrides the server.properties value.
--safeModeLoads with vanilla data pack only.
--serverId <String>--singleplayerRuns the server in offline mode
--universe <String>The folder in which to look for world folders.
--world <String>The name of the world folder
From the wiki.
Last updated
Was this helpful?