Hosting minecraft server via webmin on Ubuntu

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?

10

1 Answer

To make your webmin run Minecraft_Server.1.7.2.jar:

  1. Download the jar to your desktop
  2. Open a Terminal
  3. Run: sudo mv /home/yourusernamehere/Desktop/minecraft_server.1.7.2.jar /usr/local/minecraft/minecraft_server.jar
  4. Test with the 'Minecraft Server 1.5' module for webmin
  5. 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:

  1. Download from here:
  2. Unpack on Desktop and make modifications above
  3. 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)
  4. Goto webmin
  5. Click "Webmin Configuration"
  6. Click "Webmin Modules"
  7. Click the Radio button for "From Local File"
  8. Click the ellipsis at the end of the "From Local File" line and select the modified minecraft.wbm.gz
  9. 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?

Security Questions

Ubuntu Based Questions

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.

15

You Might Also Like