Try this. In your home folder, make a new folder called mcserver, then inside that folder, make a file called mcexec, paste the following into it:
Save it, right click on it, Make file executable. Make sure the server file minecraft_server.jar is in the same folder.
Open text editor and place the following in it:
Save the file as minecraftserver.desktop and place it in /home/user/.local/share/applications/
It should show up under Menu, Games.
Code:
#!/bin/bash
java -Xmx1024M -Xms1024M -jar minecraft_server.jar noguiSave it, right click on it, Make file executable. Make sure the server file minecraft_server.jar is in the same folder.
Open text editor and place the following in it:
Code:
[Desktop Entry]
Name=Minecraft Server
Comment=Minecraft Server
Exec=x-terminal-emulator --geometry=95x25 -t "MC Server" -e "bash -c /home/user/mcserver/mcexec;bash"
Icon=/location/of/icon/file
Terminal=false
Type=Application
Categories=Game;Save the file as minecraftserver.desktop and place it in /home/user/.local/share/applications/
It should show up under Menu, Games.
Download your free copy of Linux Lite today.
Jerry Bezencon
Linux Lite Creator
"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."
![[Image: X5qGkCg.png]](https://imgur.com/X5qGkCg.png)
Jerry Bezencon
Linux Lite Creator
"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."
![[Image: X5qGkCg.png]](https://imgur.com/X5qGkCg.png)

