ENG1N3X

Server restart

Recommended Posts

How to restart the server, without close "server.exe" and restart the rage mp?

May be somebody know function or something else? At wiki didnt find the answer

 

Thanks ! ^)

Share this post


Link to post
Share on other sites

There's no RageMP function for this, you'd have to make something up with NodeJS or another language to have something like that. You'd have to Google for that in that case if closing and reopening the server.exe is too much.

Share this post


Link to post
Share on other sites
9 часов назад, MrPancakers сказал:

There's no RageMP function for this, you'd have to make something up with NodeJS or another language to have something like that. You'd have to Google for that in that case if closing and reopening the server.exe is too much.

Ok. Thx

Share this post


Link to post
Share on other sites

So if you want to restart the server without closing and starting it everytime (Use pm2)
SHIFT+RIGHTCLICK in the server directory -> Open Command Windows :-

npm install pm2 -g

 

and then start the server by typing :-

pm2 start server.exe --watch

'--watch' watches for any file change in the current and its subdirectories (so now if you edit any files and hit save then the server will restart)

Now to get the console display of server.exe type :-

pm2 monit

 

Shoutout to Jengas(russian channel)

Share this post


Link to post
Share on other sites
2 часа назад, r4nchy сказал:

So if you want to restart the server without closing and starting it everytime (Use pm2)
SHIFT+RIGHTCLICK in the server directory -> Open Command Windows :-

npm install pm2 -g

 

and then start the server by typing :-

pm2 start server.exe --watch

'--watch' watches for any file change in the current and its subdirectories (so now if you edit any files and hit save then the server will restart)

Now to get the console display of server.exe type :-

pm2 monit

 

Shoutout to Jengas(russian channel)

Thank u very match !) 

Share this post


Link to post
Share on other sites

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.