Garry's Mod
40 lượt đánh giá
sv_restart (superadmin command)
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Content Type: Addon
Addon Type: Tool
Kích cỡ file
Đã đăng
Đã cập nhật
2.039 KB
1 Thg07, 2016 @ 9:37pm
4 Thg11, 2016 @ 8:09am
4 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
sv_restart (superadmin command)

Trong 5 bộ sưu tập tạo bởi Cédric GÉRILLE [GiletJaune]
Soccer by Mohamed RACHID
37 vật phẩm
Université Joseph Poireau (serveur)
70 vật phẩm
MR: Serveur Garry's Mod Jeu en 2D
11 vật phẩm
Dev Tests Mohamed
50 vật phẩm
G-1:788429
50 vật phẩm
Mô tả
This addon provides the console command sv_restart. It allows to restart the server easily without using RCon.

Notes
- This addon is only designed for servers. Do not put it as auto-download for clients.
- The default bash that comes with Garry's Mod for Linux does not restart the server (with crash or not). You need to fix it for the restart to work.
- On Windows you need to loop your .cmd / .bat script. Here is how you do it:
:begin srcds.exe ..... goto begin

[curse.com]

Usage
Restart the server in {delay} seconds:
sv_restart [delay=10]
Cancel a pending restart:
sv_restart -1

See also
map_reload (superadmin command)
59 bình luận
H4PPY 14 Thg04 @ 1:26pm 
sv_restart
H4PPY 14 Thg04 @ 1:26pm 
are you kinda dumb in this addon
Cédric GÉRILLE [GiletJaune]  [tác giả] 14 Thg04 @ 12:52pm 
But in the code of which add-on? That's quite the question!
H4PPY 14 Thg04 @ 3:15am 
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]  [tác giả] 13 Thg04 @ 10:58am 
Well, I don't know what can be going on, since there is no server password set, as you mentioned.
H4PPY 13 Thg04 @ 10:54am 
no
Cédric GÉRILLE [GiletJaune]  [tác giả] 13 Thg04 @ 10:48am 
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 Thg04 @ 6:29am 
I DID
Cédric GÉRILLE [GiletJaune]  [tác giả] 13 Thg04 @ 6:17am 
If nobody connects to your server, the event you want to monitor with `find_conflicts_hook_sv CheckPassword` will never fire.
H4PPY 10 Thg04 @ 5:08am 
its a private server i have hosted like i said with pterodactyl