Settings and Commands/zh: Difference between revisions
No edit summary |
No edit summary |
||
Line 3,918: | Line 3,918: | ||
== 客户端指令 == | == 客户端指令 == | ||
{| class="wikitable" | {| class="wikitable" | ||
! | ! 指令 | ||
! | ! 参数 | ||
! | ! 说明 | ||
|- | |- | ||
| exec | | exec | ||
| r[ | | r[文件名称] | ||
| | | 运行特定的设置文件 | ||
|- | |- | ||
| toggle | | toggle | ||
| s[ | | s[设置项] i[数值1] i[数值2] | ||
| | | 按下按键时切换设置项的参数值 | ||
|- | |- | ||
| +toggle | | +toggle | ||
| s[ | | s[设置项] i[数值1 i[数值2] | ||
| | | 按住按键时切换设置项的参数值 | ||
|- | |- | ||
| toggle_local_console | | toggle_local_console | ||
| | | | ||
| | | 切换本地控制台 | ||
|- | |- | ||
| toggle_remote_console | | toggle_remote_console | ||
| | | | ||
| | | 切换远程控制台 | ||
|- | |- | ||
| clear_local_console | | clear_local_console | ||
| | | | ||
| | | 清理本地控制台 | ||
|- | |- | ||
| clear_remote_console | | clear_remote_console | ||
| | | | ||
| | | 清理远程控制台 | ||
|- | |- | ||
| dump_local_console | | dump_local_console | ||
| | | | ||
| | | 输出本地控制台 | ||
|- | |- | ||
| dump_remote_console | | dump_remote_console | ||
| | | | ||
| | | 输出远程控制台 | ||
|- | |- | ||
| console_page_up | | console_page_up | ||
| | | | ||
| | | 切换到控制台的上一页 | ||
|- | |- | ||
| console_page_down | | console_page_down | ||
| | | | ||
| | | 切换到控制台的下一页 | ||
|- | |- | ||
| callvote | | callvote | ||
| s[ | | s[玩家名称] s[执行指令] ?r[原因] | ||
| | | 发起特定投票 | ||
|- | |- | ||
| vote | | vote | ||
| r['yes'|'no'] | | r['yes'|'no'] | ||
| | | 投赞成票/反对票 | ||
|- | |- | ||
| +emote | | +emote | ||
| | | | ||
| | | 打开表情界面 | ||
|- | |- | ||
| emote | | emote | ||
| i[ | | i[表情ID] | ||
| | | 使用表情 | ||
|- | |- | ||
| +spectate | | +spectate | ||
| | | | ||
| | | 打开观察模式界面 | ||
|- | |- | ||
| spectate | | spectate | ||
| i[ | | i[观察者ID] | ||
| | | 开启或关闭观察模式 | ||
|- | |- | ||
| spectate_next | | spectate_next | ||
| | | | ||
| | | 观察下一个玩家 | ||
|- | |- | ||
| spectate_previous | | spectate_previous | ||
| | | | ||
| | | 观察上一个玩家 | ||
|- | |- | ||
| spectate_closest | | spectate_closest | ||
| | | | ||
| | | 观察距离最近的玩家 | ||
|- | |- | ||
| zoom+ | | zoom+ | ||
| | | | ||
| | | 扩大视野 | ||
|- | |- | ||
| zoom- | | zoom- | ||
| | | | ||
| | | 缩小视野 | ||
|- | |- | ||
| zoom | | zoom | ||
| ?i | | ?i | ||
| | | 指定视野大小 | ||
|- | |- | ||
| set_view | | set_view | ||
| i[x]i[y] | | i[x]i[y] | ||
| | | 在地图特定坐标处设置镜头 | ||
|- | |- | ||
| say | | say | ||
| r[message] | | r[message] | ||
| | | 在公开频道内对话 | ||
|- | |- | ||
| say_team | | say_team | ||
| r[message] | | r[message] | ||
| | | 在队伍频道内对话 | ||
|- | |- | ||
| chat | | chat | ||
| s['team'|'all'] ?r[ | | s['team'|'all'] ?r[信息] | ||
| | | 启用队伍频道/公开频道进行对话 | ||
|- | |- | ||
| +show_chat | | +show_chat | ||
| | | | ||
| | | 打开聊天框 | ||
|- | |- | ||
| echo | | echo | ||
| r[ | | r[信息] | ||
| | | 在聊天框内重复该信息 | ||
|- | |- | ||
| +left | | +left | ||
| | | | ||
| | | 向左移动 | ||
|- | |- | ||
| +right | | +right | ||
| | | | ||
| | | 向右移动 | ||
|- | |- | ||
| +jump | | +jump | ||
| | | | ||
| | | 跳跃 | ||
|- | |- | ||
| +hook | | +hook | ||
| | | | ||
| | | 释放钩索 | ||
|- | |- | ||
| +fire | | +fire | ||
| | | | ||
| | | 开火 | ||
|- | |- | ||
| +showhookcoll | | +showhookcoll | ||
| | | | ||
| | | 开启钩索辅助线 | ||
|- | |- | ||
| +weapon1 | | +weapon1 | ||
| | | | ||
| | | 切换武器至锤子 | ||
|- | |- | ||
| +weapon2 | | +weapon2 | ||
| | | | ||
| | | 切换武器至手枪 | ||
|- | |- | ||
| +weapon3 | | +weapon3 | ||
| | | | ||
| | | 切换武器至霰弹枪 | ||
|- | |- | ||
| +weapon4 | | +weapon4 | ||
| | | | ||
| | | 切换武器至榴弹发射器 | ||
|- | |- | ||
| +weapon5 | | +weapon5 | ||
| | | | ||
| | | 切换武器至激光枪 | ||
|- | |- | ||
| +nextweapon | | +nextweapon | ||
| | | | ||
| | | 切换到下一武器 | ||
|- | |- | ||
| +prevweapon | | +prevweapon | ||
| | | | ||
| | | 切换到上一武器 | ||
|- | |- | ||
| add_foe | | add_foe | ||
| s[ | | s[名称] ?s[战队] | ||
| | | 添加黑名单 | ||
|- | |- | ||
| remove_foe | | remove_foe | ||
| s[ | | s[名称] ?s[战队] | ||
| | | 移除黑名单 | ||
|- | |- | ||
| foes | | foes | ||
| | | | ||
| | | 黑名单列表 | ||
|- | |- | ||
| add_friend | | add_friend | ||
| s[ | | s[名称] ?s[战队] | ||
| | | 添加好友 | ||
|- | |- | ||
| remove_friend | | remove_friend | ||
| s[ | | s[名称] ?s[战队] | ||
| | | 移除好友 | ||
|- | |- | ||
| friends | | friends | ||
| | | | ||
| | | 好友列表 | ||
|- | |- | ||
| team | | team | ||
| i[ | | i[队伍ID] | ||
| | | 切换队伍 | ||
|- | |- | ||
| kill | | kill | ||
| | | | ||
| | | 自杀并重生至地图出生点 | ||
|- | |- | ||
| tune_zone | | tune_zone | ||
| i[ | | i[区域编号] s[调整项] i[数值] | ||
| | | 调整某一区域的某一调整项到某一数值 | ||
|- | |- | ||
| dummy_connect | | dummy_connect | ||
| | | | ||
| | | 开启分身 | ||
|- | |- | ||
| dummy_disconnect | | dummy_disconnect | ||
| | | | ||
| | | 断开分身 | ||
|- | |- | ||
| dummy_reset | | dummy_reset | ||
| | | | ||
| | | 重置分身 | ||
|- | |- | ||
| quit | | quit | ||
| | | | ||
| | | 退出游戏 | ||
|- | |- | ||
| exit | | exit | ||
| | | | ||
| | | 退出游戏 | ||
|- | |- | ||
| minimize | | minimize | ||
| | | | ||
| | | 最小化游戏窗口 | ||
|- | |- | ||
| connect | | connect | ||
| r[ | | r[主机|ip] | ||
| | | 连接至特定主机/ip | ||
|- | |- | ||
| disconnect | | disconnect | ||
| | | | ||
| | | 与当前服务器断开连接 | ||
|- | |- | ||
| ping | | ping | ||
| | | | ||
| | | 展示当前服务器的ping值 | ||
|- | |- | ||
| screenshot | | screenshot | ||
| | | | ||
| | | 截屏 | ||
|- | |- | ||
| reset | | reset | ||
| s[ | | s[设置项] | ||
| | | 将某一设置恢复至默认值 | ||
|- | |- | ||
| start_video | | start_video | ||
| | | | ||
| | | 开始录制回放 | ||
|- | |- | ||
| stop_video | | stop_video | ||
| | | | ||
| | | 停止录制回放 | ||
|- | |- | ||
| rcon | | rcon | ||
| r[ | | r[管理员指令] | ||
| | | 执行管理员指令 | ||
|- | |- | ||
| rcon_auth | | rcon_auth | ||
| r[ | | r[密码] | ||
| | | 登录管理员账户 | ||
|- | |- | ||
| rcon_login | | rcon_login | ||
| s[ | | s[用户名] r[密码] | ||
| | | 使用用户名登录管理员账户 | ||
|- | |- | ||
| play | | play | ||
| r[ | | r[文件] | ||
| | | 播放指定文件 | ||
|- | |- | ||
| record | | record | ||
| ?r[ | | ?r[文件] | ||
| | | 开始记录指定文件 | ||
|- | |- | ||
| stoprecord | | stoprecord | ||
| | | | ||
| | | 停止记录文件 | ||
|- | |- | ||
| add_demomarker | | add_demomarker | ||
| | | | ||
| | | 在回放中添加时间轴标记 | ||
|- | |- | ||
| add_favorite | | add_favorite | ||
| s[ | | s[主机|ip] ?s['允许的ping值'] | ||
| | | 收藏服务器 | ||
|- | |- | ||
| remove_favorite | | remove_favorite | ||
| r[ | | r[主机|ip] | ||
| | | 移除收藏的服务器 | ||
|- | |- | ||
| demo_slice_start | | demo_slice_start | ||
Line 4,224: | Line 4,224: | ||
| demo_play | | demo_play | ||
| | | | ||
| | | 播放回放 | ||
|- | |- | ||
| demo_speed | | demo_speed | ||
| i[ | | i[速度值] | ||
| | | 设置回放速度 | ||
|- | |- | ||
| save_replay | | save_replay | ||
| ?i[ | | ?i[时长] ?s[文件名] | ||
| Save a replay of the last defined amount of seconds | | Save a replay of the last defined amount of seconds | ||
|- | |- |
Revision as of 05:05, 13 August 2022
警告:显示标题“设置与指令”覆盖了之前的显示标题“设置和指令”。
English • Español • Português (Brasil) • Українська • Русский • 简体中文 • Deutsch • Italiano • Français • Català • 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 | 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来开启地图兼容模式(例如:grenade-doublexplosion@ddnet.tw)(意义不明...) |
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 | Enable vanilla Antispoof | 0 | 0 | 1 |
sv_dnsbl | Enable DNSBL (DNS-based Blackhole List) | 0 | 0 | 1 |
sv_dnsbl_host | Hostname of DNSBL provider to use for IP Verification | "" | ||
sv_dnsbl_key | Optional Authentication Key for the specified DNSBL provider | "" | ||
sv_dnsbl_vote | Block votes by blacklisted addresses | 0 | 0 | 1 |
sv_dnsbl_ban | Automatically ban blacklisted addresses | 0 | 0 | 1 |
sv_dnsbl_chat | Don't allow chat from blacklisted addresses | 0 | 0 | 1 |
sv_rcon_vote | Only allow authed clients to call votes | 0 | 0 | 1 |
sv_player_demo_record | Automatically record demos for each player | 0 | 0 | 1 |
sv_demo_chat | Record chat for demos | 0 | 0 | 1 |
sv_server_info_per_second | Maximum number of complete server info responses that are sent out per second (0 for no limit) | 50 | 0 | 10000 |
sv_van_conn_per_second | Antispoof specific ratelimit (0 for no limit) | 10 | 0 | 10000 |
sv_sixup | Enable sixup connections | 1 | 0 | 1 |
sv_skill_level | Difficulty level for Teeworlds 0.7 (0: Casual, 1: Normal, 2: Competitive) | 1 | 0 | 2 |
debug | Debug mode | 0 | 0 | 1 |
dbg_curl | Debug curl | 0 | 0 | 1 |
dbg_pref | Performance outputs | 0 | 0 | 1 |
dbg_hitch | Hitch warnings | 0 | 0 | 0 |
dbg_stress | Stress systems (Debug build only) | 0 | 0 | 0 |
dbg_stress_network | Stress network (Debug build only) | 0 | 0 | 0 |
sv_welcome | Message that will be displayed to players who join the server | "" | ||
sv_reserved_slots | The number of slots that are reserved for special players | 0 | 0 | 64 |
sv_reserved_slots_pass | The password that is required to use a reserved slot | "" | ||
sv_hit | Whether players can hammer/grenade/laser each other or not | 1 | 0 | 1 |
sv_endless_drag | Turns endless hooking on/off | 0 | 0 | 1 |
sv_test_cmds | Turns testing commands aka cheats on/off (setting only works in initial config) | 0 | 0 | 1 |
sv_freeze_delay | How many seconds the players will remain frozen (applies to all except delayed freeze in switch layer & deepfreeze) | 3 | 1 | 30 |
sv_endless_super_hook | Endless hook for super players on/off | 0 | 0 | 1 |
sv_hide_score | Whether players scores will be announced or not | 0 | 0 | 1 |
sv_save_worse_scores | Whether to save worse scores when you already have a better one | 1 | 0 | 1 |
sv_pauseable | Whether players can pause their char or not | 0 | 0 | 1 |
sv_pause_messages | Whether to show messages when a player pauses and resumes | 0 | 0 | 1 |
sv_pause_frequency | The minimum allowed delay between /spec | 1 | 0 | 9999 |
sv_invite | Whether players can invite other players to teams | 1 | 0 | 1 |
sv_invite_frequency | The minimum allowed delay between invites | 1 | 0 | 9999 |
sv_tele_others_auth_level | The auth level you need to tele others | 1 | 1 | 3 |
sv_emotional_tees | Whether eye change of tees is enabled with emoticons = 1, not = 0, -1 not at all | 1 | -1 | 1 |
sv_emoticon_delay | The time in seconds between over-head emoticons | 3 | 0 | 9999 |
sv_eye_emote_change_delay | The time in seconds between eye emoticons change | 1 | 0 | 9999 |
sv_chat_delay | The time in seconds between chat messages | 1 | 0 | 9999 |
sv_team_change_delay | The time in seconds between team changes (spectator/in game) | 3 | 0 | 9999 |
sv_info_change_delay | The time in seconds between info changes (name/skin/color), to avoid ranbow mod set this to a very high time | 5 | 0 | 9999 |
sv_vote_time | The time in seconds a vote lasts | 25 | 1 | 9999 |
sv_vote_map_delay | The minimum time in seconds between map votes | 0 | 0 | 9999 |
sv_vote_delay | The time in seconds between any vote | 3 | 0 | 9999 |
sv_vote_kick_delay | The minimum time in seconds between kick votes | 0 | 0 | 9999 |
sv_vote_yes_percentage | The percent of people that need to agree or deny for the vote to succeed/fail | 50 | 1 | 100 |
sv_vote_majority | Whether No. of Yes is compared to No. of No votes or to number of total Players ( Default is 0 Y compare N) | 0 | 0 | 1 |
sv_vote_max_total | How many people can participate in a vote at max (0 = no limit by default) | 0 | 0 | 64 |
sv_vote_veto_time | Minutes of time on a server until a player can veto map change votes (0 = disabled) | 20 | 0 | 1000 |
sv_kill_delay | The minimum time in seconds between kills | 1 | 0 | 9999 |
sv_suicide_penalty | The minimum time in seconds between kill or /kills and respawn | 0 | 0 | 9999 |
sv_map_window | Map downloading send-ahead window | 15 | 0 | 100 |
sv_fast_download | Enables fast download of maps | 1 | 0 | 1 |
sv_shotgun_bullet_sound | Crazy shotgun bullet sound on/off | 0 | 0 | 1 |
sv_checkpoint_save | Whether to save checkpoint times to the score file | 1 | 0 | 1 |
sv_score_folder | Folder to save score files to | "records" | ||
sv_region_name | Server region. Used for regional bans | "UNK" | ||
sv_sql_servername | SQL Server name that is inserted into record table | "UNK" | ||
sv_savegames | Enables savegames (/save and /load) | 1 | 0 | 1 |
sv_saveswapgames_delay | Delay in seconds for loading a savegame or before swapping | 30 | 0 | 10000 |
sv_saveswapgames_penalty | Penalty in seconds for saving or swapping position | 60 | 0 | 10000 |
sv_swap_timeout | Timeout in seconds before option to swap expires | 180 | 0 | 10000 |
sv_swap | Enable /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 | Rules line 1 | "" | ||
sv_rules_line2 | Rules line 2 | "" | ||
sv_rules_line3 | Rules line 3 | "" | ||
sv_rules_line4 | Rules line 4 | "" | ||
sv_rules_line5 | Rules line 5 | "" | ||
sv_rules_line6 | Rules line 6 | "" | ||
sv_rules_line7 | Rules line 7 | "" | ||
sv_rules_line8 | Rules line 8 | "" | ||
sv_rules_line9 | Rules line 9 | "" | ||
sv_rules_line10 | Rules line 10 | "" | ||
sv_team | Teams configuration (0 = off, 1 = on but optional, 2 = must play only with teams, 3 = forced random team only for you) | 1 | 0 | 3 |
sv_min_team_size | Minimum team size (finishing in a team smaller than this size gives you no teamrank) | 2 | 1 | 64 |
sv_max_team_size | Maximum team size | 64 | 1 | 64 |
sv_map_vote | Whether to allow /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 | Allow fire non auto weapons when 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: grenade-doublexplosion@ddnet.tw) |
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.tw%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.tw/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.tw/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 |