# Command-line Arguments

* `--bonusChest`
  * Generate a [bonus chest](https://minecraft.fandom.com/wiki/Bonus_chest).
* `--demo`
  * Run the server in demo mode.&#x20;
* `--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.&#x20;
* `--safeMode`
  * Loads with vanilla data pack only.
* `--serverId <String>`
* `--singleplayer`
  * Runs the server in offline mode&#x20;
* `--universe <String>`
  * The folder in which to look for world folders.&#x20;
* `--world <String>`

  * The name of the world folder

From the [wiki](https://minecraft.fandom.com/wiki/Tutorials/Setting_up_a_server).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://servercraft.coolstone.dev/args.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
