Aller au contenu

Photo

Cod4 : Commande Rcon


  • Ce sujet est fermé Ce sujet est fermé
1 réponse à ce sujet

#1
Willy1973

Willy1973

    I want to be a root star

  • Admin
  • 5 711 messages
rcon say
/rcon status
/rcon clientkick #
/rcon banclient #
/rcon map_rotate

Here's some more information for those that are new to using rcon for the COD series. I do not know for sure that everything here works in COD4 but it's a good place to start until a comprehensive guide is put together. I also can't remember where I found this so unfortunatly I can't give credit to whoever wrote it but it was not me.


Console Commands
I think you have to put /rcon space then the command below for it to work. Dont forget to hit shift then ~

/map mapname
Loads the map specified by mapname.

/map_rotate
Loads next map in rotation set in sv_maprotation.

/serverinfo
Shows the current server's settings.

/map_restart
Restarts the map.

/kick [name]Kicks a player by name from the server.

/clientkick [id]
Kicks a player by client id from the server.

/status
Displays info of all the players on the server.

/banUser [name]
Bans a user by their ingame name. Writes their GUID to ban.txt

/banClient [id]
Bans a user by their client number. Writes their GUID to ban.txt

/tempBanUser [name]
Kicks and temporarily bans player by name from server.

/tempBanClient [id]
Kicks and temporarily bans player by client id from server

/unban [name]
Unban every player banned with [name]. If you want to unban a single player whose name appears more than once, you should edit "ban.txt" manually.

/tell [id]
Sends private message to specified client id


Here's another version with more details.....

Kicking players
There are a few ways in which to kick players, but I'm only going to cover the easiest and best way to do so. It involves using the status and clientkick commands. I prefer using this method of kicking as it prevents you from having to type out a player’s name, which can be lengthy and difficult depending on the complexity of the name. In addition, the player could also change his/her name in mid command and then you'd be forced to re-type the new name. In other words, use the below described method.
Status displays a list of the people currently connected to the server, whether they're playing or spectators. It works as follows:

Example: /rcon status
The following is then displayed in your console:

Client ID Score Ping GUID Player Name IP Address
0 23 45 100000 {PJG} Crimson 165.56.24.45
1 13 65 100001 {PJG} Stalker 65.45.24.57
2 33 51 100002 {PJG} AimRed 65.56.21.35
3 25 30 100003 You Suck! 125.54.85.21
4 21 32 100004 {PJG} Buzz Litebeer 24.56.42.51
5 12 100 100005 {PJG} Flying Nun 161.61.41.56

Once this is displayed, you simply find the player you wish to kick from the server and note their Client ID. You then use the command, clientkick, with the ID of the person, to boot them from the server. For this example, we will kick client #3 for being a bad little boy:
Example: /rcon clientkick 3

Banning Players
Banning players is done almost exactly the same as kicking them, just uses a different command. If you find that someone warrants banning, simply use the above status command to obtain the players client id, then use the either the tempbanclient or banclient commands.

Example: /rcon status
The following is then displayed in your console:
Client ID Score Ping GUID Player Name IP Address
0 23 45 100000 {PJG} Crimson 165.56.24.45
1 13 65 100001 {PJG} Stalker 65.45.24.57
2 33 51 100002 {PJG} AimRed 65.56.21.35
3 25 30 100003 You Suck! 125.54.85.21
4 21 32 100004 {PJG} Buzz Litebeer 24.56.42.51
5 12 100 100005 {PJG} Flying Nun 161.61.41.56



Permanently Banning Players
Once this is displayed, you simply find the player you wish to ban from the server and note their Client ID. You then use the command, banclient, using the ID, to permanently boot the person from the server. For this example, we will kick client #3 for not getting the hint:
Example: /rcon banclient 3


Temporarily Banning Players
Temporarily banning players is a good way to get rid of annoying players that didn’t really deserve and permanent ban but were not getting the hint in being kicked a few times. In our server config, I have sv_kickBanTime set to 3600 seconds, otherwise known as 1 hour. Using the above status info, temporarily banning client 4 would look like this:
Example: /rcon tempbanclient 4


UnBanning Players
UnBanning players is a little more complicated. There are currently 2 built-in ways to unban a player: 1) using the unBanUser command; 2) Connecting to your server via FTP and removing the player from the ban.txt file. If you banned players using 3rd party software, check with its user guide for info on “unbanning�.
Using the above example banned example, to remove the ban for “You Suck!�, you would issue the following, matching the players name exactly:
Example: /rcon unbanuser “You Suck!�

Merci à grobidon pour la source : http://www.cod-franc...p...pic=198&hl=

Image IPB

#2
Willy1973

Willy1973

    I want to be a root star

  • Admin
  • 5 711 messages
J'en remets une couche pour notre crazy :P et les admins serveurs ;)

/rcon kick (nom du joueur) : Permet de kiker un joueur par son pseudo.
/rcon clientkick (id du joueur) : Permet de kiker un joueur par son id.
/rcon banUser (nom du joueur) : Permet de kiker et de bannir un joueur définitivement par son nom.
/rcon banClient (id) : Permet de kiker et de bannir définitivement un joueur par son id.
/rcon tempBanUser (nom du joueur) : Permet de kiker et de bannir un joueur temporairement par son id.
/rcon tempBanClient (id) : Permet de kiker et de bannir un joueur temporairement par son id.
/rcon unban (nom du joueur) : Permet de débannir un joueur par son pseudo.
/rcon sv_kickbantime (60) : Permet de bannir un joueur pendant un temps definit, dans notre exemple 60 secondes.
/rcon tell (nom du joueur) : Permet d'envoyer un message privé a un joueur.

*********************************************************************

/rcon map (nom de la map): Permet de faire un change map.
/rcon map_rotate : Permet de charger la carte suivante.
/rcon map_restart : Permet de relancer la map.
/rcon fast_restart : Permet de relancer une map sans la retélécharger entièrement
/rcon sv_maprotation : Définis la rotation et le mode des maps.
/rcon sv_pure 1 : Interdire l'utilisation de mods, autres que ceux présents sur le serveur.
/rcon sv_allowdownload : Autorise les téléchargements (mods, maps)

*********************************************************************

/rcon serverinfo : Permet de récupérer des informations sur votre serveur.
/rcon systeminfo : Permet de récupérer des informations sur le système.
/rcon status : Permet de récupérer les informations concernant les joueurs présents sur le serveur.
/rcon exec "nom du fichier" : Permet d'exécuter un fichier cfg présent sur le serveur.
/rcon writeconfig "nom du fichier" : Permet de sauvegarder le fichier cfg.
/rcon sv_hostname (nom du serveur) : Permet de redéfinir le nom du serveur.
/rcon g_password [password] : Permet de définir le password d'entrée de serveur.
/rcon sv_privatepassword : Permet de définir le password concernant les slots réservés.
/rcon rcon_password : permet de redéfinir le rcon password existant.
/rcon g_gametype (sd, tdm, dm, hq, ctf) : Définis le type de jeu
/rcon sv_maxclients : Permet de définir le nombre de joueurs maxi visibles.
/rcon sv_privateclients : Permet de définir le nombre de slots réservés.
/rcon sv_maxrate : Permet de la valeur de rate maximal.
/rcon sv_disableclientconsole : Permet de désactive l'utilisation de la console par les joueurs
/rcon sv_minping : Définis le ping minimum pour rejoindre le serveur
/rcon sv_maxping : Définis le ping maximum pour rejoindre le serveur
/rcon sv_reconnectlimit : Définis le nombre de secondes pendant lesquelles un joueur doit attendre avant de se reconnecter
/rcon sv_voice : Permet d'activer ou non le alltalk sur le serveur.
/rcon sv_voicequality : Permet de définir la qualitée de la voix dans le jeu.