Jump to content

How to Run my MTA SA 24/7 on a VPS


Om.

Recommended Posts

Posted

Hi Guys, I've installed MTA Server on my VPS, but it shutdowns when i press "CTRL + C" (Exit ./mta-server), Is there anything which can run my Default Server 24/7 on my VPS?

Looking for a developer? Feel free to PM me :)

Posted
Use screen in linux.

Ye, i'm using Linux/Ubuntu, i probably don't know to use screen, can u help me?

Looking for a developer? Feel free to PM me :)

  • MTA Team
Posted

https://forum.multitheftauto.com/viewtopic.php?f=106&t=58533

See point 5. Running the server. The general idea is the same, even if you use Ubuntu (which is Debian-derived anyway) - just install the screen package and use it like I have explained in my tutorial.

Also, wrong section.

One of the [VCP] leaders // honorary member of the =PCP= gang.

 

Do not PM me your MTA:SA Client / Server support questions, Lua scripting questions, unban requests or server toplist concerns - please ask them here: MTA:SA Support subforum, here: Scripting subforum, here: Ban appeals or here: Servers instead.

For other inquiries - please expect delays in replies when messaging me.

Posted

screen -dmS NameOfScreen ./mta-server

When u want to get back to server console type:

screen -r NameOfScreen

Other commands that are very used for screen are:

screen -ls (shows the list of screens)

screen -wipe (when you stop a server, you can refresh the screens list)

Need a clanwar script? Click here!

Do you want some free scripts for your DD server? Visit my website.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...