Settings and Commands/zh: Difference between revisions

From DDraceNetwork
(→‎地图设置: Part of the translation)
m (原文Allow fire non auto weapons when deep,经测试只影响deep状态下的锤击)
Line 1,197: Line 1,197:
|-
|-
| sv_deepfly
| sv_deepfly
| Allow fire non auto weapons when deep
| 是否允许deep状态下锤击
| 1
| 1
| 0
| 0

Revision as of 05:53, 28 October 2022

警告:顯示的標題「设置与指令」重寫了此前顯示的標題「設置和指令」。

EnglishEspañolPortuguês (Brasil)УкраїнськаРусский簡體中文DeutschItalianoFrançaisCatalàTürkçe한국어

地圖設置

設置名稱 說明 默認值 最小值 最大值
sv_hit 玩家能否使用錘子/榴彈發射器/激光槍擊中其他玩家 1 0 1
sv_endless_drag 無限鈎索是否默認開啟 0 0 1
sv_freeze_delay 玩家在觸碰凍結區域後會默認凍結多少秒(適用於除開關層設置的凍結區域以及深度凍結區域之外的所有情況) 3 1 30
sv_save_worse_scores 是否在已取得的較好記錄的前提下保存較差記錄 1 0 1
sv_pauseable 玩家是否可以使用spec指令 0 0 1
sv_team 地圖組隊設置(0 = 禁止組隊, 1 = 推薦組隊, 2 = 強制組隊, 3 = 強制單人) 1 0 3
sv_min_team_size 隊伍的最小隊員數(如果一個隊伍完成地圖時人數小於該值,則他們不會獲得團隊排名) 2 1 64
sv_max_team_size 隊伍的最大隊員數(當一個隊伍中的隊員數已達到該值,會阻止其他玩家加入該隊伍) 64 1 64
sv_old_laser 玩家是否會被自身發射的霰彈槍激光擊中,並將玩家拉向激光的反射點處(所有現代地圖應將此項設置為0)。開啟會導致霰彈槍激光無法擊中發射者自身,並且在擊中其他玩家時,其他玩家會被拉向發射者而非激光的反射點處。 0 0 1
sv_no_weak_hook_and_bounce 開啟後會使得所有玩家使用鈎索和發生碰撞時候展現出強鈎特性 0 0 1
sv_reset_pickups 玩家經過起點線後是否重置其所持有的武器 0 0 1
sv_plasma_range 等離子炮台偵測玩家的範圍 700 1 99999
sv_plasma_per_sec 等離子炮台每秒發射的子彈數量 3 0 50
sv_dragger_range 激光鈎爪偵測玩家的範圍 700 1 99999
sv_solo_server 設置地圖為單人模式(玩家之間除聊天外無法進行任何交互,伺服器會在加載地圖之前就啟用該參數) 0 0 1
sv_old_teleport_weapons 所有武器均可用於傳送(該參數已棄用,已使用新版實體代替,請勿更改) 0 0 1
sv_old_teleport_hook 鈎索可穿過傳送區域(該參數已棄用,已使用新版實體代替,請勿更改) 0 0 1
sv_teleport_hold_hook 玩家被傳送後已釋放的鈎索不斷開 0 0 1
sv_teleport_lose_weapons 玩家被傳送後重置所有武器(在競速地圖中常用) 0 0 1
sv_deepfly 允許處於深度凍結狀態的玩家在瞬時解凍時使用非自動武器(非自動武器即按住開火鍵後不能持續使用的武器) 1 0 1
sv_destroy_bullets_on_death 玩家死亡時立即清除他們發射的彈幕 1 0 1
sv_destroy_lasers_on_death 玩家死亡時立即清除他們發射的激光 0 0 1
指令 參數 說明
tune s[調整內容] i[數值] 調整全地圖的默認參數
toggle_tune s[調整內容] i[數值1] i[數值2] 切換全地圖的默認參數
tune_zone i[區域編號] s[調整內容] i[數值] 調整特定編號區域的參數
tune_zone_enter i[區域編號] r[信息] 進入特定區域後向玩家展示一條信息;區域編號0指向常規區域
tune_zone_leave i[區域編號] r[信息] 離開特定區域後向玩家展示一條信息;區域編號0指向常規區域
mapbug s[mapbug] 使用特定bug來開啟地圖兼容模式(例如:[/cdn-cgi/l/email-protection [email protected]])(意義不明...)
switch_open i[開關編號] 設置默認特定開關處於未激活狀態(否則處於激活狀態)

伺服器設置

設置名稱 說明 默認值 最小值 最大值
password 進入伺服器的密碼 ""
logfile 記錄所有輸出的文件名 ""
console_output_level 調整控制台中信息的數量 0 0 2
console_enable_colors 啟用控制台輸出文本的顏色變化 1 0 1
events 啟用節日模式(例如在某些節日裏玩家的默認表情發生變化,或在聖誕節里獲得特殊皮膚) 1 0 1
sv_name 伺服器的名字 "unnamed server"
bindaddr 綁定客戶端/伺服器的地址 ""
sv_ipv4only 設置是否只綁定IPv4,否則綁定所有可用接口 0 0 1
sv_port 伺服器的端口 (只有位於8303-8310之間的端口才能在局域網中使用,將該項設置為0會自動尋找一個可用端口) 0 0 0
sv_external_port 向官方伺服器報告的外部端口 0 0 0
sv_hostname 主機名稱 (僅0.7版本有效) ""
sv_map 伺服器使用的地圖 "Sunny Side Up"
sv_max_clients 伺服器允許的最大玩家數量 64 1 64
sv_max_clients_per_ip 伺服器允許同一IP位址下的最大玩家數量 4 1 64
sv_high_bandwidth 使用高帶寬模式,伺服器所需的帶寬增加一倍。僅在局域網中使用 0 0 1
sv_register 將伺服器註冊至官方伺服器上,並公開伺服器(可以在搜索列表中搜索到該伺服器) 1 0 1
sv_rcon_password 一級管理員遠程控制台密碼(擁有全部權限) ""
sv_rcon_mod_password 二級管理員遠程控制台密碼(擁有部分權限) ""
sv_rcon_helper_password 三級管理員遠程控制台密碼(擁有部分權限) ""
sv_rcon_max_tries 登錄遠程控制台的最大嘗試次數 30 0 100
sv_rcon_bantime 當登錄遠程控制台超過次數上限時封禁該玩家的時長(單位為分鐘),0代表僅踢出該玩家 5 0 1440
sv_auto_demo_record 自動錄製回放 0 0 1
sv_auto_demo_max 自動錄製回放的最大數量(0表示無限制) 10 0 1000
sv_tee_historian 開啟後會將玩家完整的遊戲流程記錄在磁盤當中(注意:啟用該項會佔用磁盤相當大部分的空間) 0 0 1
sv_vanilla_antispoof 啟用原生Antispoof(反混淆) 0 0 1
sv_dnsbl 啟用DNSBL(域名系統黑名單) 0 0 1
sv_dnsbl_host 用於IP驗證的DNSBL提供者的主機名 ""
sv_dnsbl_key 特定DNSBL提供者的可選認證密鑰 ""
sv_dnsbl_vote 阻止黑名單地址進行投票 0 0 1
sv_dnsbl_ban 自動封禁黑名單地址 0 0 1
sv_dnsbl_chat 禁止黑名單地址進行聊天 0 0 1
sv_rcon_vote 僅允許已認證客戶端進行投票 0 0 1
sv_player_demo_record 為每名玩家自動錄製回放 0 0 1
sv_demo_chat 將聊天內容添加至回放中 0 0 1
sv_server_info_per_second 每秒發送完整伺服器信息響應的最大數量(0表示沒有限制) 50 0 10000
sv_van_conn_per_second 反混淆的限流框架(0表示沒有限制) 10 0 10000
sv_sixup 啟用sixup連接 1 0 1
sv_skill_level 為Teeworls 0.7設置難度等級(0:休閒模式,1:普通模式,2:經濟模式) 1 0 2
debug Debug模式(調試模式) 0 0 1
dbg_curl Debug curl 0 0 1
dbg_pref 輸出結果 0 0 1
dbg_hitch 故障警告 0 0 0
dbg_stress Stress systems(僅限調試版本) 0 0 0
dbg_stress_network Stress network(僅限調試版本) 0 0 0
sv_welcome 當然玩家加入伺服器時展示的歡迎信息 ""
sv_reserved_slots 為特定玩家保留的人數位置數量 0 0 64
sv_reserved_slots_pass 加入為特定玩家保留的人數位置所需的密碼 ""
sv_hit 玩家之間是否可以用錘子/榴彈炮/激光進行交互 1 0 1
sv_endless_drag 是否默認開啟無限鈎索 0 0 1
sv_test_cmds 是否啟用測試指令/作弊指令(該選項僅在初始配置中生效) 0 0 1
sv_freeze_delay 玩家進入凍結狀態後自行解除凍結所需的時間(適用於除了開關層的凍結區域和深度凍結區域以外的所有凍結區域) 3 1 30
sv_endless_super_hook 超管玩家是否開啟無限鈎索 0 0 1
sv_hide_score 是否公佈玩家成績 0 0 1
sv_save_worse_scores 是否在玩家已擁有更好成績的情況下用較差成績將其覆蓋 1 0 1
sv_pauseable 玩家是否可以使用spec指令 0 0 1
sv_pause_messages 是否在玩家使用spec時向其展示信息 0 0 1
sv_pause_frequency 兩次使用spec的最短時間間隔 1 0 9999
sv_invite 是否允許玩家邀請其他玩家入隊 1 0 1
sv_invite_frequency 兩次邀請之間的最短時間間隔 1 0 9999
sv_tele_others_auth_level 傳送至其他玩家身上時需要的身份驗證級別 1 1 3
sv_emotional_tees 玩家發送表情時,面部表情是否隨之改變(1:改變,0:不變,-1:完全不變) 1 -1 1
sv_emoticon_delay 兩次發送表情的最短時間間隔 3 0 9999
sv_eye_emote_change_delay 兩次面部表情發生變化的最短時間間隔 1 0 9999
sv_chat_delay 兩次聊天的最短時間間隔 1 0 9999
sv_team_change_delay 兩次玩家改變所屬隊伍的最短時間間隔 3 0 9999
sv_info_change_delay 兩次玩家信息刷新的最短時間間隔(包括名稱,皮膚,顏色),為避免彩虹tee泛濫,應將其設置為很高的數值 5 0 9999
sv_vote_time 投票的持續時間 25 1 9999
sv_vote_map_delay 兩次地圖投票的最短時間間隔 0 0 9999
sv_vote_delay 兩次任意投票的最短時間間隔 3 0 9999
sv_vote_kick_delay 兩次投票移除玩家的最短時間間隔 0 0 9999
sv_vote_yes_percentage 投票生效或失效所需要的對應投票玩家所佔百分比 50 1 100
sv_vote_majority 是否開啟投票的反對選項,默認開啟 0 0 1
sv_vote_max_total 一次投票可參與的最多人數(0代表無限制) 0 0 64
sv_vote_veto_time 玩家加入伺服器多久後才可以進行地圖投票(0表示禁用) 20 0 1000
sv_kill_delay 兩次使用kill的最短時間間隔 1 0 9999
sv_suicide_penalty 被擊殺和重生之間的最短時間間隔 0 0 9999
sv_map_window Map downloading send-ahead window 15 0 100
sv_fast_download 啟用快速下載地圖 1 0 1
sv_shotgun_bullet_sound 是否開啟瘋狂的霰彈槍子彈音效(?) 0 0 1
sv_checkpoint_save 是否在成績記錄中保存經過時間檢查點時的記錄 1 0 1
sv_score_folder 用於保存記錄文件的文件夾 "records"
sv_region_name 伺服器所屬區域,用於區域禁令 "UNK"
sv_sql_servername 插入到記錄表中的SQL伺服器名稱 "UNK"
sv_savegames 是否啟用save和load指令 1 0 1
sv_saveswapgames_delay 在玩家讀取遊戲存檔或與其他玩家交換位置前的冷卻時間 30 0 10000
sv_saveswapgames_penalty 玩家在讀取存檔或與其他玩家交換位置後所獲得的懲罰時長 60 0 10000
sv_swap_timeout 連接超時後可持續存留在伺服器里的最長時間 180 0 10000
sv_swap 是否啟用swap指令 1 0 1
sv_use_sql Enables MySQL backend instead of SQLite backend (sv_sqlite_file is still used as fallback write server when no MySQL server is reachable) 0 0 1
sv_sql_queries_delay Delay in seconds between SQL queries of a single player 1 0 20
sv_sqlite_file File to store ranks in case sv_use_sql is turned off or used as backup sql server "ddnet-server.sqlite"
sv_use_upnp Enables UPnP support. (Requires -DCONF_UPNP=ON when compiling) 0 0 1
sv_ddrace_rules Whether the default mod rules are displayed or not 1 0 1
sv_rules_line1 第一行規則 ""
sv_rules_line2 第二行規則 ""
sv_rules_line3 第三行規則 ""
sv_rules_line4 第四行規則 ""
sv_rules_line5 第五行規則 ""
sv_rules_line6 第六行規則 ""
sv_rules_line7 第七行規則 ""
sv_rules_line8 第八行規則 ""
sv_rules_line9 第九行規則 ""
sv_rules_line10 第十行規則 ""
sv_team 地圖組隊設置(0 = 禁止組隊, 1 = 推薦組隊, 2 = 強制組隊, 3 = 強制單人) 1 0 3
sv_min_team_size 隊伍的最小人數(少於該人數的隊伍完成地圖不會獲得隊伍排名) 2 1 64
sv_max_team_size 隊伍的最大人數 64 1 64
sv_map_vote 是否允許使用map指令更換地圖 1 0 1
sv_announcement_filename file which will have the announcement, each one at a line "announcement.txt"
sv_announcement_interval time(minutes) in which the announcement will be displayed from the announcement file 300 1 9999
sv_announcement_random Whether announcements are sequential or random 1 0 1
sv_old_laser Whether lasers can hit you if you shot them and that they pull you towards the bounce origin (0 for all new maps) or lasers can't hit you if you shot them, and they pull others towards the shooter 0 0 1
sv_slash_me Whether /me is active on the server or not 0 0 1
sv_rejoin_team_0 Make a team automatically rejoin team 0 after finish (only if not locked) 1 0 1
conn_timeout Network timeout 100 5 1000
conn_timeout_protection Network timeout protection 1000 5 10000
sv_reset_pickups Whether the weapons are reset on passing the start tile or not 0 0 1
sv_show_others Whether players can use the command showothers or not 1 0 1
sv_show_others_default Whether players see others by default (2 for own team) 0 0 2
sv_show_all_default Whether players see all tees by default 0 0 1
sv_max_afk_time The time in seconds a player is allowed to be afk (0 = disabled) 0 0 9999
sv_max_afk_vote_time The time in seconds a player can be afk and his votes still count (0 = disabled) 300 0 9999
sv_plasma_range How far will the plasma gun track tees 700 1 99999
sv_plasma_per_sec How many shots does the plasma gun fire per seconds 3 0 50
sv_dragger_range How far will the dragger track tees 700 1 99999
sv_vote_pause Allow voting to pause players (instead of moving to spectators) 1 0 1
sv_vote_pause_time The time (in seconds) players have to wait in pause when paused by vote 10 0 360
sv_tune_reset Whether tuning is reset after each map change or not 1 0 1
sv_reset_file File to execute on map change or reload to set the default server settings "reset.cfg"
sv_input_fifo Fifo file to use as input for server console ""
sv_ddrace_tune_reset Whether DDRace tuning (sv_hit, sv_endless_drag and sv_old_laser) is reset after each map change or not 1 0 1
sv_nameless_score Whether nameless tee has a score or not 1 0 1
sv_time_in_broadcast_interval How often to update the broadcast time 1 0 60
sv_default_timer_type Default way of displaying time either game/round timer or broadcast. 0 = game/round timer, 1 = broadcast, 2 = 0+1, 3 = none 0 0 3
sv_chat_initial_delay The time in seconds before the first message can be sent 0 0 360
sv_chat_penalty chat score will be increased by this on every message, and decremented by 1 on every tick. 250 50 1000
sv_chat_threshold if chats core exceeds this, the player will be muted for sv_spam_mute_duration seconds 1000 50 10000
sv_spam_mute_duration how many seconds to mute, if player triggers mute on spam. 0 = off 60 0 3600
sv_rank_cheats Enable ranks after cheats have been used (file based server only) 0 0 1
sv_shutdown_when_empty Shutdown server as soon as no one is on it anymore 0 0 1
sv_reload_when_empty Reload map when server is empty (1 = reload once, 2 = reload every time server gets empty) 0 0 2
sv_kill_protection 0 - Disable, 1-9999 minutes 20 0 9999
sv_solo_server Set server to solo mode (no player interactions, has to be set before loading the map) 0 0 1
sv_client_suggestion Broadcast to display to players without DDNet client "Get DDNet client from DDNet.tw to use all features on DDNet!"
sv_client_suggestion_old Broadcast to display to players with an old version of DDNet client "Your DDNet client is old, update it on DDNet.tw!"
sv_client_suggestion_bot Broadcast to display to players with a known botting client "Your client has bots and can be remotely controlled!\nPlease use another client like DDNet client from DDNet.tw"
sv_banned_versions Comma separated list of banned clients to be kicked on join ""
sv_netlimit Netlimit: Maximum amount of traffic a client is allowed to use (in kb/s) 0 0 10000
sv_netlimit_alpha Netlimit: Alpha of Exponention moving average 50 1 100
sv_connlimit Connlimit: Number of connections an IP is allowed to do in a timespan 5 0 100
sv_connlimit_time Connlimit: Time in which IP's connections are counted 20 0 1000
sv_conn_logging_server Unix socket server for IP address logging (Unix only) ""
sv_warmup Number of seconds to do warmup before round starts 0 0 0
sv_motd Message of the day to display for the clients ""
sv_tournament_mode Tournament mode. When enabled, players joins the server as spectator 0 0 1
sv_spamprotection Spam protection 1 0 1
sv_spectator_slots Number of slots to reserve for spectators 0 0 64
sv_inactivekick_time How many minutes to wait before taking care of inactive players 0 0 1000
sv_inactivekick How to deal with inactive players (0=move to spectator, 1=move to free spectator slot/kick, 2=kick) 0 0 2
sv_strict_spectate_mode Restricts information in spectator mode 0 0 1
sv_vote_spectate Allow voting to move players to spectators 1 0 1
sv_vote_spectate_rejoindelay How many minutes to wait before a player can rejoin after being moved to spectators by vote 3 0 1000
sv_vote_kick Allow voting to kick players 1 0 1
sv_vote_kick_min Minimum number of players required to start a kick vote 0 0 64
sv_vote_kick_bantime The time in seconds to ban a player if kicked by vote. 0 makes it just use kick 5 0 1440
sv_join_vote_delay Add a delay before recently joined players can call any vote or participate in a kick/spec vote (in seconds) 300 0 1000
sv_old_teleport_weapons Teleporting of all weapons (deprecated, use special entities instead) 0 0 1
sv_old_teleport_hook Hook through teleporter (deprecated, use special entities instead) 0 0 1
sv_teleport_hold_hook Hold hook when teleported 0 0 1
sv_teleport_lose_weapons Lose weapons when teleported (useful for some race maps) 0 0 1
sv_deepfly 是否允許deep狀態下錘擊 1 0 1
sv_destroy_bullets_on_death Destroy bullets when their owner dies 1 0 1
sv_destroy_lasers_on_death Destroy lasers when their owner dies 0 0 1
sv_mapupdaterate 64 player id <-> vanilla id players map update rate 5 1 100
sv_server_type Type of the server (novice, moderate, ...) "none"
sv_send_votes_per_tick Number of vote options being send per tick 5 1 15
sv_rescue Allow /rescue command so players can teleport themselves out of freeze (setting only works in initial config) 0 0 1
sv_rescue_delay Number of seconds between two rescues 1 0 1000
sv_practice Enable practice mode for teams. Means you can use /rescue, but in turn your rank doesn't count. 1 0 1
dbg_dummies (Debug build only) 0 0 15

Econ設置

Setting Description Default Min Max
ec_bindaddr Address to bind the external console to. Anything but 'localhost' is dangerous "localhost"
ec_port Port to use for the external console 0 0 0
ec_password External console password ""
ec_bantime The time a client gets banned if econ authentication fails. 0 just closes the connection 0 0 1440
ec_auth_timeout Time in seconds before the the econ authentication times out 30 1 120
ec_output_level Adjusts the amount of information in the external console 1 0 2

伺服器指令

Command Arguments Description
echo r[text] Echo the text
exec r[file] Execute the specified file
toggle s[config-option] i[value 1] i[value 2] Toggle config value
access_level s[command] ?i[accesslevel] Specify command accessibility (admin = 0, moderator = 1, helper = 2, all = 3)
access_status i[accesslevel] List all commands which are accessible for admin = 0, moderator = 1, helper = 2, all = 3
cmdlist List all commands which are accessible for users
ban id] ?i[minutes] r[reason] Ban ip for x minutes for any reason
ban_range s[first ip] s[last ip] ?i[minutes] r[reason] Ban ip range for x minutes for any reason
unban entry] Unban ip/banlist entry
unban_range s[first ip] s[last ip] Unban ip range
unban_all Unban all entries
bans Show banlist
bans_save s[file] Save banlist in a file
ban id] ?i[minutes] r[reason] Ban player with ip/client id for x minutes for any reason
ban_region id] ?i[minutes] r[reason] Ban player in a region
ban_region_range s[region] s[first ip] s[last ip] ?i[minutes] r[reason] Ban range in a region
kick i[id] ?r[reason] Kick player with specified id for any reason
status ?r[name] List players containing name or all players
shutdown ?r[reason] Shut down
logout Logout of rcon
show_ips ?i[show] Show IP addresses in rcon commands (1 = on, 0 = off)
record ?s[file] Record to a file
stoprecord Stop recording
reload Reload the map
add_sqlserver 'w'] s[Database] s[Prefix] s[User] s[Password] s[IP] i[Port] ?i[SetUpDatabase ?] add a sqlserver
dump_sqlservers 'w'] dumps all sqlservers readservers = r, writeservers = w
auth_add s[ident] s[level] r[pw] Add a rcon key
auth_add_p s[ident] s[level] s[hash] s[salt] Add a prehashed rcon key
auth_change s[ident] s[level] r[pw] Update a rcon key
auth_change_p s[ident] s[level] s[hash] s[salt] Update a rcon key with prehashed data
auth_remove s[ident] Remove a rcon key
auth_list List all rcon keys
name_ban s[name] ?i[distance] ?i[is_substring] ?r[reason] Ban a certain nickname
name_unban s[name] Unban a certain nickname
name_bans List all name bans
sv_test_cmds Turns testing commands aka cheats on/off (setting only works in initial config)
sv_rescue Allow /rescue command so players can teleport themselves out of freeze (setting only works in initial config)
tune s[tuning] i[value] Tune variable to value
toggle_tune s[tuning] i[value 1] i[value 2] Toggle tune variable
tune_reset Reset tuning
tune_dump Dump tuning
tune_zone i[zone] s[tuning] i[value] Tune in zone a variable to value
tune_zone_dump i[zone] Dump zone tuning in zone x
tune_zone_reset ?i[zone] reset zone tuning in zone x or in all zones
tune_zone_enter i[zone] r[message] which message to display on zone enter; use 0 for normal area
tune_zone_leave i[zone] r[message] which message to display on zone leave; use 0 for normal area
mapbug s[mapbug] Enable map compatibility mode using the specified bug (example: [/cdn-cgi/l/email-protection [email protected]])
switch_open i[switch] Whether a switch is deactivated by default (otherwise activated)
pause_game Pause/unpause game
change_map ?r[map] Change map
random_map ?i[stars] Random map
random_unfinished_map ?i[stars] Random unfinished map
restart ?i[seconds] Restart in x seconds (0 = abort)
broadcast r[message] Broadcast message
say r[message] Say in chat
set_team i[id] i[team-id] ?i[delay in minutes] Set team of player to team
set_team_all i[team-id] Set team of all players to team
add_vote s[name] r[command] Add a voting option
remove_vote r[name] remove a voting option
force_vote s[name] s[command] ?r[reason] Force a voting option
clear_votes Clears the voting options
add_map_votes Automatically adds voting options for all maps
vote 'no'] Force a vote to yes/no
dump_antibot Dumps the antibot status
dbg_lognetwork Log the network
kill_pl v[id] Kills player v and announces the kill
totele i[number] Teleports you to teleporter v
totelecp i[number] Teleports you to checkpoint teleporter v
tele ?i[id] ?i[id] Teleports player i (or you) to player i (or you to where you look at)
addweapon i[weapon-id] Gives weapon with id i to you (all = -1, hammer = 0, gun = 1, shotgun = 2, grenade = 3, laser = 4, ninja = 5)
removeweapon i[weapon-id] removes weapon with id i from you (all = -1, hammer = 0, gun = 1, shotgun = 2, grenade = 3, laser = 4, ninja = 5)
shotgun Gives a shotgun to you
grenade Gives a grenade launcher to you
laser Gives a laser to you
rifle Gives a laser to you
jetpack Gives jetpack to you
weapons Gives all weapons to you
unshotgun Removes the shotgun from you
ungrenade Removes the grenade launcher from you
unlaser Removes the laser from you
unrifle Removes the laser from you
unjetpack Removes the jetpack from you
unweapons Removes all weapons from you
ninja Makes you a ninja
super Makes you super
unsuper Removes super from you
endless_hook Gives you endless hook
unendless_hook Removes endless hook from you
unsolo Puts you out of solo part
undeep Puts you out of deep freeze
left Makes you move 1 tile left
right Makes you move 1 tile right
up Makes you move 1 tile up
down Makes you move 1 tile down
move i[x] i[y] Moves to the tile with x/y-number ii
move_raw i[x] i[y] Moves to the point with x/y-coordinates ii
force_pause v[id] i[seconds] Force i to pause for i seconds
force_unpause v[id] Set force-pause timer of i to 0.
set_team_ddr v[id] ?i[team] Set ddrace team of a player
uninvite v[id] ?i[team] Uninvite player from team
vote_mute v[id] i[seconds] Remove v's right to vote for i seconds
vote_unmute v[id] Give back v's right to vote.
vote_mutes List the current active vote mutes.
mute
muteid v[id] i[seconds] ?r[reason] Mute player with id
muteip s[ip] i[seconds] ?r[reason] Mute player with IP address
unmute i[muteid]
unmuteid v[id] Unmute player with id
mutes
moderate Enables/disables active moderator mode for the player
vote_no
save_dry Dump the current savestring
freezehammer v[id] Gives a player Freeze Hammer
unfreezehammer v[id] Removes Freeze Hammer from a player

聊天框指令

Command Arguments Description
credits Shows the credits of the DDNet mod
rules Shows the server rules
emote ?s[emote name] i[duration in seconds] Sets your tee's eye emote
eyeemote 'off'|'toggle'] Toggles use of standard eye-emotes on/off, eyeemote s, where s = on for on, off for off, toggle for toggle and nothing to show current status
settings ?s[configname] Shows gameplay information for this server
help ?r[command] Shows help to command r, general help if left blank
info Shows info about this server
list ?s[filter] List connected players with optional case-insensitive substring matching filter
me r[message] Like the famous irc command '/me says hi' will display '<yourname> says hi'
w s[player name] r[message] Whisper something to someone (private message)
whisper s[player name] r[message] Whisper something to someone (private message)
c r[message] Converse with the last person you whispered to (private message)
converse r[message] Converse with the last person you whispered to (private message)
pause ?r[player name] Toggles pause
spec ?r[player name] Toggles spec (if not available behaves as /pause)
pausevoted Toggles pause on the currently voted player
specvoted Toggles spec on the currently voted player
dnd Toggle Do Not Disturb (no chat and server messages)
mapinfo ?r[map] Show info about the map with name r gives (current map by default)
timeout ?s[code] Set timeout protection code s
practice '1'] Enable cheats (currently only /rescue) for your current team's run, but you can't earn a rank
swap ?r[player name] Request to swap your tee with another team member
save ?r[code] Save team with code r.
load ?r[code] Load with code r. /load to check your existing saves
map ?r[map] Vote a map by name
rankteam ?r[player name] Shows the team rank of player with name r (your team rank by default)
teamrank ?r[player name] Shows the team rank of player with name r (your team rank by default)
rank ?r[player name] Shows the rank of player with name r (your rank by default)
top5team ?s[player name] ?i[rank to start with] Shows five team ranks of the ladder or of a player beginning with rank i (1 by default, -1 for worst)
teamtop5 ?s[player name] ?i[rank to start with] Shows five team ranks of the ladder or of a player beginning with rank i (1 by default, -1 for worst)
top ?i[rank to start with] Shows the top ranks of the global and regional ladder beginning with rank i (1 by default, -1 for worst)
top5 ?i[rank to start with] Shows the top ranks of the global and regional ladder beginning with rank i (1 by default, -1 for worst)
times ?s[player name] ?i[number of times to skip] /times ?s?i shows last 5 times of the server or of a player beginning with name s starting with time i (i = 1 by default, -1 for first)
points ?r[player name] Shows the global points of a player beginning with name r (your rank by default)
top5points ?i[number] Shows five points of the global point ladder beginning with rank i (1 by default)
team ?i[id] Lets you join team i (shows your team if left blank)
lock '1'] Toggle team lock so no one else can join and so the team restarts when a player dies. /lock 0 to unlock, /lock 1 to lock.
unlock Unlock a team
invite r[player name] Invite a person to a locked team
showothers '1'|'2'] Whether to show players from other teams or not (off by default), optional i = 0 for off, i = 1 for on, i = 2 for own team only
showall '1'] Whether to show players at any distance (off by default), optional i = 0 for off else for on
specteam '1'] Whether to show players from other teams when spectating (on by default), optional i = 0 for off else for on
ninjajetpack '1'] Whether to use ninja jetpack or not. Makes jetpack look more awesome
saytime ?r[player name] Privately messages someone's current time in this current running race (your time by default)
saytimeall Publicly messages everyone your current time in this current running race
time Privately shows you your current time in this current running race in the broadcast message
timer 'broadcast'|'both'|'none'|'cycle'] Personal Setting of showing time in either broadcast or game/round timer, timer s, where s = broadcast for broadcast, gametimer for game/round timer, cycle for cycle, both for both, none for no timer and nothing to show current status
r Teleport yourself out of freeze (use sv_rescue 1 to enable this feature)
rescue Teleport yourself out of freeze (use sv_rescue 1 to enable this feature)
tp ?r[player name] Teleport yourself to player or to where you are spectating if no player name is given
teleport ?r[player name] Teleport yourself to player or to where you are spectating if no player name is given
kill Kill yourself when kill-protected during a long game (use f1, kill for regular kill)

客戶端設置

Setting Description Default Min Max
cl_predict Predict client movements 1 0 1
cl_predict_dummy Predict dummy movements 1 0 1
cl_antiping_limit Antiping limit (0 to disable) 0 0 200
cl_antiping Enable antiping, i. e. more aggressive prediction. 0 0 1
cl_antiping_players Predict other player's movement more aggressively (only enabled if cl_antiping is set to 1) 1 0 1
cl_antiping_grenade Predict grenades (only enabled if cl_antiping is set to 1) 1 0 1
cl_antiping_weapons Predict weapon projectiles (only enabled if cl_antiping is set to 1) 1 0 1
cl_antiping_smooth Make the prediction of other player's movement smoother 0 0 1
cl_antiping_gunfire Predict gunfire and show predicted weapon physics (with cl_antiping_grenade 1 and cl_antiping_weapons 1) 1 0 1
cl_prediction_margin Prediction margin in ms (adds latency, can reduce lag from ping jumps) 10 1 2000
cl_nameplates Show name plates 1 0 1
cl_afk_emote Show zzz emote next to afk players 1 0 1
cl_nameplates_always Always show name plates disregarding of distance 1 0 1
cl_nameplates_teamcolors Use team colors for name plates 1 0 1
cl_nameplates_size Size of the name plates from 0 to 100% 50 0 100
cl_nameplates_clan Show clan in name plates 0 0 1
cl_nameplates_clan_size Size of the clan plates from 0 to 100% 30 0 100
cl_nameplates_ids Show IDs in name plates 0 0 1
cl_nameplates_ha Show Health and Armor in name plates 0 0 1
cl_nameplates_ha_size Size of the health and armor nameplates from 0 to 100% 50 0 100
cl_nameplates_own Show own name plate (useful for demo recording) 0 0 1
cl_nameplates_friendmark Show friend mark (♥) in name plates 0 0 1
cl_nameplates_strong Show strong/weak in name plates (0 - off, 1 - icons, 2 - icons + numbers) 0 0 2
cl_text_entities Render textual entity data 1 0 1
cl_text_entities_size Size of textual entity data from 1 to 100% 100 1 100
cl_authed_player_color Color of name of authenticated player in scoreboard 5898211
cl_same_clan_color Clan color of players with the same clan as you in scoreboard. 5898211
cl_enable_ping_color Whether ping is colored in scoreboard. 1 0 1
cl_autoswitch_weapons Auto switch weapon on pickup 1 0 1
cl_autoswitch_weapons_out_of_ammo Auto switch weapon when out of ammo 0 0 1
cl_showhud Show ingame HUD 1 0 1
cl_showhud_healthammo Show ingame HUD (Health + Ammo) 1 0 1
cl_showhud_score Show ingame HUD (Score) 1 0 1
cl_showhud_timer Show ingame HUD (Timer) 1 0 1
cl_showrecord Show old style DDRace client records 0 0 1
cl_shownotifications Make the client notify when someone highlights you 1 0 1
cl_showemotes Show tee emotes 1 0 1
cl_showchat Show chat (2 to always show large chat area) 1 0 2
cl_show_chat_friends Show only chat messages from friends 0 0 1
cl_show_chat_system Show chat messages from the server 1 0 1
cl_showkillmessages Show kill messages 1 0 1
cl_show_votes_after_voting Show votes window after voting 0 0 1
cl_show_local_time_always Always show local time 0 0 1
cl_showfps Show ingame FPS counter 0 0 1
cl_showpred Show ingame prediction time in milliseconds 0 0 1
cl_eye_wheel Show eye wheel along together with emotes 1 0 1
cl_eye_duration How long the eyes emotes last 999999 1 999999
cl_airjumpindicator 1 0 1
cl_threadsoundloading Load sound files threaded 0 0 1
cl_warning_teambalance Warn about team balance 1 0 1
cl_mouse_deadzone Deadzone for the camera to follow the cursor 0 0 3000
cl_mouse_followfactor Factor for the camera to follow the cursor 0 0 200
cl_mouse_max_distance Maximum cursor distance 400 0 5000
cl_mouse_min_distance Minimum cursor distance 0 0 5000
cl_dyncam Enable dyncam 0 0 1
cl_dyncam_max_distance Maximum dynamic camera cursor distance 1000 0 2000
cl_dyncam_min_distance Minimum dynamic camera cursor distance 0 0 2000
cl_dyncam_mousesens Mouse sens used when dyncam is toggled on 0 0 100000
cl_dyncam_deadzone Deadzone for the dynamic camera to follow the cursor 300 1 1300
cl_dyncam_follow_factor Factor for the dynamic camera to follow the cursor 60 0 200
cl_dyncam_smoothness Transition amount of the camera movement, 0=instant, 100=slow and smooth 0 0 100
cl_dyncam_stabilizing Amount of camera slowdown during fast cursor movement. High value can cause delay in camera movement 0 0 100
ed_zoom_target Zoom to the current mouse target 0 0 1
ed_showkeys 0 0 1
cl_show_welcome 1 0 1
cl_motd_time How long to show the server message of the day 10 0 100
cl_map_download_url URL used to download maps (can start with http:// or https://) "https://maps2.ddnet.org%22
cl_map_download_connect_timeout_ms HTTP map downloads: timeout for the connect phase in milliseconds (0 to disable) 2000 0 100000
cl_map_download_low_speed_limit HTTP map downloads: Set low speed limit in bytes per second (0 to disable) 4000 0 100000
cl_map_download_low_speed_time HTTP map downloads: Set low speed limit time period (0 to disable) 3 0 100000
cl_languagefile What language file to use ""
cl_skin_download_url URL used to download skins "https://skins.ddnet.org/skin/%22
cl_vanilla_skins_only Only show skins available in Vanilla Teeworlds 0 0 1
cl_download_skins Download skins from cl_skin_download_url on-the-fly 1 0 1
cl_auto_statboard_screenshot Automatically take game over statboard screenshot 0 0 1
cl_auto_statboard_screenshot_max Maximum number of automatically created statboard screenshots (0 = no limit) 10 0 1000
cl_default_zoom Default zoom level (10 default, min 0, max 20) 10 0 20
cl_smooth_zoom_time Time of smooth zoom animation in ms (0 for off) 250 0 5000
cl_limit_max_zoom_level Specifies, if zooming should be limited or not (0 = no limit) 1 0 1
player_use_custom_color Toggles usage of custom colors 0 0 1
player_color_body Player body color 65408
player_color_feet Player feet color 65408
player_skin Player skin "default"
cl_skin_prefix Replace the skins by skins with this prefix (e.g. kitty, santa) ""
cl_fat_skins Enable fat skins 0 0 1
ui_page Interface page 9 6 10
ui_settings_page Interface settings page 0 0 9
ui_toolbox_page Toolbox page 0 0 2
ui_server_address Interface server address "localhost:8303"
ui_scale Interface scale 100 50 150
ui_mousesens Mouse sensitivity for menus/editor 200 1 100000
ui_color Interface color 0xE4A046AF
ui_colorize_ping Highlight ping 1 0 1
ui_colorize_gametype Highlight gametype 1 0 1
ui_demo_selected Selected demo file ""
ui_close_window_after_changing_setting Close window after changing setting 1 0 1
ui_unread_news Whether there is unread news 0 0 1
gfx_noclip Disable clipping 0 0 1
dummy_name Name of the dummy ""
dummy_clan Clan of the dummy ""
dummy_country Country of the Dummy -1 -1 1000
dummy_use_custom_color Toggles usage of custom colors 0 0 1
dummy_color_body Dummy body color 65408
dummy_color_feet Dummy feet color 65408
dummy_skin Dummy skin "default"
cl_dummy 0 - player / 1 - dummy 0 0 1
cl_dummy_hammer Whether dummy is hammering for a hammerfly 0 0 1
cl_dummy_resetonswitch Whether dummy or player should stop pressing keys when you switch. 0 = off, 1 = dummy, 2 = player 0 0 2
cl_dummy_restore_weapon Whether dummy should switch to last weapon after hammerfly 1 0 1
cl_dummy_copy_moves Whether dummy should copy your moves 0 0 1
cl_dummy_control Whether can you control dummy at the same time (cl_dummy_jump, cl_dummy_fire, cl_dummy_hook) 0 0 1
cl_dummy_jump Whether dummy is jumping (requires cl_dummy_control 1) 0 0 1
cl_dummy_fire Whether dummy is firing (requires cl_dummy_control 1) 0 0 1
cl_dummy_hook Whether dummy is hooking (requires cl_dummy_control 1) 0 0 1
cl_show_start_menu_images Show start menu images 1 0 1
cl_skip_start_menu Skip the start menu 0 0 1
cl_video_pausewithdemo Pause video rendering when demo playing pause 1 0 1
cl_video_showhud Show ingame HUD when rendering video 0 0 1
cl_video_showchat Show chat when rendering video 1 0 1
cl_video_sound_enable Use sound when rendering video 1 0 1
cl_video_show_hook_coll_other Show other players' hook collision lines when rendering video 0 0 1
cl_video_show_direction Show players' key presses when rendering video (1 = other players', 2 = also your own) 0 0 2
cl_video_crf Set crf when encode video with libx264 (0 for highest quality, 51 for lowest) 18 0 51
cl_video_preset Set preset when encode video with libx264, default is 5 (medium), 0 is ultrafast, 9 is placebo (the slowest, not recommend) 5 0 9
dbg_focus 0 0 1
dbg_tuning 0 0 1
player_name Name of the player ""
player_clan Clan of the player ""
player_country Country of the player -1 -1 1000
password Password to the server ""
logfile Filename to log all output to ""
console_output_level Adjusts the amount of information in the console 0 0 2
console_enable_colors Enable colors in console output 1 0 1
events Enable triggering of events, (eye emotes on some holidays in server, christmas skins in client). 1 0 1
steam_name Last seen name of the Steam profile ""
cl_save_settings Write the settings file on exit 1 0 1
cl_refresh_rate Refresh rate for updating the game (in Hz) 0 0 10000
cl_refresh_rate_inactive Refresh rate for updating the game when the window is inactive (in Hz) 120 0 10000
cl_editor 0 0 1
cl_editor_dilate Automatically dilates embedded images 1 0 1
cl_skin_filter_string Skin filtering string ""
cl_auto_demo_record Automatically record demos 1 0 1
cl_auto_demo_on_connect Only start a new demo when connect while automatically record demos 0 0 1
cl_auto_demo_max Maximum number of automatically recorded demos (0 = no limit) 10 0 1000
cl_auto_screenshot Automatically take game over screenshot 0 0 1
cl_auto_screenshot_max Maximum number of automatically created screenshots (0 = no limit) 10 0 1000
cl_auto_csv Automatically create game over csv 0 0 1
cl_auto_csv_max Maximum number of automatically created csvs (0 = no limit) 10 0 1000
cl_reset_wanted_weapon_on_death Reset wanted weapon on death 1 0 1
cl_show_broadcasts Show broadcasts ingame 1 0 1
cl_print_broadcasts Print broadcasts to console 1 0 1
cl_print_motd Print motd to console 1 0 1
cl_friends_ignore_clan Ignore clan tag when searching for friends 1 0 1
cl_assets_entities The asset/assets for entities "default"
cl_asset_game The asset for game "default"
cl_asset_emoticons The asset for emoticons "default"
cl_asset_particles The asset for particles "default"
br_filter_string Server browser filtering string "Novice"
br_exclude_string Server browser exclusion string ""
br_filter_full Filter out full server in browser 0 0 1
br_filter_empty Filter out empty server in browser 0 0 1
br_filter_spectators Filter out spectators from player numbers 0 0 1
br_filter_friends Filter out servers with no friends 0 0 1
br_filter_country Filter out servers with non-matching player country 0 0 1
br_filter_country_index Player country to filter by in the server browser -1 -1 999
br_filter_pw Filter out password protected servers in browser 0 0 1
br_filter_gametype Game types to filter ""
br_filter_gametype_strict Strict gametype filter 0 0 1
br_filter_connecting_players Filter connecting players 1 0 1
br_filter_serveraddress Server address to filter ""
br_filter_unfinished_map Show only servers with unfinished maps 0 0 1
br_filter_exclude_countries Filter out DDNet servers by country ""
br_filter_exclude_types Filter out DDNet servers by type (mod) ""
br_indicate_finished Show whether you have finished a DDNet map (transmits your player name to info2.ddnet.org/info) 1 0 1
br_location Override location for ping estimation, available: auto, af, as, as:cn, eu, na, oc, sa (Automatic, Africa, Asia, China, Europe, North America, Oceania/Australia, South America "auto"
br_cached_best_serverinfo_url Do not set this variable, instead create a ddnet-serverlist-urls.cfg next to settings_ddnet.cfg to specify all possible serverlist URLs ""
br_filter_exclude_countries_kog Filter out kog servers by country ""
br_filter_exclude_types_kog Filter out kog servers by type (mod) ""
br_sort Sorting column in server browser 4 0 256
br_sort_order Sorting order in server browser 2 0 2
br_max_requests Number of concurrent requests to use when refreshing server browser 100 0 1000
br_demo_sort Sorting column in demo browser 0 0 3
br_demo_sort_order Sorting order in demo browser 0 0 1
br_demo_fetch_info Whether to auto fetch demo infos on refresh 0 0 1
snd_buffer_size Sound buffer size 512 128 32768
snd_rate Sound mixing rate 48000 0 0
snd_enable Sound enable 1 0 1
snd_enable_music Play background music 0 0 1
snd_volume Sound volume 30 0 100
snd_device (deprecated) Sound device to use -1 0 0
snd_chat_volume Chat sound volume 30 0 100
snd_game_volume Game sound volume 30 0 100
snd_ambient_volume Map Sound sound volume 30 0 100
snd_background_music_volume Background music sound volume 30 0 100
snd_nonactive_mute 0 0 1
snd_game Enable game sounds 1 0 1
snd_gun Enable gun sound 1 0 1
snd_long_pain Enable long pain sound (used when shooting in freeze) 1 0 1
snd_chat Enable regular chat sound 1 0 1
snd_team_chat Enable team chat sound 1 0 1
snd_servermessage Enable server message sound 1 0 1
snd_highlight Enable highlighted chat sound 1 0 1
gfx_screen Screen index 0 0 15
gfx_screen_width Screen resolution width 0 0 0
gfx_screen_height Screen resolution height 0 0 0
gfx_screen_refresh_rate Screen refresh rate 0 0 0
gfx_desktop_width Desktop resolution width for detecting display changes (not recommended to change manually) 0 0 0
gfx_desktop_height Desktop resolution height for detecting display changes (not recommended to change manually) 0 0 0
gfx_borderless Borderless window (not to be used with fullscreen) 1 0 1
gfx_fullscreen Set fullscreen mode: 0=no fullscreen, 1=pure fullscreen, 2=desktop fullscreen, 3=windowed fullscreen 0 0 3
gfx_highdpi Enable high-dpi 1 0 1
gfx_color_depth Colors bits for framebuffer (fullscreen only) 24 16 24
gfx_vsync Vertical sync (may cause delay) 0 0 1
gfx_display_all_video_modes Show all video modes 0 0 1
gfx_high_detail High detail 1 0 1
gfx_fsaa_samples FSAA Samples 0 0 16
gfx_refresh_rate Screen refresh rate 0 0 10000
gfx_finish 0 0 1
gfx_backgroundrender Render graphics when window is in background 1 0 1
gfx_text_overlay Stop rendering textoverlay in editor or with entities: high value = less details = more speed 10 1 100
gfx_asyncrender_old Do rendering async from the the update 1 0 1
gfx_tune_overlay Stop rendering text overlay in tuning zone in editor: high value = less details = more speed 20 1 100
gfx_quad_as_triangle Render quads as triangles (fixes quad coloring on some GPUs) 0 0 1
inp_mousesens Mouse sensitivity 200 1 100000
inp_mouseold Use old mouse mode (warp mouse instead of raw input) 0 0 1
inp_translated_keys Translate keys before interpreting them, respects keyboard layouts 0 0 1
inp_ignored_modifiers Ignored keyboard modifier mask 0 0 65536
cl_port Port to use for client connections to server (0 to choose a random port, requires a restart) 0 0 65535
cl_dummy_port Port to use for dummy connections to server (0 to choose a random port, requires a restart) 0 0 65535
cl_contact_port Port to use for serverinfo connections to server (0 to choose a random port, requires a restart) 0 0 65535
bindaddr Address to bind the client/server to ""
debug Debug mode 0 0 1
dbg_curl Debug curl 0 0 1
dbg_graphs Performance graphs 0 0 1
dbg_gfx Show graphic library warnings and errors, if the GPU supports it (0: none, 1: minimal, 2: affects performance, 3: verbose, 4: all) 0 0 4
dbg_stress Stress systems (Debug build only) 0 0 0
dbg_stress_network Stress network (Debug build only) 0 0 0
dbg_stress_server Server to stress (Debug build only) "localhost"
cl_race_binds_set What level the DDRace binds are set to (this is automated, you don't need to use this) 0 0 1
cl_reconnect_timeout How many seconds to wait before reconnecting (after timeout, 0 for off) 120 0 600
cl_reconnect_full How many seconds to wait before reconnecting (when server is full, 0 for off) 5 0 600
cl_message_system_color System message color 2817983
cl_message_client_color Client message color 9633471
cl_message_highlight_color Highlighted message color 65471
cl_message_team_color Team message color 5636050
cl_message_color Message color 255
cl_laser_inner_color Laser inner color 11206591
cl_laser_outline_color Laser outline color 11176233
cl_kill_message_normal_color Kill message normal color 255
cl_kill_message_highlight_color Kill message highlight color 255
cl_message_friend Enable coloring and the heart for friends 1 0 1
cl_message_friend_color Friend message color 65425
conn_timeout Network timeout 100 5 1000
cl_show_ids Whether to show client ids in scoreboard 0 0 1
cl_scoreboard_on_death Whether to show scoreboard after death or not 1 0 1
cl_auto_race_record Save the best demo of each race 1 0 1
cl_replays Enable/disable replays 0 0 1
cl_replay_length Set the default length of the replays 30 10 0
cl_race_record_server_control Let the server start the race recorder 1 0 1
cl_demo_name Save the player name within the demo 1 0 1
cl_demo_assume_race Assume that demos are race demos 1 0 1
cl_race_ghost Enable ghost 1 0 1
cl_race_ghost_server_control Let the server start the ghost 1 0 1
cl_race_show_ghost Show ghost 1 0 1
cl_race_save_ghost Save ghost 1 0 1
cl_ddrace_scoreboard Enable DDRace Scoreboard 1 0 1
cl_show_others Show players in other teams (2 to show own team only) 0 0 2
cl_show_others_alpha Show players in other teams (alpha value, 0 invisible, 100 fully visible) 40 0 100
cl_overlay_entities Overlay game tiles with a percentage of opacity 0 0 100
cl_show_quads Show quads 1 0 1
cl_zoom_background_layers Zoom background layers 0 0 1
cl_background_color Background color 128
cl_background_entities_color Background (entities) color 128
cl_background_entities Background (entities) ""
cl_run_on_join Command to run when joining a server ""
cl_menu_map Background map in the menu "auto"
cl_rotation_radius Menu camera rotation radius 30 1 500
cl_rotation_speed Menu camera rotations in seconds 40 1 120
cl_camera_speed Menu camera speed 5 1 40
cl_background_show_tiles_layers Whether draw tiles layers when using custom background (entities) 0 0 1
cl_unpredicted_shadow Show unpredicted shadow tee (0 = off, 1 = on, -1 = don't even show in debug mode) 0 -1 1
cl_predict_ddrace Predict DDRace tiles and tunezones 1 0 1
cl_predict_freeze Predict freeze tiles (0 = off, 1 = on, 2 = partial (allow a small amount of movement in freeze) 1 0 2
cl_show_ninja Show ninja skin 1 0 1
cl_show_hook_coll_other Show other players' hook collision line (2 to always show) 1 0 2
cl_show_hook_coll_own Show own players' hook collision line (2 to always show) 1 0 2
cl_hook_coll_size Size of hook collision line 0 0 20
cl_hook_coll_color_no_coll Specifies the color of a hookline that hits nothing. 65407
cl_hook_coll_color_hookable_coll Specifies the color of a hookline that hits hookable tiles. 6401973
cl_hook_coll_color_tee_coll Specifies the color of a hookline that hits tees. 2817919
cl_chat_teamcolors Show names in chat in team colors 0 0 1
cl_chat_reset Reset chat when pressing escape 1 0 1
cl_chat_old Old chat style: No tee, no background 0 0 1
cl_show_direction Show key presses (1 = other players', 2 = also your own) 1 0 2
cl_http_map_download Try fast HTTP map download first 1 0 1
cl_old_gun_position Tees hold gun a bit higher like in TW 0.6.1 and older 0 0 1
cl_confirm_disconnect_time Confirmation popup before disconnecting after game time (in minutes, -1 to turn off, 0 to always turn on) 20 -1 1440
cl_confirm_quit_time Confirmation popup before quitting after game time (in minutes, -1 to turn off, 0 to always turn on) 20 -1 1440
cl_timeout_code Timeout code to use ""
cl_dummy_timeout_code Dummy Timeout code to use ""
cl_timeout_seed Timeout seed ""
cl_input_fifo Fifo file to use as input for client console ""
cl_show_console Show console window (Windows only) 0 0 1
inp_joystick Try to use a joystick as input 0 0 1
cl_config_version The config version. Helps newer clients fix bugs with older configs. 0 0 0
cl_demo_slice_begin Begin marker for demo slice -1 0 0
cl_demo_slice_end End marker for demo slice -1 0 0
cl_demo_show_speed Show speed meter on change 0 0 1
cl_demo_keyboard_shortcuts Enable keyboard shortcuts in demo player 1 0 1
gfx_gl_major Graphic library major version 1 1 10
gfx_gl_minor Graphic library minor version 0 0 10
gfx_gl_patch Graphic library patch version 0 0 10
gfx_gl_texture_lod_bias The lod bias for graphic library texture sampling multiplied by 1000 -500 -15000 15000
gfx_3d_texture_analysis_done Analyzed, if sampling 3D/2D array textures was correct 0 0 1
gfx_3d_texture_analysis_renderer The renderer on which the analysis was performed ""
gfx_3d_texture_analysis_version The version on which the analysis was performed ""
gfx_gpu_name The GPU's name, which will be selected by the backend. (if supported by the backend) "auto"
gfx_backend The backend to use (e.g. OpenGL or Vulkan) "OpenGL"
gfx_render_thread_count Number of threads the backend can use for rendering. (note: the value can be ignored by the backend) 3 0 0
gfx_driver_is_blocked If 1, the current driver is in a blocked error state. 0 0 1
gfx_enable_texture_unit_optimization Use multiple texture units, instead of only one. 0 0 1
gfx_use_preinitialized_buffer Use only one buffer for data, that is uploaded to the GPU(might help when using an iGPUs). 0 0 1
cl_video_recorder_fps At which FPS the videorecorder should record demos. 60 1 1000

客戶端指令

指令 參數 說明
exec r[文件名稱] 運行特定的設置文件
toggle s[設置項] i[數值1] i[數值2] 按下按鍵時切換設置項的參數值
+toggle s[設置項] i[數值1 i[數值2] 按住按鍵時切換設置項的參數值
toggle_local_console 切換本地控制台
toggle_remote_console 切換遠程控制台
clear_local_console 清理本地控制台
clear_remote_console 清理遠程控制台
dump_local_console 輸出本地控制台
dump_remote_console 輸出遠程控制台
console_page_up 切換到控制台的上一頁
console_page_down 切換到控制台的下一頁
callvote s[玩家名稱] s[執行指令] ?r[原因] 發起特定投票
vote 'no'] 投贊成票/反對票
+emote 打開表情界面
emote i[表情ID] 使用表情
+spectate 打開觀察模式界面
spectate i[觀察者ID] 開啟或關閉觀察模式
spectate_next 觀察下一個玩家
spectate_previous 觀察上一個玩家
spectate_closest 觀察距離最近的玩家
zoom+ 擴大視野
zoom- 縮小視野
zoom ?i 指定視野大小
set_view i[x]i[y] 在地圖特定坐標處設置鏡頭
say r[message] 在公開頻道內對話
say_team r[message] 在隊伍頻道內對話
chat 'all'] ?r[信息] 啟用隊伍頻道/公開頻道進行對話
+show_chat 打開聊天框
echo r[信息] 在聊天框內重複該信息
+left 向左移動
+right 向右移動
+jump 跳躍
+hook 釋放鈎索
+fire 開火
+showhookcoll 開啟鈎索輔助線
+weapon1 切換武器至錘子
+weapon2 切換武器至手槍
+weapon3 切換武器至霰彈槍
+weapon4 切換武器至榴彈發射器
+weapon5 切換武器至激光槍
+nextweapon 切換到下一武器
+prevweapon 切換到上一武器
add_foe s[名稱] ?s[戰隊] 添加黑名單
remove_foe s[名稱] ?s[戰隊] 移除黑名單
foes 黑名單列表
add_friend s[名稱] ?s[戰隊] 添加好友
remove_friend s[名稱] ?s[戰隊] 移除好友
friends 好友列表
team i[隊伍ID] 切換隊伍
kill 自殺並重生至地圖出生點
tune_zone i[區域編號] s[調整項] i[數值] 調整某一區域的某一調整項到某一數值
dummy_connect 開啟分身
dummy_disconnect 斷開分身
dummy_reset 重置分身
quit 退出遊戲
exit 退出遊戲
minimize 最小化遊戲窗口
connect ip] 連接至特定主機/ip
disconnect 與當前伺服器斷開連接
ping 展示當前伺服器的ping值
screenshot 截屏
reset s[設置項] 將某一設置恢復至默認值
start_video 開始錄製回放
stop_video 停止錄製回放
rcon r[管理員指令] 執行管理員指令
rcon_auth r[密碼] 登錄管理員賬戶
rcon_login s[用戶名] r[密碼] 使用用戶名登錄管理員賬戶
play r[文件] 播放指定文件
record ?r[文件] 開始記錄指定文件
stoprecord 停止記錄文件
add_demomarker 在回放中添加時間軸標記
add_favorite ip] ?s['允許的ping值'] 收藏伺服器
remove_favorite ip] 移除收藏的伺服器
demo_slice_start
demo_slice_end
demo_play 播放回放
demo_speed i[速度值] 設置回放速度
save_replay ?i[時長] ?s[文件名] Save a replay of the last defined amount of seconds
benchmark_quit i[seconds] r[file] Benchmark frame times for number of seconds to file, then quit

調整參數

參數名稱 說明 默認值
ground_control_speed 平地移動時可以獲得的最大速度 10.0
ground_control_accel 平地移動時的加速度 2.0
ground_friction 地面的摩擦係數 0.5
ground_jump_impulse 進行平地跳躍時獲得的衝量 13.2
air_jump_impulse 進行空中跳躍時獲得的衝量 12.0
air_control_speed 空中移動時可以獲得的最大速度 5.0
air_control_accel 空中移動時的加速度 1.5
air_friction 空中的摩擦係數 0.95
hook_length 鈎索的最大長度 380.0
hook_fire_speed 鈎索的釋放速度 80.0
hook_drag_accel 鈎索勾住牆體或實體後可提供的加速度 3.0
hook_drag_speed 鈎索拖拽的速度 15.0
gravity 重力係數 0.5
velramp_start 速度斜線的起點 550
velramp_range 速度斜線的範圍 2000
velramp_curvature 速度斜線的曲率 1.4
gun_curvature 手槍子彈軌跡的曲率 1.25
gun_speed 手槍子彈的速度 2200.0
gun_lifetime 手槍子彈的持續時間(即未擊中任何實體時所能在空中存留的最長時間) 2.0
shotgun_curvature 霰彈槍子彈軌跡的曲率 1.25
shotgun_speed 霰彈槍子彈的速度 2750.0
shotgun_speeddiff 已棄用)霰彈槍子彈之間的速度差異 0.8
shotgun_lifetime 已棄用)霰彈槍子彈的持續時間 0.20
grenade_curvature 榴彈軌跡的曲率 7.0
grenade_speed 榴彈的速度 1000.0
grenade_lifetime 榴彈的持續時間 2.0
laser_reach 激光能達到的最遠距離 800.0
laser_bounce_delay 激光反射一次所需的時間 150
laser_bounce_num 一束激光可以反射的最大次數 1000
laser_bounce_cost 當激光進行一次反射時損失的距離 0
laser_damage 已棄用)激光傷害 5
player_collision 啟用玩家之間的碰撞 1
player_hooking 啟用玩家之間的鈎索交互 1
jetpack_strength 噴漆背包的力度 400.0
shotgun_strength 霰彈槍激光的拖拽力度 10.0
explosion_strength 爆炸力度(例如榴彈的爆炸) 6.0
hammer_strength 錘擊力度 1.0
hook_duration 鈎索最長持續時間 1.25
hammer_fire_delay 錘擊間隔(未擊中任何實體時) 125
gun_fire_delay 手槍發射間隔 125
shotgun_fire_delay 霰彈槍發射間隔 500
grenade_fire_delay 榴彈發射器發射間隔 500
laser_fire_delay 激光槍發射間隔 800
ninja_fire_delay 武士刀使用間隔 800
hammer_hit_fire_delay 錘擊間隔(擊中其他實體時) 320