AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Download minecraft server jar1/8/2023 ![]() Create a separate folder in which you want to have all the server files. At the time of writing this article, the latest file is minecraftserver.1.18.jar. I launch the script as sudo python controller. Download the latest Minecraft 1.18 server jar file from the official Minecraft website. I think the problem is that when I run the python script, it does not have enough authority so it cannot edit files. Java -Xms1024M -Xms1024M -jar server.jar nogui Os.system("java -Xms1024M -Xms1024M -jar /home/pi/Server/server.jar nogui") Os.system("mv /home/pi/minecraft_server.1.8.1.jar /home/pi/Server/server.jar") Print ("Downloading Server to clear corruption.") #Test to see if the button has been pressed ![]() tup(11, GPIO.IN, pull_up_down=GPIO.PUD_DOWN) My code is as follows: import RPi.GPIO as GPIO It worked very well until it said: An exception occurred processing Appender File 4j.Įrror writing to RandomAccessFile logs/latest.log So I have been working on making a python script that runs the server whenever a button IRL is pressed. So I thought to myself, I can go one set further. I have been researching how to run a minecraft server from the raspberry pi, so I finally got it set up!
0 Comments
Read More
Leave a Reply. |