Hello,
I would need an order to restart (/ restart), directly from the game, can you help me?

What are you actually trying to restart here? A resource? The Server? Your Client?

If you are trying to restart a resource then make sure you have your self set with the admin ace permissions in your server.cfg

No, I would need to restart the server (/ restart so I do not ever go back to the site to reboot)

Can’t do from within game or via console currently

2 Likes

And how can I restart from the console? write / restart? or restart?

“or via console”

1 Like

@Alex_13 You cannot currently restart the server by entering any command. The ONLY way to restart it is via your web-panel or by closing the window and then opening it up again (if run from a terminal).

Ok, Thank you

1 Like

Ok guys

is possible, just press F8 and write restart + the name of the one that wants to restart, example restart esx_holdup

1 Like

He said he want to restart the “server” bro.

2 Likes

Sort of, let me explain.

in order to restart the server using a command, you have to edit a certain command in your server.cfg (ace_permissions to be exact).

  1. Go to Server.cfg
  2. add:
add_ace group.admin command.quit allow
  1. Make sure you are an admin:
add_principal identifier.fivem:YOUR_FIVEM_ID_HERE group.admin
  1. Go into FiveM server and type “/quit” in chat or “quit” in the F8 console.

This is the way I found and works, Only annoying thing is that F8 quit is already assigned to closing your game. but if you are in the server it should stop the server. Note: It doesn’t restart, it stops.

Extra:
reasoning can be added:

quit "Restarting - will be back soon!"
1 Like