Garry's Mod

Garry's Mod

39 évaluations
sv_restart (commande superadmin)
   
Récompenser
Ajouter aux favoris
Favoris
Retirer des favoris
Type de contenu: Addon
Type d'addon: Outil
Taille du fichier
Publié le
Mis à jour le
2.039 KB
1 juil. 2016 à 21h37
4 nov. 2016 à 8h09
4 notes de changement ( voir )

S'abonner pour télécharger
sv_restart (commande superadmin)

Dans 5 collections faites par Cédric GÉRILLE [GiletJaune]
Soccer by Mohamed RACHID
37 objets
Université Joseph Poireau (serveur)
70 objets
MR: Serveur Garry's Mod Jeu en 2D
11 objets
Dev Tests Mohamed
50 objets
G-1:788429
50 objets
Description
Cet addon fournit la commande console sv_restart. Elle permet de redémarrer le serveur facilement sans utiliser RCon.

Remarques
- Cet addon est seulement conçu pour les serveurs. Ne le placez pas en téléchargement automatique pour les clients.
- Le bash fourni avec Garry's Mod pour Linux ne redémarre pas le serveur (avec ou sans crash). Vous avez besoin de le réparer pour que le redémarrage fonctionne.
- Sur Windows vous avez besoin de reboucler votre script .cmd / .bat. Voici comment vous pouvez le faire :
:begin srcds.exe ..... goto begin

[curse.com]

Utilisation
Redémarrer le serveur dans {délai} secondes :
sv_restart [délai=10]
Annuler un redémarrage en attente :
sv_restart -1

Voir aussi
map_reload (commande superadmin)
32 commentaires
Cédric GÉRILLE [GiletJaune]  [créateur] 10 sept. 2021 à 21h15 
What is wrong? :steamsad:
MARK_EDINOROGLOVE 19 févr. 2021 à 12h24 
sv_restart
Commencing connection retry to 192.168.0.100:27015
Restoring gamemode to sandbox
Client sending to server with no netchannel!
SoundEmitter: removing map sound overrides [3 to remove, 0 to restore]
Connecting to 192.168.0.100:27015...
The server will restart in 0 seconds!
Please wait before coming back.
Restoring gamemode to sandbox

This is run in the game
Cédric GÉRILLE [GiletJaune]  [créateur] 18 févr. 2021 à 15h31 
Do you know what the retry command is?
Run it from your game, not on the server!
MARK_EDINOROGLOVE 17 févr. 2021 à 12h18 
sv_restart
Dropped MARK_EDINOROGLOVE from server (Disconnect by user.)
Dropped vandrenko from server (Disconnect by user.)
86.100.164.25:27005: password failed.
192.168.0.100:27006: password failed.
Cédric GÉRILLE [GiletJaune]  [créateur] 14 févr. 2021 à 15h23 
I mean when you run it yourself from the console of your game.
MARK_EDINOROGLOVE 4 févr. 2021 à 9h23 
In what sense manually?
Cédric GÉRILLE [GiletJaune]  [créateur] 3 févr. 2021 à 14h16 
Hi! I have not started GMod in a while, that must be due to an update.
What happens when you manually use the retry console command??
MARK_EDINOROGLOVE 11 janv. 2021 à 13h56 
I have a new problem here, when I write sv_restart the server starts the report, as soon as it reaches zero, the message is displayed, the server will restart in 0 seconds! 192.168.0.100:27007: password failed is written to the server console. although there is no password on the server( what to do?
Cédric GÉRILLE [GiletJaune]  [créateur] 8 juil. 2020 à 6h57 
Huh, on Windows here is how you do it:
:begin
srcds.exe .....
goto begin
MARK_EDINOROGLOVE 8 juil. 2020 à 2h28 
Okay, but how can I edit the script then, it’s just that I have a server that opens in cmd and half of the FIG add-ons know where, but there is nothing in the addons folder, or maybe then drop the repository from github or maybe send it to discord ... ??