View Full Version : NFS 6 server with kick and ban comands


Arcade
04-09-2007, 04:21 AM
Does anybody know a patch or a method to make a nfs 6 server and to have something to ban or kick the cheaters from the server, or anyway to stop them?

Vanexroxics
04-09-2007, 07:35 AM
As far as possible, I'm not sure about this and I never seen any yet.

UCN Conversions
08-25-2012, 08:13 AM
Does anybody know a patch or a method to make a nfs 6 server and to have something to ban or kick the cheaters from the server, or anyway to stop them?


in the nfshp2 directory, support folder, readme.txt...
use the ~ key to bring up console and then follow these instructions.


Server
---------
/startrace
-attempts to start race immediately, without a countdown.
/boot [playername]
-boots player. player is banned until next setup phase.
/ban [playername]
-bans the player permanently. to un-ban, must hand edit ban file.
/bootbyid [id]
-same as boot but using client id for identification.
/banbyid [id]
-same as ban but using client id for identification.

so if you want to ban someone with the username bobisfast, you would press ~ then type /ban bobisfast and then hit enter. the server would then kick the player and ban him so he cannot join again.

there are all the console commands in the readme file as well.

This will work in the built in multiplayer mode. if you cannot make a server because it cannot connect to server, you need to edit your firewall/router settings. make sure your antivirus/firewall program list allows nfshp.exe to run online. also, i recommend using a DMZ in your router. for more info on setting up a DMZ, refer to your router manufacturers webpage, or google it. i use both these settngs for my nfshp2 on win7 64-bit.


here is the rest of the commands in readme.txt



ADVANCED CONSOLE COMMANDS
===========================
Console commands can be entered in either of the text entry areas
in the simulation. Some commands provide extra or advanced functionality
not provided via the GUI. All commands are preceded with the "/" character.
These commands are only recognized in English.
Typing /? will give a list of commands.
Some commands and their functions ([] denotes a parameter):

Client commands
---------------
/name [playername] e.g. /name Bob
-Requests change to new client name
/voteboot [playername] e.g. /voteboot Bob
-adds a vote to boot client, if eligible to vote
/votebootbyid [id]
-same as voteboot but using client id for identification.
/votemap [trackname] or /votemap [tracknumber] e.g. /votemap Coastal Parklands
-adds a vote to change track, if eligible to vote.
Also recognizes Random. Only first 5 chars of track name needed, English only.
/setup
-if in setup mode, launches car select dialog

Server
---------
/startrace
-attempts to start race immediately, without a countdown.
/boot [playername]
-boots player. player is banned until next setup phase.
/ban [playername]
-bans the player permanently. to un-ban, must hand edit ban file.
/bootbyid [id]
-same as boot but using client id for identification.
/banbyid [id]
-same as ban but using client id for identification.

Both
------
/send [playername],[message] e.g. /send Bob,hello
-sends a directed message to player.
/quit or /exit function
-exit directly to desktop.
/disconnect
-exit to FE, equivalent to disconnect button.
/challenge or /reset
-equivalent to request restart button if client, resets if running server.
/idlist
-shows list of connected clients with the server assigned client ID.

Advanced Server Commands
------------------------
/server finishtimeout [ms]
-sets the timeout for race over after the first player finishes a single race.
(default is 90 seconds, 0 is off)
/server laptimeout [ms]
-sets lap inactivity timeout. (default 10 minutes, min 5 minutes, 0=off)
/server maxsetuptime [ms]
-sets max setup time after entering setup mode (default 0=off, min 15 seconds)
/server heartbeat [ms]
-sets heartbeat time before booting unresponsive client. (min 10 seconds)
/server resultsdisplaytime [ms]
-length of time for server to stay in results mode after race finish.
/server countdown [ms]
-sets setup time after first car selected. (default 15 seconds, min 5 seconds)
/server docountdown [1 or 0]
-if 0 sets first car selected countdown to off, non 0 = on. (default on)
/server voting [1 or 0]
-if 0 ignores votes for booting and track change. (default on)
/server numraces [num]
-number of races before settings, e.g. random, are reprocessed (default is 5)
/server laps [num]
-alter number of laps for next race, will be processed on next server reset.
/server class [class]
-class restriction for next race (1-5 = class, any other number is any class)
/server direction [num]
-direction for next race after a reset.
/track [trackname] or /track [tracknumber]
-changes next track that server will use after a reset.
/racetype ko or /racetype sr
-changes racetype that server will use after a reset.
/servername [NewName]
-changes server name.
/password [NewPassword]
-changes server password. Maximum of 12 characters.

Voting
---------
-The Voting commands /votemap and /voteboot allow settings to be changed on
Servers by Clients. Requesting a restart also uses the voting mechanism.
-Voting is most useful on dedicated servers.
-For most votes, to be eligible to vote you must either be a racer, or the
Server must be out of the Racing phase.
-To carry a restart vote during Racing, All racers must agree to restart.
However if there is only one racer, anyone can cause a restart.
-Voting for a new map requires unanimity from racers during the Racing phase,
otherwise half or more of eligible voters must agree.
-Voting to boot requires at least two votes, as well as a clear majority.