How to kick out a player in self-hosted server
-
How can I kick out a player in a server hosted by myself? Just to let you understand I want to play with friends, and I'm wondering if I can kick out of the server any other player who jump in. Is it possible without any software for the server management (like e.g. IW4MAdmin)?
-
Bender If you're wanting to only play with your friends and not other players, I'd recommend using g_password.
g_password "PASSWORD"
This will require everyone to enter the password in the console first, then connecting to the server after
-
Use
sv_offline 1
to hide it on the server list. -
Cahz : thanks for the hint, it's just what I'll do to fix the problem. But anyway I was curious to understand if there was a way to kick someone out with a command string or something like that!
Xerxes: but does it work even if we are not in a LAN network? how then can my friends find the server and join?
-
Bender As far as I know, the only way to kick people would be from an external source like IW4MAdmin, or with some sort of mod menu
As for the
sv_offline 1
question. Players can still join the server via console usingconnect IPAddress:Port
. With the IP Address being your public IPV4 address, and then the port.
EXAMPLE:connect 144.100.50.10:4977
find your public IPV4 address from a website like http://whatismyip.org/
-
Thank you.
Very useful!