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)
59 commentaires
H4PPY 14 avr. à 13h26 
sv_restart
H4PPY 14 avr. à 13h26 
are you kinda dumb in this addon
Cédric GÉRILLE [GiletJaune]  [créateur] 14 avr. à 12h52 
But in the code of which add-on? That's quite the question!
H4PPY 14 avr. à 3h15 
well maybe you might HAVE to look in your code since yeah my gmod server aint public or port forwarded used something special
Cédric GÉRILLE [GiletJaune]  [créateur] 13 avr. à 10h58 
Well, I don't know what can be going on, since there is no server password set, as you mentioned.
H4PPY 13 avr. à 10h54 
no
Cédric GÉRILLE [GiletJaune]  [créateur] 13 avr. à 10h48 
And you did not see any message about a hook returning a value?! Maybe there is a hook system replacement somewhere, I do not know.
H4PPY 13 avr. à 6h29 
I DID
Cédric GÉRILLE [GiletJaune]  [créateur] 13 avr. à 6h17 
If nobody connects to your server, the event you want to monitor with `find_conflicts_hook_sv CheckPassword` will never fire.
H4PPY 10 avr. à 5h08 
its a private server i have hosted like i said with pterodactyl