![]() In that box, type in '0' and hit ‘join server’. This next part is quite complex so make sure you read it carefully. Click on ‘direct connect’ and you should see a box asking for a server address. If you’re running the server on the same PC, load up Minecraft and venture into multiplayer. To end the server, go into the command window and type ‘stop’. If all went off without a hitch, double-clicking this file should launch your Minecraft server via a CMD window (also known as a command window). Next, rename that Notepad file to 'ServerStart.bat' (without the quotation marks). Java -Xmx1024M -Xms1024M -jar server.jar nogui In our case, it was ‘server.jar’, so our text line would be: See that bit in bold? Next you’ll need to change that to the file name of the Java file you downloaded from the Minecraft website. Copy the text below and paste it into the new, empty Notepad file: Search for the line 'eula=false' and change it to 'eula=true' then hit save. Look for the file named EULA and open it in Notepad. First we need to accept the EULA terms so everything can work. Upon running the Java file, you should see loads of new files in your Minecraft Server folder. How to create a batch file to start the server As it’s from the official Minecraft site, it’s not, so don’t panic. Note: If you’re on the Chrome browser, it will likely say this is a virus. In this project, we’ve shown you how to set up and customise a Minecraft server on your Raspberry Pi 4, and how players on the same Wi-Fi network can connect locally to your gameworld.Move this file to your Minecraft Server folder and double click on it to run it. This will create a new gameworld folder with the updated name next time the server starts, and you can switch back to the old one any time! Connecting to your Minecraft server remotely Top Tip: If you want to start a new Minecraft server, just delete the World folder from your Minecraft directory, or rename the level-name in server.properties. Just as before, we press CTRL+S and then CTRL+X to save and exit! ![]() Personally, I just want to turn off the spiders and change the server’s message of the day, so I’m going to make the following tweaks: spawn-monsters=false I won’t go into detail on every option, but you can read about them on the Minecraft Wiki. Note: We’ll be using Ubuntu Desktop 21.10 for Raspberry Pi in this tutorial, and recommend you follow along with Ubuntu Desktop 21.10 on whatever device you use. You could even use a Virtual Machine.Ĭheck out these tutorials for getting started with Ubuntu Desktop on these platforms: In this tutorial, we’ll be using a Raspberry Pi 4 4GB with a 32GB SD card, but you can also follow along on pretty much any laptop or PC that has Ubuntu Desktop installed. While it can seem intimidating at first, the instructions you’ll follow for this project will help you approach more complex Linux projects in the future! Linux is all about tinkering and trying new things. ![]() Setting up a server is also a great way to learn more about Linux. You can change the game rules and difficulty, the behaviour of enemies and determine how players interact. Hosting a Minecraft server unlocks a tonne of additional control over how you play Minecraft with your friends. This is a great afternoon project to work on with a friend or family member! This week, we’ve put together a tutorial that teaches you how to create a basic Minecraft Server on a Raspberry Pi with Ubuntu Desktop, so you can play locally with your friends. Welcome to the second in our series of Linux gaming posts in the run up to the holidays.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |