Servercraft
  • Welcome
  • App
    • Set up
    • Use
    • Settings
      • ngrok
      • Developer Settings
    • Download
  • Node.js
    • CLI
  • Command-line Arguments
  • Donate
  • NPM
  • Find a Version
Powered by GitBook
On this page

Was this helpful?

Command-line Arguments

PreviousCLI

Last updated 1 year ago

Was this helpful?

  • --bonusChest

    • Generate a .

  • --demo

    • Run the server in demo mode.

  • --eraseCache

    • Erase server cache

  • --forceUpgrade

    • Forces upgrade on all the chunks, so the version of all chunks matches the current server version.

  • --help

  • --initSettings

    • Loads settings from 'server.properties' and 'eula.txt', then exit.

  • --jfrprofile

    • Initializes the Java Flight Recorder. (v1.18+)

  • --nogui

    • Doesn't open the GUI when launching the server. Not recommended if you want to monitor your server

  • --port <Number>

    • Overrides the server.properties value.

  • --safeMode

    • Loads with vanilla data pack only.

  • --serverId <String>

  • --singleplayer

    • Runs 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 .

bonus chest
wiki