Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/paper/admin/getting-started/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ You can also obtain the optimized terminal command to run the server there.

If you're just looking for a short command:
```bash
java -Xmx4G -Xms4G -jar paper.jar --nogui
java -Xms4G -Xmx4G -jar paper.jar --nogui
```
Ensure you navigated your terminal to the directory of your server
and that you have replaced `paper.jar` with the name of the JAR you have downloaded.
Expand Down
2 changes: 1 addition & 1 deletion src/components/StartScriptGenerator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const generateStartCommand = (
) => {
setTimeout(resizeOutput, 0);
let content = "";
const command = `java -Xmx${memory * 1024}M -Xms${memory * 1024}M ${selectedFlag.value}${selectedFlag === NONE ? "" : " "}-jar ${filename === "" ? "server.jar" : filename} ${guiEnabled || selectedFlag === VELOCITY ? "" : "nogui"}`;
const command = `java -Xms${memory * 1024}M -Xmx${memory * 1024}M ${selectedFlag.value}${selectedFlag === NONE ? "" : " "}-jar ${filename === "" ? "server.jar" : filename} ${guiEnabled || selectedFlag === VELOCITY ? "" : "nogui"}`;

if (autoRestartEnabled)
content = (platform === WINDOWS ? WINDOWS_AUTO_RESTART : LINUX_AUTO_RESTART).replace(
Expand Down