From 1ff10375e42e70a782c41b4e7ec442bd76802980 Mon Sep 17 00:00:00 2001 From: esteel Date: Wed, 28 Feb 2007 15:22:47 +0000 Subject: [PATCH] removed a few 'set' from variables to make things look easier and less scary :) git-svn-id: svn://svn.icculus.org/nexuiz/trunk@2213 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- Docs/FAQ.aft | 4 +- Docs/FAQ.html | 4 +- Docs/server/readme.txt | 6 +-- Docs/server/server.cfg | 100 ++++++++++++++++++++--------------------- 4 files changed, 57 insertions(+), 57 deletions(-) diff --git a/Docs/FAQ.aft b/Docs/FAQ.aft index 29ac50e99..b9c90e261 100644 --- a/Docs/FAQ.aft +++ b/Docs/FAQ.aft @@ -56,8 +56,8 @@ To add the command line argument on Windows, create a new shortcut to |nexuiz-sd If you follow the tutorial mentioned above you do not need this command line argument as it will be done in the config file created for the server. ** Is there some kind of rcon? -Yes starting with Nexuiz 2.0 there is rcon (QuakeWorld compatible). To use it you must enter |set rcon__password hackme| in the server console or server config file. The Nexuiz client has to set the same password in the same fasion. You can then issue commands with |rcon |. There are also external rcon tools but make sure you use a QW compatible rcon tool. -There is also a feature called |client side commands|. To enable it enter |set sv__clientcommands 1| on your server console. Don't forget to set a password with |set sv__clientcommands__password hackme|. Now you can become admin ingame by entering |ccl hackme| on the client console. To issue commands enter |cc | (e.g. |cc restart| or |cc chmap dm_nexdm12|). +Yes starting with Nexuiz 2.0 there is rcon (QuakeWorld compatible). To use it you must enter |rcon__password hackme| in the server console or server config file. The Nexuiz client has to set the same password in the same fasion. You can then issue commands with |rcon |. There are also external rcon tools but make sure you use a QW compatible rcon tool. +There is also a feature called |client side commands|. To enable it enter |sv__clientcommands 1| on your server console. Don't forget to set a password with |sv__clientcommands__password hackme|. Now you can become admin ingame by entering |ccl hackme| on the client console. To issue commands enter |cc | (e.g. |cc restart| or |cc chmap dm_nexdm12|). ** How can i kick people who are using special characters in their names? Enter |status| at the console. You will see a list of all players. In front of their names you will see a number (the player id). You can kick the player you don't like with |kick # | (notice the space after #). diff --git a/Docs/FAQ.html b/Docs/FAQ.html index 18eaa6467..95f39ef44 100644 --- a/Docs/FAQ.html +++ b/Docs/FAQ.html @@ -217,8 +217,8 @@ If you follow the tutorial mentioned above you do not need this command line arg

Is there some kind of rcon?

-Yes starting with Nexuiz 2.0 there is rcon (QuakeWorld compatible). To use it you must enter set rcon_password hackme in the server console or server config file. The Nexuiz client has to set the same password in the same fasion. You can then issue commands with rcon <command>. There are also external rcon tools but make sure you use a QW compatible rcon tool. -There is also a feature called client side commands. To enable it enter set sv_clientcommands 1 on your server console. Don't forget to set a password with set sv_clientcommands_password hackme. Now you can become admin ingame by entering ccl hackme on the client console. To issue commands enter cc <command> (e.g. cc restart or cc chmap dm_nexdm12). +Yes starting with Nexuiz 2.0 there is rcon (QuakeWorld compatible). To use it you must enter rcon_password hackme in the server console or server config file. The Nexuiz client has to set the same password in the same fasion. You can then issue commands with rcon <command>. There are also external rcon tools but make sure you use a QW compatible rcon tool. +There is also a feature called client side commands. To enable it enter sv_clientcommands 1 on your server console. Don't forget to set a password with sv_clientcommands_password hackme. Now you can become admin ingame by entering ccl hackme on the client console. To issue commands enter cc <command> (e.g. cc restart or cc chmap dm_nexdm12).

How can i kick people who are using special characters in their names?

diff --git a/Docs/server/readme.txt b/Docs/server/readme.txt index d60f08137..fa4370522 100644 --- a/Docs/server/readme.txt +++ b/Docs/server/readme.txt @@ -9,9 +9,9 @@ directory called ~/.nexuiz/data . An important thing is to make sure that your firewall does allow to contact your server. This typicly means you will have to open or -forward the port (see the line in your config.cfg -for the right port number) to the computer running your server. How -to do this does depend on your computer setup. +forward the port (see the line in your config.cfg for the +right port number) to the computer running your server. How to do +this does depend on your computer setup. If you plan to install custom maps on your server you should read the file Docs/mapdownload.txt to learn how to setup automatic map diff --git a/Docs/server/server.cfg b/Docs/server/server.cfg index 8aa2fd8e8..25d5b89b1 100644 --- a/Docs/server/server.cfg +++ b/Docs/server/server.cfg @@ -1,63 +1,63 @@ // you need to surround a setting with " if it contains special characters like a space, a semicolon or // -// a semicolon separates commands and // starts a comment so the rest in the line is ignored when loading the file +// "" is NO-SETTING, a semicolon separates commands and // starts a comment so the rest in the line is ignored when loading the file maxplayers 8 // number of players allowed on the server -set port 26000 // the port used by the server -set sv_public 1 // 0 if the server should not be on the public servers list -set hostname "my server (special things)" // this name will appear on the server list -set sv_motd "don't drink and frag" // this message is displayed to players on connect -set sv_maxrate 10000 // limits client connections to this rate in bytes/seconds -set sys_ticrate 0.05 // how long a server frame is. 0.05 = 20 fps, 0.02 = 50 fps. Lower settings makes things smoother but create more traffic -set g_antilag 0 // 1 to enable a experimental antilag feature -set sv_cheats 0 // 1 will enable fly/god and other cheats - -set log_file server.log // server console output will also be copied to this file -set rcon_password "" // you can use rcon if this password is set. you need to set the same password in your client if you want to issue rcon commands -set sv_curl_defaulturl "http://www.nexuiz.com/contentdownload/getmap.php?file=" //default download URL - -set sv_vote_commands "restart timelimit fraglimit chmap g_grappling_hook sv_defaultplayer_fbskin_green sv_defaultplayer_fbskin_red sv_defaultplayer_fbskin_orange sv_defaultplayer_fbskin_off" // players can vote for those commands or use them if they are masters -set sv_vote_call 1 // 0 will disable the normal voting -set sv_vote_master 1 // 0 will disable voting to become masters -set sv_vote_timeout 300 // how long a vote will run at max -set sv_vote_wait 120 // how long a votecaller has to wait to vote again if his vote did not pass - -set sv_ready_restart 0 // 1 to allow players to restart the server when all of them press the ready button -set sv_autoscreenshot 0 // 1 will force a screenshot for all clients when the map ends. Useful for the competitions or the ladder. - -set sv_defaultcharacter 0 // 1 will force a specific model for all players -set sv_defaultplayermodel models/player/nexus.zym // this model will be used -set sv_defaultplayerskin 0 // this skin number will be forced for all players -set g_fullbrightplayers 0 // 1 to make players fullbright -set g_fullbrightitems 0 // 1 to make items fullbright - -set g_grappling_hook 0 // 1 to enable the grappling hook - -set g_balance_teams 1 // 0 will show players the team selection menu after joining instead of automaticly putting them on the smaller team -set g_balance_teams_force 0 // 1 to automaticly balance teams even during a game - -set bot_number 0 // number of bots to add -set skill 1 // the bots skill level -set minplayers 0 // add bots if less then that number of players playing -set bot_prefix [BOT] // prepend this to all botnames -set bot_suffix "" // append this to all botnames - -set sv_mapchange_delay 5 // how long the pause between maps will be -set g_maplist_shuffle 0 // 1 will choose a random map as next map +port 26000 // the port used by the server +sv_public 1 // 0 if the server should not be on the public servers list +hostname "my server (special things)" // this name will appear on the server list +sv_motd "don't drink and frag" // this message is displayed to players on connect +sv_maxrate 10000 // limits client connections to this rate in bytes/seconds +sys_ticrate 0.05 // how long a server frame is. 0.05 = 20 fps, 0.02 = 50 fps. Lower settings makes things smoother but create more traffic +g_antilag 0 // 1 to enable a experimental antilag feature +sv_cheats 0 // 1 will enable fly/god and other cheats + +log_file server.log // server console output will also be copied to this file +rcon_password "" // you can use rcon if this password is set. you need to set the same password in your client if you want to issue rcon commands +sv_curl_defaulturl "http://www.nexuiz.com/contentdownload/getmap.php?file=" //default download URL + +sv_vote_commands "restart timelimit fraglimit chmap g_grappling_hook sv_defaultplayer_fbskin_green sv_defaultplayer_fbskin_red sv_defaultplayer_fbskin_orange sv_defaultplayer_fbskin_off" // players can vote for those commands or use them if they are masters +sv_vote_call 1 // 0 will disable the normal voting +sv_vote_master 1 // 0 will disable voting to become masters +sv_vote_timeout 300 // how long a vote will run at max +sv_vote_wait 120 // how long a votecaller has to wait to vote again if his vote did not pass + +sv_ready_restart 0 // 1 to allow players to restart the server when all of them press the ready button +sv_autoscreenshot 0 // 1 will force a screenshot for all clients when the map ends. Useful for the competitions or the ladder. + +sv_defaultcharacter 0 // 1 will force a specific model for all players +sv_defaultplayermodel models/player/nexus.zym // this model will be used +sv_defaultplayerskin 0 // this skin number will be forced for all players +g_fullbrightplayers 0 // 1 to make players fullbright +g_fullbrightitems 0 // 1 to make items fullbright + +g_grappling_hook 0 // 1 to enable the grappling hook + +g_balance_teams 1 // 0 will show players the team selection menu after joining instead of automaticly putting them on the smaller team +g_balance_teams_force 0 // 1 to automaticly balance teams even during a game + +bot_number 0 // number of bots to add +skill 1 // the bots skill level +minplayers 0 // add bots if less then that number of players playing +bot_prefix [BOT] // prepend this to all botnames +bot_suffix "" // append this to all botnames + +sv_mapchange_delay 5 // how long the pause between maps will be +g_maplist_shuffle 0 // 1 will choose a random map as next map // remove the // from the beginning of one g_maplist line to play those maps only // arena mode (1on1 tourney) -//set g_maplist 'arena_aggressor''arena_aneurysm''arena_basement''arena_basementctf''arena_bleach''arena_darkzone''arena_downer''arena_evilspace''arena_farewell''arena_runningman''arena_runningman_1on1remix''arena_silvercity''arena_skyway''arena_slimepit''arena_soylent''arena_starship''arena_stormkeep''arena_toxic''arena_warfare' +//g_maplist 'arena_aggressor''arena_aneurysm''arena_basement''arena_basementctf''arena_bleach''arena_darkzone''arena_downer''arena_evilspace''arena_farewell''arena_runningman''arena_runningman_1on1remix''arena_silvercity''arena_skyway''arena_slimepit''arena_soylent''arena_starship''arena_stormkeep''arena_toxic''arena_warfare' // ctf mode -//set g_maplist 'ctf_basementctf''ctf_dismal''ctf_runningmanctf' +//g_maplist 'ctf_basementctf''ctf_dismal''ctf_runningmanctf' // dm mode (free for all) -//set g_maplist 'dm_aggressor''dm_aneurysm''dm_basement''dm_bleach''dm_bluesky''dm_bloodprison''dm_darkzone''dm_downer''dm_evilspace''dm_farewell''dm_runningman''dm_runningman_1on1remix''dm_silvercity''dm_skyway''dm_slimepit''dm_soylent''dm_starship''dm_stormkeep''dm_toxic''dm_warfare' +//g_maplist 'dm_aggressor''dm_aneurysm''dm_basement''dm_bleach''dm_bluesky''dm_bloodprison''dm_darkzone''dm_downer''dm_evilspace''dm_farewell''dm_runningman''dm_runningman_1on1remix''dm_silvercity''dm_skyway''dm_slimepit''dm_soylent''dm_starship''dm_stormkeep''dm_toxic''dm_warfare' // domination mode -//set g_maplist 'dom_aggressor''dom_aneurysm''dom_basement''dom_bleach''dom_darkzone''dom_downer''dom_evilspace''dom_runningman''dom_runningman_1on1remix''dom_silvercity''dom_skyway''dom_slimepit''dom_soylent''dom_starship''dom_stormkeep''dom_toxic' +//g_maplist 'dom_aggressor''dom_aneurysm''dom_basement''dom_bleach''dom_darkzone''dom_downer''dom_evilspace''dom_runningman''dom_runningman_1on1remix''dom_silvercity''dom_skyway''dom_slimepit''dom_soylent''dom_starship''dom_stormkeep''dom_toxic' // lms mode (last man standing) -//set g_maplist 'lms_aggressor''lms_basement''lms_bleach''lms_bluesky''lms_bloodprison''lms_downer''lms_evilspace''lms_farewell''lms_runningman''lms_runningman_1on1remix''lms_skyway''lms_slimepit''lms_soylent''lms_starship''lms_stormkeep''lms_toxic''lms_warfare' +//g_maplist 'lms_aggressor''lms_basement''lms_bleach''lms_bluesky''lms_bloodprison''lms_downer''lms_evilspace''lms_farewell''lms_runningman''lms_runningman_1on1remix''lms_skyway''lms_slimepit''lms_soylent''lms_starship''lms_stormkeep''lms_toxic''lms_warfare' // rune mode -//set g_maplist 'rune_aggressor''rune_aneurysm''rune_basement''rune_bleach''rune_darkzone''rune_downer''rune_evilspace''rune_runningman''rune_runningman_1on1remix''rune_silvercity''rune_skyway''rune_slimepit''rune_soylent''rune_starship''rune_stormkeep''rune_toxic' +//g_maplist 'rune_aggressor''rune_aneurysm''rune_basement''rune_bleach''rune_darkzone''rune_downer''rune_evilspace''rune_runningman''rune_runningman_1on1remix''rune_silvercity''rune_skyway''rune_slimepit''rune_soylent''rune_starship''rune_stormkeep''rune_toxic' // tdm mode (team deatch match) -//set g_maplist 'tdm_aggressor''tdm_aneurysm''tdm_basement''tdm_bleach''tdm_darkzone''tdm_downer''tdm_evilspace''tdm_farewell''tdm_runningman''tdm_runningman_1on1remix''tdm_silvercity''tdm_skyway''tdm_slimepit''tdm_soylent''tdm_starship''tdm_stormkeep''tdm_toxic''tdm_warfare' +//g_maplist 'tdm_aggressor''tdm_aneurysm''tdm_basement''tdm_bleach''tdm_darkzone''tdm_downer''tdm_evilspace''tdm_farewell''tdm_runningman''tdm_runningman_1on1remix''tdm_silvercity''tdm_skyway''tdm_slimepit''tdm_soylent''tdm_starship''tdm_stormkeep''tdm_toxic''tdm_warfare' // create your own list here -//set g_maplist 'mode1_mapname1''mode2_mapname2' +//g_maplist 'mode1_mapname1''mode2_mapname2' -- 2.39.2