I am trying to host Ubuntu on webmin and everything is going perfectly, but I can only join my server when I run minecraft 1.5.2 which I obviously dont want to. I think I have the wrong Minecraft Server Module for webmin. How do I get the right one and cant I just make it update automatically or something?
1 Answer
To make your webmin run Minecraft_Server.1.7.2.jar:
- Download the jar to your desktop
- Open a Terminal
- Run:
sudo mv /home/yourusernamehere/Desktop/minecraft_server.1.7.2.jar /usr/local/minecraft/minecraft_server.jar
- Test with the 'Minecraft Server 1.5' module for webmin
- Execute
EXPLANATION OF TASK # 3:
SUDO -- execute with higher privileges
MV -- move file #1 from /location/A/file#1 to /location/B/file#1nameORfile#1renamed
Judging by the source code in the module provided, this SHOULD work. I'm not a webmin user, but I do know enough linux to understand what is going on under the hood aka 'to be dangerous'.
PLEASE NOTE: The module only provides 1GB of RAM to minecraft by default, if you find yourself needing more open the wbm and locate the line similar to:
java_args=-Xms1G -Xmx1G -D
and change it to
java_args=-Xms4G -Xmx4G -D
for 4GB of RAM allocation to minecraft or to have a range:
java_args=-Xms1G -Xmx4G -D
which will give you a minimum of 1GB but no more than 4GB.
TO MANUALLY INSTALL the module:
- Download from here: http://download.webmin.com/download/modules/minecraft-1.5.wbm.gz
- Unpack on Desktop and make modifications above
- Repack the archive (
cd ~/Desktop; rm ~/Desktop/minecraft-1.5.wbm.gz; gzip minecraft-1.5.wbm; mv minecraft-1.5.wbm.gz minecraft.wbm.gz
) - Goto webmin
- Click "Webmin Configuration"
- Click "Webmin Modules"
- Click the Radio button for "From Local File"
- Click the ellipsis at the end of the "From Local File" line and select the modified minecraft.wbm.gz
- Click "Install Module"
Steps written from memory, so compression may be different as everyone doesn't use the same Desktop Manager/Window Manager. Please comment if you have an issue with a particular step.
Automatically updating minecraft server for webmin:
SOON TO BE BUILT USING WGET AND A BASH SCRIPT
Will updating affect my minecraft world?
ONLY as much as the update affects the game. Built structures should be okay.
How do I host it publically?
NOIP.com free DNS. Don't worry about IP addresses.
Port Forward is a thing.
In Ubuntu Linux Distributions: ufw
may cause you grief.
Should I worry about something else?
Programming/Scripting Questions
Other linux distribution questions
Where do I get Minecraft Server?
Are You affliated with any company listed?
No I am not, But they are very reliable resources, until NOIP shuts down free managed DNS hosting.
-
Kind of new to this so I have a question. How do I install the minecraft server 1.5 module via terminal?– LokoNov 11, 2013 at 17:06
-
1@Loko You should have that installed. I don't use webmin so I'm not sure. I will look to help with that too. Nov 11, 2013 at 17:11
-
-
1
-
java -Xmx1024M -Xms1024M -jar minecraft_server.jar
?minecraft_server.jar
, put it in the webmin Minecraft directory (which is controlled by the module'sconfig
file) and it'll just work.