![]() The Minecraft worlds are stored as folders, typically named world*. The list will be stored in whitelist.json. Whitelisted users can be added with whitelist add from the server prompt. This can be set as white-list=true in the server.properties file or by using whitelist on on the server prompt. If you use port forwarding to let people outside your LAN be part of the game, a whitelist is useful for specifying what users are allowed to connect. You can set force-gamemode=true in the server.properties file to force players to join in on the default game mode (otherwise they will join in the game mode they left in).Ĭhanging game mode for a player on-the-fly can be done from the Minecraft server prompt: >gamemode Use a whitelist To change it to creative enter >defaultgamemode 1 The default setting on the server is survival mode. ![]() My kids often prefer to play Minecraft in creative mode so that they can make their constructions with an unlimited tool set and “fly”. I have gathered a few that I’ve found very useful. There are tons of configuration options for Minecraft. Click Join server and you’re ready to rock some blocks! Some configuration options Add :25565 to the end of the address to select the default Minecraft server port for the server. Press Play, select Multiplayer mode->Direct connect and enter the IP address of your Raspberry Pi that runs the server. You can save and use profiles with different versions of Minecraft on your client if you want to easily switch between versions. Log in with a Minecraft account and select the same version of Minecraft as is running on the server (1.11.2 in my case). With the server running, start a Minecraft client on another computer in your network. I have put the server start command in a startmc.sh file so that it easier to start the server again. Start the server again and check that the startup process works. Open eula.txt with nano and change eula=false to eula=true. You have to accept the End-user license agreement. The first start fails, and it has created an eula.txt file. To start the server use the command below and change the jar file version number to whatever version you’ve got when downloading and building: java -jar -Xms512M -Xmx1008M spigot-1.11.2.jar nogui At the time of writing, I got version 1.11.2. ![]() When finished, the latest Spigot server is available in the mc folder. Then, download the latest BuildTools for Spigot: wget Īnd build the Spigot server: java -jar BuildTools.jar Minecraft uses Java so make sure that you have it installed (I have version 1.8.0_65 and it works fine).Ĭreate a new folder and cd into it: mkdir mc To get the Spigot Minecraft server in place, the build tools needs to be downloaded and the server has to be built. With only two concurrent users, I don’t have to bother about this, but if I were to add additional players I would need to dive into the optimization details. The CPU temperature heightened from 50 ☌ to 55 ☌ after the server was started and had no obvious increase after that.īy searching the forums, it seems that there are lots of different configuration optimizations that can be used for reducing the memory footprint of the Minecraft server. With two players connected and using the server, the RAM usage increased to 60% after a few hours of playing. For example, the total RAM usage on the RPi increased from 10% to 50% when the Spigot server was started. From what I can see from my monitoring tools, the RPi has no problem handling the load. I have only used the system with two simultaneous users so far. Each user will consume a chunk of RAM and processing power from the RPi so you can not have a large number of concurrent players in the system. Spigot runs just fine on a Raspberry Pi though the RAM and CPU of the little computer is limited. This time I have decided to write down the installation- and configuration steps if someone else needs them. A few weeks ago I had an SD-card corruption so I had to start from scratch with a new Raspbian OS install and setup the Minecraft server once again. The system we use is a Raspberry Pi 3 with a Spigot Minecraft server. As I want to support their creative activities, I have setup a Minecraft server at home so they can collaborate with friends on their construction endeavours. My kids are occasional Minecraft addicts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |