From 30e11e749a3030c3e7871cfa96fa3ac67b0899d6 Mon Sep 17 00:00:00 2001 From: cpu Date: Fri, 8 Mar 2024 23:44:15 +0100 Subject: [PATCH] added some --- README.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8fb55c1..9da296f 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,14 @@ This will download the 1.6.4 Minecraft server JAR. After downloading the JAR, accept the EULA: `echo eula=true > eula.txt` +Finally, run: +`java -Xmx1024M -Xms1024M -jar server.jar nogui` + +The server will create some files. We need to modify `server.properties`. + +Stop the server +`stop` + Set the server to "offline mode" Running your server in offline mode allows players to connect without authenticating with the Minecraft session servers. Authenticating with the Minecraft session servers ensures that a player is connecting with a registered and paid Minecraft account. Running your server in offline mode can be useful when there are the Minecraft session servers have problems and prevent players from connecting. However, it introduces security risks, as **it allows anyone to use any username to join your server**. For example, one would be able to login as any white listed player, or as an op and run all administrator commands. @@ -45,16 +53,11 @@ If you need online mode to be enabled/disabled on your server, change the follow See all available server properties at https://help.akliz.net/docs/edit-serverproperties -Finally, run: +Start the server again `java -Xmx1024M -Xms1024M -jar server.jar nogui` This will run the Minecraft server with 1GB (1024MB) of RAM. If you want to give it more or less RAM to work with, change the "1024M" number in the -Xmx argument. -Let it start up. - Save worlds `save-all` -Stop the server -`stop` -