1

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?

  • Looks to me like you should be asking webmin for that module. Why not just download the minecraft server jar from mojang and run java -Xmx1024M -Xms1024M -jar minecraft_server.jar? – Cole Busby Nov 10 '13 at 23:14
  • @Cole That wouldn't be managed by webmin then, would it? – SevenSidedDie Nov 10 '13 at 23:19
  • @Loko I believe that the module doesn't actually care too much about the version (apart from its updates feature), meaning you can just download the newest minecraft_server.jar, put it in the webmin Minecraft directory (which is controlled by the module's config file) and it'll just work. – SevenSidedDie Nov 10 '13 at 23:26
  • @SevenSidedDie I'll try it out when I am home but how do I run that command in linux? I am still a beginner. – Loko Nov 11 '13 at 7:37
  • @Loko Webmin is already running the command for you. You should just have to give it a different copy of the server .jar where it normally expects the existing copy to be. – SevenSidedDie Nov 11 '13 at 7:40
2

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: http://download.webmin.com/download/modules/minecraft-1.5.wbm.gz
  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.

  • Kind of new to this so I have a question. How do I install the minecraft server 1.5 module via terminal? – Loko Nov 11 '13 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. – Cole Busby Nov 11 '13 at 17:11
  • Thanks man tell me when you found it. I'll try some stuff – Loko Nov 11 '13 at 17:14
  • 1
    @Loko Good Job! Welcome to linux. – Cole Busby Nov 11 '13 at 17:26
  • Haha damn man I am really gratefull man. – Loko Nov 11 '13 at 17:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.