PDA

View Full Version : R Minutes Banning


Rafterman
02-05-2005, 20:23
How can I bann Players for 5 minutes ??? Can someone help me !

SatanClaus
03-05-2005, 19:16
this feature only works via the tcpquery-port:
by default the tcpquery-port of your server is 51234 and you can reach it with this:
telnet IP 51234And yes, you should substitute "IP" with your IP.

When everything worked out you should see something like "[TS]" and a prompt waiting for commands...
just use the help command to get information... did this for you:
[TS]
help
command overview:
help : this helpfile
sl : serverlist
pl : playerlist
cl : channellist
ver : version
gi : global information
sel : select
si : server information
msg : message to server
msgu : message to user
msgall : message to all servers
login : login to server
slogin : superlogin to server
fc : finds a channel
ci : display channel info
dbci : display db channel info
fp : finds a player
dbfp : db find player
pi : display infos about a player
dbpi : display db infos about a player
sppriv : set user privilege
kick : kick player
removeclient : remove client
mptc : move player to channel
gapl : get average packet loss
log : show serverlog
logfind : search serverlog
logmark : add a line to serverlog
dccl : channel client list
serverstart : start server
serverstop : stop server
serveradd : adds a server
serverdel : deletes a server
serverset : set a server variable
dbserverlist : list all servers from db
checkserverok : checks if server hangs
rehash : reload server settings
dbuserlist : display server user list
dbuseradd : adds a user to server
dbuserdel : deletes a user from server
dbuserchangepw : changes password of a user
dbuserchangeattribs : changes rights of a user
dbuserid : display dbid from loginname
dbsuserlist : display superadmin serverlist
dbsuseradd : adds a superadmin to server
dbsuserdel : deletes a superadmin from server
dbsuserchangepw : changes password of a superadmin
lc : list all open tcpquery connections
ki : kick idlers
banlist : show banlist
banadd : add ip ban
bandel : del ip ban
banclear : clear banlist
banplayer : bans a player
globalset : set a global variable
quit : close connection
OK
help sel
Name
sel - select a virtual server
Usage
sel <serverport>
Chooses the server specified with <serverport>, important for many
following commands, that manipulate the selected server.
Example
sel 8767
>OK
OK
help slogin
Name
slogin - login as superadmin
Usage
slogin <username> <password>
slogin will log into your superadmin account. This gives you all
permissions possible - be careful with your commands :).
Example
slogin superadmin g7bni
>OK
OK
help login
Name
login - login with your account data
Usage
login <username> <password>
login will log a regular TS account. What you will be able to do depends
on the permission settings... Logging in is necessary for all advanced
commands. If you want to log in as superadmin (-> slogin).
Example
login SA_Account9 3rnie&b3rt
OK
help banplayer
Name
banplayer - bans the IP of a currently connected player
Usage
banplayer <player_id>
banplayer <player_id> <time>
This is handy if you dont want to look up the IP of somebody connected
to your server, but just want to ban him. The IP of player corresponding
to the ID is banned. Note: This is ban only, no kick occurs.
banplayer can also be used to place "time bans", that is bans that only
last for a certain amount of time. The option <time> is measured in
minutes.
Example
fp dark
>p_id p_dbid c_id nickname loginname ip
>1741 0 4259 "DarkArchai" "" "62.46.89.111"
>OK
banplayer 1741
>OK
banlist
>b_id ip created mins by
>70 62.46.89.111 23-10-2003 01:42:36 0 "SSA_Account9"
>OK
OK


cu
SatanClaus