Results 1 to 6 of 6

Thread: Help with getting a minecraft bukkit server (not related to the actual game/program)

  1. #1
    Join Date
    Jul 2014
    Beans
    3

    Question Help with getting a minecraft bukkit server (not related to the actual game/program)

    Hello Ubuntu forums.

    For a while I've had public minecraft server running on a mac mini late 2012 model. At first I ran the server in Mac os X because that's what the mac had installed already, but then what happened is that Mac os X began to chrash after the server running for long enough (the OS gave a report of the problem and so on so I don't think it's anything related to overheating or such). Because of this I decided that I'd install Ubuntu on the server mac mini so I'd have a good fresh OS to run the server on-

    after installation I started tinkering with the server (which if you didn't know is a java .jar file you have to run from the terminal). and I was succesfully able to start the server and so on. But the problems I have are considering the automation of the server startup in case of a system chrash or a thunderstorm causing a power outage. I've been able to make Ubuntu run the server through running the startup script (which you execute when you'd normally start the server through the console) of the server on reboot through rcon, but the problem is that there's no console to monitor the server or issue commands.

    So basiacly the main question is if I can automate a terminal window window to open and run exec /path/to/the/server/server.jar or somehow have other kind of access to the command line of the server (I think there might be some programs or something that make you be able to remotely or locally control the terminal/command line of the Java server).

    All help will be grately appreciated

  2. #2
    Join Date
    Sep 2005
    Beans
    1,596
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: Help with getting a minecraft bukkit server (not related to the actual game/progr

    You can do an ssh server; I believe this is still relevant - https://help.ubuntu.com/10.04/server...sh-server.html
    MBA M1 - M1 8GB 256GB - macOS Monterey
    MSI GL65 - i5-10300H 16GB 512GB GTX 1650 Windows 11
    Galaxy Book Go - Snapdragon 7c Gen 2 4GB 128GB Windows 11

  3. #3
    Join Date
    Jul 2014
    Beans
    3

    Re: Help with getting a minecraft bukkit server (not related to the actual game/progr

    But if I had the server already started up without the terminal would I still be able to access the command line of it through ssh??

  4. #4
    Join Date
    Sep 2005
    Beans
    1,596
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: Help with getting a minecraft bukkit server (not related to the actual game/progr

    Yes, ssh creates its own terminal session (tty) for you to use. So you can remote in and be at a terminal so if you need to reboot it, restart minecraft, run updates, or anything else via the CLI you can.
    MBA M1 - M1 8GB 256GB - macOS Monterey
    MSI GL65 - i5-10300H 16GB 512GB GTX 1650 Windows 11
    Galaxy Book Go - Snapdragon 7c Gen 2 4GB 128GB Windows 11

  5. #5
    Join Date
    Jul 2014
    Beans
    3

    Re: Help with getting a minecraft bukkit server (not related to the actual game/progr

    Quote Originally Posted by slooksterpsv View Post
    Yes, ssh creates its own terminal session (tty) for you to use. So you can remote in and be at a terminal so if you need to reboot it, restart minecraft, run updates, or anything else via the CLI you can.
    So you're saying if I had the server running as it normally would and suddenly there was a power outage, the server computer would automatically reboot after the power outage and I had the server script running on bootup through cron, I could still connect through SSH to somehow use the command line of the server even though it wasn't started through
    terminal or has a visible command line in the desktop?

  6. #6
    Join Date
    Sep 2005
    Beans
    1,596
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: Help with getting a minecraft bukkit server (not related to the actual game/progr

    SSH is a service on the system, so yes whenever you reboot it should start automatically. If you're away from home and have it as receiving a public IP or have port forwarding, you can still connect to it via ssh.
    MBA M1 - M1 8GB 256GB - macOS Monterey
    MSI GL65 - i5-10300H 16GB 512GB GTX 1650 Windows 11
    Galaxy Book Go - Snapdragon 7c Gen 2 4GB 128GB Windows 11

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •