ENG1N3X Posted February 10, 2019 Share Posted February 10, 2019 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 ! ^) Link to comment Share on other sites More sharing options...
MrPancakers Posted February 10, 2019 Share Posted February 10, 2019 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. Link to comment Share on other sites More sharing options...
ENG1N3X Posted February 10, 2019 Author Share Posted February 10, 2019 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 Link to comment Share on other sites More sharing options...
r4nchy Posted March 6, 2019 Share Posted March 6, 2019 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) 3 Link to comment Share on other sites More sharing options...
ENG1N3X Posted March 6, 2019 Author Share Posted March 6, 2019 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 !) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now