Minecraft wiki entry for Setting_up_a_server, associated text: --bonusChest
If a bonus chest should be generated, when the world is first generated.
--demo
If the server is in demo mode. (Shows the players a demo pop-up, and players cannot break or place blocks or eat if the demo time has expired)
Equivalent to playing minecraft without a account, you have about 5 in-game days before your trial ends.
--eraseCache
Erases the lighting caches, etc. Same option as when optimizing single player worlds.
--forceUpgrade
Forces upgrade on all the chunks, such that the data version of all chunks matches the current server version (same as with sp worlds).
This option significantly increases the time needed to start the server.
--help
Shows this help.
--initSettings
Loads the settings from 'server.properties' and 'eula.txt', then quits.
--jfrprofile
Initializes the Java Flight Recorder on the server. Only available on 1.18+.
--nogui
Doesn't open the GUI when launching the server.
You will still be able to interact with your server, but you must use the cmd or Terminal if enabled.
nogui does the same thing as this option for backwards compatibility with very old versions of the server, but --nogui is preferable as it matches the format of other options
--port <Integer>
Which port to listen on, overrides the server.properties value. (default: -1, read from server.properties)
See Server.properties for restrictions on this value.
--safeMode
Loads level with vanilla datapack only.
--serverId <String>
Gives an ID to the server. (??)
Seemingly no effect ??
--singleplayer <String>
Runs the server in offline mode (unknown where <String> is used for, probably used internally by mojang?)
--universe <String>
The folder in which to look for world folders. (default: .)
--world <String>
The name of the world folder in which the level.dat resides.