Settings and Commands/zh: Difference between revisions
Created page with "?i[队伍编号]" |
Created page with "加入此队伍(参数为空则显示你当前的队伍编号)" |
||
Line 1,945: | Line 1,945: | ||
| team | | team | ||
| ?i[队伍编号] | | ?i[队伍编号] | ||
| | | 加入此队伍(参数为空则显示你当前的队伍编号) | ||
|- | |- | ||
| lock | | lock | ||
| | | ?i['0'<nowiki>|</nowiki>'1'] | ||
| <span lang="en" dir="ltr" class="mw-content-ltr">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.</span> | | <span lang="en" dir="ltr" class="mw-content-ltr">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.</span> | ||
|- | |- |
Revision as of 16:06, 31 October 2023
地图设置
设置名称 | 说明 | 默认值 | 最小值 | 最大值 |
---|---|---|---|---|
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 | 开启后会使得所有玩家使用钩索和发生碰撞时候展现出强钩特性 | 0 | 0 | 1 |
sv_reset_pickups | 玩家经过起点线后是否重置其所持有的武器 | 0 | 0 | 1 |
sv_show_others_default | 玩家默认情况是否可以看见他人(2 = 仅所在队伍) | 0 | 0 | 2 |
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[地图漏洞] | 使用特定漏洞来开启地图兼容模式(例如:doubleexplosion@ddnet.tw)(意义不明...) |
switch_open | i[开关编号] | 设置默认特定开关处于未激活状态(否则处于激活状态) |
服务器设置
设置名称 | 说明 | 默认值 | 最小值 | 最大值 |
---|---|---|---|---|
password | 进入服务器的密码 | "" | ||
events | 启用节日模式(例如在某些节日里玩家的默认表情发生变化,或在圣诞节里获得特殊皮肤) | 1 | 0 | 1 |
logfile | 设置保存输出信息的日志文件名 | "" | ||
logappend | 更改日志文件时总是添加新信息而不覆盖原有记录 | 1 | 0 | 1 |
loglevel | 调整日志文件中的信息数量(-3 = 无,-2 = 仅错误,-1 = 警告,0=信息,1 = 调试,2 = 传输轨迹) | 0 | -3 | 2 |
stdout_output_level | 调整系统控制台中的信息数量(-3 = 无,-2 = 仅错误,-1 = 警告,0 = 信息,1 = 调试,2 = 传输轨迹) | 0 | -3 | 2 |
console_output_level | 调整本地/远程控制台中的信息数量(-3 = 无,-2 = 仅错误,-1 = 警告,0 = 信息,1 = 调试,2 = 传输轨迹) | 0 | -3 | 2 |
console_enable_colors | 启用控制台输出文本的颜色变化 | 1 | 0 | 1 |
sv_name | 服务器的名字 | "unnamed server" | ||
bindaddr | 绑定客户端/服务器的地址 | "" | ||
sv_ipv4only | 设置是否只绑定IPv4,否则绑定所有可用接口 | 0 | 0 | 1 |
sv_port | 设置服务器的端口 (只有位于8303-8310之间的端口才能在局域网中使用,将该项设置为0会在上述范围中自动寻找一个可用端口) | 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 | 将服务器注册至官方服务器并加入公开列表,也允许使用一系列用逗号分隔的协议来注册,例如“ipv4,ipv6” | "1" | ||
sv_register_extra | Extra headers to send to the register endpoint, comma separated 'Header: Value' pairs | "" | ||
sv_register_url | 设置要注册到的官方主服务器URL | "https://master1.ddnet.org/ddnet/15/register" | ||
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(反混淆) | 1 | 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_hitch | 故障警告 | 0 | 0 | 0 |
dbg_stress | Stress systems(仅限调试版本) | 0 | 0 | 0 |
http_allow_insecure | 允许在安全的HTTPS连接中额外使用不安全的HTTP协议。大部分情况下对测试有帮助。 | 0 | 0 | 1 |
sv_welcome | 当玩家加入服务器时展示的问候信息 | "" | ||
sv_reserved_slots | 为特定玩家预留的服务器位置数量 | 0 | 0 | 64 |
sv_reserved_slots_pass | 加入为特定玩家预留的位置所需的密码 | "" | ||
sv_reserved_slots_auth_level | 使用预留位置需要的最低管理员等级。(4 = 禁用) | 1 | 1 | 4 |
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_ms_delay | 玩家连续发送两个冒泡表情的间隔毫秒数 | 3000 | 20 | 999999999 |
sv_global_emoticon_ms_delay | 玩家连续发送两个冒泡表情至所有客户端的间隔毫秒数(该设置仅在大于等于sv_emoticon_ms_delay的值时有效) | 3000 | 20 | 999999999 |
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_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 | 是否展示模组默认规则 | 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 | 将会公告的文件,每个公告消息占据一行 | "announcement.txt" | ||
sv_announcement_interval | 公告文件中的公告持续展示分钟数 | 300 | 1 | 9999 |
sv_announcement_random | 设置逐行或者随机公告 | 1 | 0 | 1 |
sv_old_laser | 玩家可以被自己散弹枪的激光拉向墙体反弹点(默认新地图均为0)。设置为 1 则激光无法击中自己,并且击中其他玩家时会将玩家拉向射击者而不是墙体反弹点 | 0 | 0 | 1 |
sv_slash_me | /me指令是否可用 | 0 | 0 | 1 |
sv_rejoin_team_0 | 队伍完成地图后自动返回默认队伍 0 中(只对未锁定队伍有效) | 1 | 0 | 1 |
sv_no_weak_hook | 使用可选的游戏刻计算,效果是所有玩家拥有强钩 | 0 | 0 | 1 |
conn_timeout | 判定网络超时的秒数 | 100 | 5 | 1000 |
conn_timeout_protection | 启动网络超时保护的秒数 | 1000 | 5 | 10000 |
sv_reset_pickups | 玩家经过起点线后是否重置其所持有的武器 | 0 | 0 | 1 |
sv_show_others | 玩家是否可以使用showothers指令 | 1 | 0 | 1 |
sv_show_others_default | 玩家默认是否可以看见他人(2 = 仅自己队伍) | 0 | 0 | 2 |
sv_show_all_default | 玩家默认是否可以看见所有tee | 0 | 0 | 1 |
sv_max_afk_time | 玩家变成暂离状态的判定时长秒数(0 = 禁用) | 300 | 0 | 9999 |
sv_plasma_range | 等离子炮台侦测玩家的范围 | 700 | 1 | 99999 |
sv_plasma_per_sec | 等离子炮台每秒发射的子弹数量 | 3 | 0 | 50 |
sv_dragger_range | 光索侦测玩家的范围 | 700 | 1 | 99999 |
sv_vote_pause | 允许投票暂停玩家(不同于移至旁观) | 1 | 0 | 1 |
sv_vote_pause_time | 玩家被投票暂停后需要等待的秒数 | 10 | 0 | 360 |
sv_tune_reset | 更换地图时是否重置调整参数 | 1 | 0 | 1 |
sv_reset_file | 用于执行改变地图或重置服务器默认设置的文件 | "reset.cfg" | ||
sv_input_fifo | 用于服务器控制台输入的Fifo文件(无窗口)或命名管道(窗口) | "" | ||
sv_ddrace_tune_reset | 是否在每次改变地图都重置DDRace调整参数(sv_hit,sv_endless_drag 和 sv_old_laser) | 1 | 0 | 1 |
sv_nameless_score | 无名或默认名玩家是否拥有分数 | 1 | 0 | 1 |
sv_time_in_broadcast_interval | 计分板上传间隔秒数 | 1 | 0 | 60 |
sv_default_timer_type | 设置默认显示时间的方式,每局/回合游戏计时器或广播。(0 = 每局/回合计时器,1 = 广播,2 = 合并前两者,3 = 无) | 0 | 0 | 3 |
sv_chat_initial_delay | 发送第一条消息前需要等待的秒数 | 0 | 0 | 360 |
sv_chat_penalty | 每发送一条消息增加的聊天分数,并且每游戏刻自动减少1 | 250 | 50 | 1000 |
sv_chat_threshold | 设置玩家聊天分数阈值,当玩家发言次数太多超过此值会被禁言sv_spam_mute_duration所设置的秒数 | 1000 | 50 | 10000 |
sv_spam_mute_duration | 针对聊天刷屏的禁言秒数,刷屏判定与上一行有关。0 = 关闭 | 60 | 0 | 3600 |
sv_shutdown_when_empty | 服务器无人时自动关闭 | 0 | 0 | 1 |
sv_reload_when_empty | 服务器无人时自动重载地图(1 = 仅一次,2 = 每次服务器清空) | 0 | 0 | 2 |
sv_kill_protection | 超时自杀保护判定,0 = 禁用,1-9999 = 分钟数 | 20 | 0 | 9999 |
sv_solo_server | 设置单人模式服务器(玩家无法交互,必须在载入地图前设置) | 0 | 0 | 1 |
sv_client_suggestion | 对非DDNet客户端的玩家进行广播内容 | "Get DDNet client from DDNet.org to use all features on DDNet!" | ||
sv_client_suggestion_old | 对DDNet旧版本的玩家进行广播内容 | "Your DDNet client is old, update it on DDNet.org!" | ||
sv_client_suggestion_bot | 对机器人客户端的玩家进行广播内容 | "Your client has bots and can be remotely controlled!\nPlease use another client like DDNet client from DDNet.org" | ||
sv_banned_versions | 设置自动踢出服务器的客户端id黑名单(用英文逗号间隔) | "" | ||
sv_netlimit | 网络限制:允许客户端使用的网络带宽上限(kb/s) | 0 | 0 | 10000 |
sv_netlimit_alpha | 网络限制:指数滑动平均的α权值 | 50 | 1 | 100 |
sv_connlimit | 连接限制:单个IP在每个时间段允许的连接次数 | 5 | 0 | 100 |
sv_connlimit_time | 连接限制:每个IP的连接时长限制 | 20 | 0 | 1000 |
sv_conn_logging_server | 用于IP地址登录的Unix套接字服务器(仅Unix系统) | "" | ||
sv_warmup | 每回合开始前的热身时长秒数 | 0 | 0 | 0 |
sv_motd | 客户端今日消息 | "" | ||
sv_tournament_mode | 锦标赛模式。开启后,玩家将作为旁观者加入服务器 | 0 | 0 | 1 |
sv_spamprotection | 垃圾信息保护 | 1 | 0 | 1 |
sv_spectator_slots | 预留的旁观席数量 | 0 | 0 | 64 |
sv_inactivekick_time | 处理不活跃玩家前的等待分钟数 | 0 | 0 | 1000 |
sv_inactivekick | 不活跃玩家处理方法(0 = 移至旁观,1 = 移至自由旁观位/踢出,2 = 踢出) | 0 | 0 | 2 |
sv_strict_spectate_mode | 旁观者模式的限制信息 | 0 | 0 | 1 |
sv_vote_spectate | 允许投票将玩家移至旁观位 | 1 | 0 | 1 |
sv_vote_spectate_rejoindelay | 设置玩家被投票至旁观后多少分钟才能加入游戏 | 3 | 0 | 1000 |
sv_vote_kick | 允许投票踢出玩家 | 1 | 0 | 1 |
sv_vote_kick_min | 发起踢出玩家投票所需最小的现有玩家数量 | 0 | 0 | 64 |
sv_vote_kick_bantime | 投票踢出玩家后附带封禁秒数。0则无封禁 | 5 | 0 | 1440 |
sv_join_vote_delay | 新加入服务器的玩家发起或参与投票需要等待的秒数 | 300 | 0 | 1000 |
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 |
sv_mapupdaterate | 64 player id <-> vanilla id players map update rate | 5 | 1 | 100 |
sv_server_type | 服务器类别(简单novice,中阶moderate,……) | "none" | ||
sv_send_votes_per_tick | 每游戏刻发送的投票选项数量 | 5 | 1 | 15 |
sv_rescue | 允许玩家在被冻结时使用/rescue指令自救(必须在初始配置中设置) | 0 | 0 | 1 |
sv_rescue_delay | 多次使用/rescue指令需要的间隔 | 1 | 0 | 1000 |
sv_practice | 允许组队时进入练习模式。此时玩家可以使用/rescue,但是游戏记录不计入成绩 | 1 | 0 | 1 |
dbg_dummies | 加入大量分身(仅调试模式) | 0 | 0 | 64 |
外部控制台设置
设置名 | 描述 | 默认值 | 最小值 | 最大值 |
---|---|---|---|---|
ec_bindaddr | 绑定外部控制台的地址。除了危险的“localhost”之外的任意地址。 | "localhost" | ||
ec_port | 使用外部控制台的端口 | 0 | 0 | 0 |
ec_password | 外部控制台的秘密 | "" | ||
ec_bantime | 客户端在外部控制台身份验证失败时被封禁的时长。0 = 仅切断连接。 | 0 | 0 | 1440 |
ec_auth_timeout | 判定外部控制台身份验证超时的秒数 | 30 | 1 | 120 |
ec_output_level | 调整外部控制台中显示的信息数量 | 1 | 0 | 2 |
服务器指令
指令 | 参数 | 说明 |
---|---|---|
echo | r[文本] | 聊天框输出文本 |
exec | r[文件名] | 运行指定配置文件 |
reset | s[配置项] | 重置此项配置的值 |
toggle | s[配置项] i[值1] i[值2] | 切换此项配置的值 |
access_level | s[指令] ?i[权限等级] | 设置特定指令的权限的等级(0 = 一级管理员,1 = 二级管理员,2 = 三级管理员,3 = 全部) |
access_status | i[权限等级] | 列出当前权限等级下的可用指令(0 = 一级管理员,1 = 二级管理员,2 = 三级管理员,3 = 全部) |
cmdlist | 列出此用户下的可用指令 | |
ban | s[ip|id] ?i[分钟数] r[原因] | 根据描述的原因将IP地址封禁数分钟 |
ban_range | s[ip首] s[ip尾] ?i[分钟数] r[原因] | 根据描述的原因将前后两个IP界定的范围内所有IP封禁数分钟 |
unban | s[ip|entry] | 解禁特定IP/整个名单 |
unban_range | s[ip首] s[ip尾] | 解禁特定范围的IP |
unban_all | 解除所有进入服务器的禁令 | |
bans | ?i[页数] | 显示封禁名单(0 = 默认,每页显示20项) |
bans_save | s[文件名] | 将封禁名单保存在指定文件中 |
ban | s[ip|id] ?i[分钟数] r[原因] | 根据描述的原因将玩家的IP地址或者客户端ID封禁数分钟 |
ban_region | s[地区] s[ip|id] ?i[分钟数] r[原因] | 根据描述的原因将某个地区的IP地址封禁数分钟 |
ban_region_range | s[地区] s[ip首] s[ip尾] ?i[分钟数] r[原因] | 根据描述的原因,将某个地区前后两个IP界定的范围内所有IP封禁数分钟 |
kick | i[id] ?r[原因] | 根据描述的原因将特定ID的玩家踢出服务器 |
status | ?r[名字] | 列出包含该名字的玩家,保持为空则列出所有玩家 |
shutdown | ?r[原因] | 关闭服务器 |
logout | 管理员登出 | |
show_ips | ?i[显示] | 在管理员指令中显示IP地址(1 = 打开,0 = 关闭) |
record | ?s[文件名] | 保存记录至文件 |
stoprecord | 停止记录 | |
reload | 重载地图 | |
add_sqlserver | s['r'|'w'] s[数据库] s[前缀] s[用户] s[密码] s[IP] i[端口] ?i[创建数据库 ?] | 添加一个SQL服务器 |
dump_sqlservers | s['r'|'w'] | 转储所有SQL服务器(r = 读取服务器,w = 写入服务器) |
auth_add | s[身份] s[等级] r[密码] | 添加一个管理员密钥 |
auth_add_p | s[身份] s[等级] s[哈希] s[盐值] | 添加一个预哈希的管理员密钥 |
auth_change | s[身份] s[等级] r[密码] | 更新此管理员密钥 |
auth_change_p | s[身份] s[等级] s[哈希] s[盐值] | 更新此条带有预哈希数据的管理员密钥 |
auth_remove | s[身份] | 移除此管理员密钥 |
auth_list | 列出所有管理员密钥 | |
name_ban | s[名字] ?i[距离] ?i[是否子字符串] ?r[原因] | 封禁特定的昵称 |
name_unban | s[昵称] | 解禁特定的昵称 |
name_bans | 列出所有封禁的昵称 | |
tune | s[调整项] ?i[值] | 修改调整项的值,值参数为空则显示当前值 |
toggle_tune | s[调整项] i[值 1] i[值 2] | 调整项在两值之间切换 |
tune_reset | ?s[调整项] | 重置指定的调整项为默认值,不指定则重置所有调整项 |
tunes | 列出所有调整项与其当前值 | |
tune_zone | i[调整区域编号] s[调整项] i[值] | 将此调整区域中的调整项设置为该值 |
tune_zone_dump | i[调整区域编号] | 转储此调整区域的数据 |
tune_zone_reset | ?i[调整区域编号] | 重置此调整区域的所有调整项,参数为空则重置所有调整区域 |
tune_zone_enter | i[调整区域编号] r[消息] | 当玩家进入此调整区域时会收到此消息(0 = 默认区域) |
tune_zone_leave | i[调整区域编号] r[消息] | 当玩家离开此调整区域时会收到此消息(0 = 默认区域) |
mapbug | s[地图漏洞] | 启用地图兼容性模式来使用特定漏洞(例:grenade-doubleexplosion@ddnet.tw) |
switch_open | i[开关编号] | 此开关是否默认为关闭状态(否则默认开启) |
pause_game | 暂停/继续游戏 | |
change_map | ?r[地图] | 更换地图 |
random_map | ?i[星级] | 该星级的随机地图 |
random_unfinished_map | ?i[星级] | 该星级随机的未通关地图 |
restart | ?i[秒数] | 数秒后重新开始(0 = 中止) |
broadcast | r[信息] | 广播信息 |
say | r[信息] | 在聊天栏说话 |
set_team | i[玩家名] i[队伍编号] ?i[延迟分钟数] | 设置玩家的队伍为此队伍编号 |
set_team_all | i[队伍编号] | 设置所有玩家的队伍为此队伍编号 |
add_vote | s[投票项名] r[指令] | 添加一个投票项与对应的执行指令 |
remove_vote | r[投票项名] | 移除此投票项 |
force_vote | s[投票项名] s[指令] ?r[原因] | 强制发起投票 |
clear_votes | 关闭投票 | |
add_map_votes | 为所有地图自动添加换图的投票项 | |
vote | r['yes'|'no'] | 强制投赞成/反对票 |
dump_antibot | 转储反机器人状况 | |
dbg_lognetwork | 登录网络 | |
kill_pl | v[玩家名] | 处死玩家并公告 |
totele | i[数字] | 传送自己至此编号传送点 |
totelecp | i[数字] | 传送自己至此编号检查点传送点 |
tele | ?i[玩家名] ?i[玩家名] | 将玩家传送至另一玩家处,或者将自己传送到自己的视角中心 |
addweapon | i[武器编号] | 给予自己此编号的武器(-1 = 所有,0 = 锤子,1 = 手枪,2 = 霰弹,3 = 榴弹,4 = 激光,5 = 武士刀) |
removeweapon | i[武器编号] | 移除自身此编号的武器(-1 = 所有,0 = 锤子,1 = 手枪,2 = 霰弹,3 = 榴弹,4 = 激光,5 = 武士刀) |
shotgun | 装备霰弹枪 | |
grenade | 装备榴弹枪 | |
laser | 装备激光枪 | |
rifle | 装备激光枪 | |
jetpack | 将自己的手枪变为喷气背包 | |
weapons | 装备所有武器 | |
unshotgun | 移除自己的霰弹枪 | |
ungrenade | 移除自己的榴弹枪 | |
unlaser | 移除自己的激光枪 | |
unrifle | 移除自己的激光枪 | |
unjetpack | 移除自己手枪的喷气背包功能 | |
unweapons | 移除自己的所有武器 | |
ninja | 装备武士刀 | |
super | 装备无限跳跃 | |
unsuper | 移除自身无限跳跃 | |
endless_hook | 装备无限钩索 | |
unendless_hook | 移除自身无限钩索 | |
unsolo | 让自己脱离单人模式 | |
undeep | 解除自身深度冻结 | |
livefreeze | 让自己半身冻结 | |
unlivefreeze | 解除自身半身冻结 | |
left | 将自己向左平移一个单位距离 | |
right | 将自己向右平移一个单位距离 | |
up | 将自己向上平移一个单位距离 | |
down | 将自己向下平移一个单位距离 | |
move | i[x] i[y] | 将自己向右平移x个单位距离,向下平移y个单位距离,x和y为负数时则往反方向,方块边长为1个单位距离 |
move_raw | i[x] i[y] | 将自己向右平移x个坐标点,向下平移y个坐标点,x和y为负数时则往反方向,方块边长为32个坐标点 |
force_pause | v[玩家名] i[秒数] | 强制此玩家暂停游戏数秒 |
force_unpause | v[玩家名] | 解除此玩家的强制暂停状态 |
set_team_ddr | v[玩家名] i[队伍编号] | 设置此玩家的队伍 |
uninvite | v[玩家名] i[队伍编号] | 拒绝此玩家加入队伍 |
vote_mute | v[玩家名] i[秒数] ?r[原因] | 在数秒内暂时解除此玩家的投票权 |
vote_unmute | v[玩家名] | 交还此玩家的投票权 |
vote_mutes | 列出当前被移除投票权的玩家名单 | |
mute | ||
muteid | v[玩家名] i[秒数] ?r[原因] | 禁言带有此名字的玩家 |
muteip | s[ip] i[秒数] ?r[原因] | 禁言此IP地址的玩家 |
unmute | i[禁言编号] | |
unmuteid | v[玩家名] | 解除此玩家的禁言 |
mutes | ||
moderate | 允许/禁用玩家有效的二级管理员模式 | |
vote_no | ||
save_dry | 转储当前的保存字符串 | |
dump_log | ?i[秒数] | 显示之前数秒内的登录情况 |
freezehammer | v[玩家名] | 给予此玩家冻结锤子 |
unfreezehammer | v[玩家名] | 移除此玩家冻结锤子 |
聊天栏指令
指令 | 参数 | 说明 |
---|---|---|
credits | 显示DDNet的制作人员名单 | |
rules | 显示服务器规则 | |
emote | ?s[表情名] i[持续秒数] | 设置自己的眼部表情 |
eyeemote | ?s['on'|'off'|'toggle'] | 标准眼部表情开关(on = 开,off = 关,toggle = 切换为另一项且不显示当前情况) |
settings | ?s[配置名] | 显示此服务器该配置信息 |
help | ?r[命令] | 显示该命令的辅助说明,留空则显示常规的说明 |
info | 显示此服务器的信息 | |
list | ?s[关键词] | 列出已连接的名字匹配该关键词的玩家(不分大小写) |
me | r[消息] | 就像著名的irc命令 /me says hi 会显示 <你的名字> says hi一样 |
w | s[玩家名] r[信息] | 私信此玩家该信息 |
whisper | s[玩家名] r[信息] | 私信此玩家该信息 |
c | r[信息] | 对最后一条玩家的私信进行回复 |
converse | r[信息] | 对最后一条玩家的私信进行回复 |
pause | ?r[玩家名] | 原地停止并切换视角至此玩家 |
spec | ?r[玩家名] | 加入旁观并切换视角至此玩家(如果服务器不允许加入旁观则改为执行/pause指令) |
pausevoted | 原地静止并切换视角至当前被投票的玩家 | |
specvoted | 加入旁观并切换视角至当前被投票玩家 | |
dnd | 请勿打扰模式开关(屏蔽聊天和服务器消息) | |
mapinfo | ?r[地图名] | 显示此名字的地图信息(参数为空则默认当前地图) |
timeout | ?s[密码] | 设置超时保护密码 |
practice | ?i['0'|'1'] | 启用你自己的队伍的练习模式与作弊指令(目前只有/rescue),但是成绩不计入排名 |
swap | ?r[玩家名] | 向同一队伍的另一玩家发出换位申请 |
save | ?r[密码] | 保存队伍进度并设置密码 |
load | ?r[密码] | 加载当前密码下保存的进度,参数为空则可以查看已存在的密码 |
map | ?r[地图名] | 投票换地图 |
rankteam | ?r[玩家名] | 显示此玩家的队伍排名(参数为空则默认为自己) |
teamrank | ?r[玩家名] | 显示此玩家的队伍排名(参数为空则默认为自己) |
rank | ?r[玩家名] | 显示此玩家的个人排名(参数为空则默认为自己) |
top5team | ?s[玩家名] ?i[从此名次往后] | 显示队伍排行榜或此玩家历史成绩上,从第i名往后的五项队伍成绩(默认为1,-1则显示倒数的五名) |
teamtop5 | ?s[玩家名] ?i[从此名次往后] | 显示队伍排行榜或此玩家历史成绩上,从第i名往后的五项队伍成绩(默认为1,-1则显示倒数的五名) |
top | ?i[从此名次往后] | 显示全球或者区域排行榜上从第i名开始的排行(默认为1,-1则倒数) |
top5 | ?i[从此名次往后] | 显示全球或者区域排行榜上从第i名开始的排行(默认为1,-1则倒数) |
times | ?s[玩家名] ?i[跳过次数] | 显示服务器或者此玩家在该地图的记录中,从第i次开始的最近的五次成绩记录(1 = 最近的记录,-1 = 最初的记录,玩家名建议用双引号括住) |
points | ?r[玩家名] | 显示此玩家的分数(参数为空默认为自己) |
top5points | ?i[名次] | 显示全球排行榜上从此名次开始连续五人的分数(默认为1) |
timecp | ?r[玩家名] | 基于另一玩家的位置设置你的检查点 |
team | ?i[队伍编号] | 加入此队伍(参数为空则显示你当前的队伍编号) |
lock | ?i['0'|'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 | ?i['0'|'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 | ?i['0'|'1'] | Whether to show players at any distance (off by default), optional i = 0 for off else for on |
specteam | ?i['0'|'1'] | Whether to show players from other teams when spectating (on by default), optional i = 0 for off else for on |
ninjajetpack | ?i['0'|'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 | ?s['gametimer'|'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 |
unsolo | Puts you out of solo part | |
undeep | Puts you out of deep freeze | |
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_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_showhud_dummy_actions | Show ingame HUD (Dummy Actions) | 1 | 0 | 1 |
cl_showhud_player_position | Show ingame HUD (Player Position) | 0 | 0 | 1 |
cl_showhud_player_speed | Show ingame HUD (Player Speed) | 0 | 0 | 1 |
cl_showhud_player_angle | Show ingame HUD (Player Aim Angle) | 0 | 0 | 1 |
cl_showhud_ddrace | Show ingame HUD (DDRace HUD) | 1 | 0 | 1 |
cl_showhud_jumps_indicator | Show ingame HUD (Jumps you have and have used) | 1 | 0 | 1 |
cl_show_freeze_bars | Whether to show a freeze bar under frozen players to indicate the thaw time | 1 | 0 | 1 |
cl_freezebars_alpha_inside_freeze | Opacity of freeze bars inside freeze (0 invisible, 100 fully visible) | 0 | 0 | 100 |
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 | 1 | 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 |
cl_multiview_sensitivity | Set how fast the camera will move to the desired location (higher = faster) | 100 | 0 | 200 |
cl_multiview_zoom_smoothness | Set the smoothness of the multi-view zoom (in ms, higher = slower) | 1300 | 50 | 5000 |
ed_autosave_interval | Interval in minutes at which a copy of the current editor map is automatically saved to the 'auto' folder (0 for off) | 10 | 0 | 240 |
ed_autosave_max | Maximum number of autosaves that are kept per map name (0 = no limit) | 10 | 0 | 1000 |
ed_smooth_zoom_time | Time of smooth zoom animation in the editor in ms (0 for off) | 250 | 0 | 5000 |
ed_limit_max_zoom_level | Specifies, if zooming in the editor should be limited or not (0 = no limit) | 1 | 0 | 1 |
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://maps.ddnet.org" | ||
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/" | ||
cl_skin_community_download_url | URL used to download community skins | "https://skins.ddnet.org/skin/community/" | ||
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_download_community_skins | Allow to download skins created by the community. Uses cl_skin_community_download_url instead of cl_skin_download_url for the download | 0 | 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 | 0 | 20 |
cl_smooth_zoom_time | Time of smooth zoom animation ingame in ms (0 for off) | 250 | 0 | 5000 |
cl_limit_max_zoom_level | Specifies, if zooming ingame 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" | ||
player_default_eyes | Player eyes when joining server. 0 = normal, 1 = pain, 2 = happy, 3 = surprise, 4 = angry, 5 = blink | 0 | 0 | 5 |
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_mousesens | Mouse sensitivity for menus/editor | 200 | 1 | 100000 |
ui_controller_sens | Controller sensitivity for menus/editor | 100 | 1 | 100000 |
ui_smooth_scroll_time | Time of smooth scrolling animation in menus/editor in ms (0 for off) | 500 | 0 | 5000 |
ui_color | Interface color | 0xE4A046AF | ||
ui_colorize_ping | Highlight ping | 1 | 0 | 1 |
ui_colorize_gametype | Highlight gametype | 1 | 0 | 1 |
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" | ||
dummy_default_eyes | Dummy eyes when joining server. 0 = normal, 1 = pain, 2 = happy, 3 = surprise, 4 = angry, 5 = blink | 0 | 0 | 5 |
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_tuning | Display information about the tuning parameters that affect the own player (0 = off, 1 = show changed, 2 = show all) | 0 | 0 | 2 |
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 | "" | ||
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 | "" | ||
logfile | Filename to log all output to | "" | ||
logappend | Append to logfile instead of overwriting it every time | 1 | 0 | 1 |
loglevel | Adjusts the amount of information in the logfile (-3 = none, -2 = error only, -1 = warn, 0 = info, 1 = debug, 2 = trace) | 0 | -3 | 2 |
stdout_output_level | Adjusts the amount of information in the system console (-3 = none, -2 = error only, -1 = warn, 0 = info, 1 = debug, 2 = trace) | 0 | -3 | 2 |
console_output_level | Adjusts the amount of information in the local/remote console (-3 = none, -2 = error only, -1 = warn, 0 = info, 1 = debug, 2 = trace) | 0 | -3 | 2 |
console_enable_colors | Enable colors in console output | 1 | 0 | 1 |
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_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" | ||
cl_asset_hud | The asset for HUD | "default" | ||
cl_asset_extras | The asset for the game graphics that do not come from Teeworlds | "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 info.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 | 5512 | 384000 |
snd_enable | Sound enable | 1 | 0 | 1 |
snd_enable_music | Play background music | 0 | 0 | 1 |
snd_volume | Sound volume | 30 | 0 | 100 |
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 | 64 |
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_quad_as_triangle | Render quads as triangles (fixes quad coloring on some GPUs) | 0 | 0 | 1 |
inp_mousesens | Mouse sensitivity | 200 | 1 | 100000 |
inp_translated_keys | Translate keys before interpreting them, respects keyboard layouts | 0 | 0 | 1 |
inp_ignored_modifiers | Ignored keyboard modifier mask | 0 | 0 | 65536 |
inp_ime_native_ui | Use native UI for IME (may cause IME to not work in fullscreen mode) (changing requires restart) | 0 | 0 | 1 |
inp_controller_enable | Enable controller | 0 | 0 | 1 |
inp_controller_guid | Controller GUID which uniquely identifies the active controller | "" | ||
inp_controller_absolute | Enable absolute controller aiming ingame | 0 | 0 | 1 |
inp_controller_sens | Ingame controller sensitivity | 100 | 1 | 100000 |
inp_controller_x | Controller axis that controls X axis of cursor | 0 | 0 | 12 |
inp_controller_y | Controller axis that controls Y axis of cursor | 1 | 0 | 12 |
inp_controller_tolerance | Controller axis tolerance to account for jitter | 5 | 0 | 50 |
cl_port | Port to use for client connections to server (0 to choose a random port, 1024 or higher to set a manual port, requires a restart) | 0 | 0 | 65535 |
cl_dummy_port | Port to use for dummy connections to server (0 to choose a random port, 1024 or higher to set a manual port, requires a restart) | 0 | 0 | 65535 |
cl_contact_port | Port to use for serverinfo connections to server (0 to choose a random port, 1024 or higher to set a manual 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_server | Server to stress (Debug build only) | "localhost" | ||
http_allow_insecure | Allow insecure HTTP protocol in addition to the secure HTTPS one. Mostly useful for testing. | 0 | 0 | 1 |
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_rifle_inner_color | Laser inner color for Rifle | 11206591 | ||
cl_laser_rifle_outline_color | Laser outline color for Rifle | 11176233 | ||
cl_laser_sg_inner_color | Laser inner color for Shotgun | 1467241 | ||
cl_laser_sg_outline_color | Laser outline color for Shotgun | 1866773 | ||
cl_laser_door_inner_color | Laser inner color for doors | 7701379 | ||
cl_laser_door_outline_color | Laser outline color for doors | 7667473 | ||
cl_laser_freeze_inner_color | Laser inner color for freezes | 12001153 | ||
cl_laser_freeze_outline_color | Laser outline color for freezes | 11613223 | ||
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_showquads | Show quads (only interesting for mappers, or if your system has extremely bad performance) | 1 | 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_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_alpha | Alpha of hook collision line (0 invisible, 100 fully visible) | 100 | 0 | 100 |
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_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 (non-Windows) or Named Pipe (Windows) to use as input for client console | "" | ||
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 | 3 | 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_ran | Ran an analyzer to check if sampling 3D/2D array textures works correctly | 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 |
cl_video_recorder_fps | At which FPS the videorecorder should record demos. | 60 | 1 | 1000 |
客户端指令
指令 | 参数 | 说明 |
---|---|---|
exec | r[文件名] | 执行特定配置文件 |
reset | s[设置名] | 重置某项设置为默认值 |
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['kick'|'spectate'|'option'] s[玩家名|选项文本] ?r[原因] | 发起投票 |
vote | r['yes'|'no'] | 投赞成或反对票 |
+emote | 打开表情轮盘 | |
emote | i[表情编号] | 使用表情 |
+spectate | 旁观时打开视角选择列表 | |
spectate | i[旁观者名字] | 启用旁观模式 |
spectate_next | 旁观下一位玩家 | |
spectate_previous | 旁观上一位玩家 | |
spectate_closest | 旁观最近玩家 | |
spectate_multiview | i[玩家名] | 多视角旁观时添加或移除玩家名对应的视角(-1 = 重置) |
zoom+ | 视野放大 | |
zoom- | 视野缩小 | |
zoom | ?i | 指定视野大小 |
set_view | i[x]i[y] | 设置镜头的x和y坐标 |
goto_switch | i[数字]?i[offset] | 查看给定数字编号的开关(在offset) |
goto_tele | i[数字]?i[offset] | 查看给定数字编号的传送区域(在offset) |
say | r[消息] | 在公开频道内对话 |
say_team | r[消息] | 在队伍频道内对话 |
chat | s['team'|'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[队伍编号] | 加入该编号的队伍 |
kill | 自杀重开 | |
tune_zone | i[zone] s[tuning] i[value] | 将此调整区域中的调整项设置为该值 |
dummy_connect | 连接分身 | |
dummy_disconnect | 断开分身连接 | |
dummy_reset | 重置分身 | |
quit | 离开客户端 | |
exit | 离开客户端 | |
restart | 重启客户端 | |
minimize | 客户端最小化 | |
connect | r[host|ip] | 连接到特定的主机host/ip地址 |
disconnect | 从服务器断开连接 | |
ping | 显示当前服务器的延迟 | |
screenshot | 屏幕截图 | |
start_video | 开始录像 | |
stop_video | 结束录像 | |
rcon | r[管理员指令] | 发送管理员指令 |
rcon_auth | r[密码] | 发送管理员密码进行身份认证 |
rcon_login | s[用户名] r[密码] | 带用户名的管理员认证 |
play | r[文件名] | 播放指定的录像文件 |
record | ?r[文件名] | 保存记录至该文件 |
stoprecord | 停止记录 | |
add_demomarker | 添加demo录像的时间线标记 | |
begin_favorite_group | 在`add_favorite`前使用此参数,并以`end_favorite_group`结束,则可以批量收藏服务器 | |
end_favorite_group | 在`add_favorite`后使用此参数,并以`begin_favorite_group`开头,则可以批量收藏服务器 | |
add_favorite | s[host|ip] ?s['allow_ping'] | 添加收藏服务器 |
remove_favorite | r[host|ip] | 从服务器收藏中移除 |
demo_slice_start | ||
demo_slice_end | ||
demo_play | 播放demo录像 | |
demo_speed | i[速度] | 设置demo播放速度 |
save_replay | ?i[长度] s[文件名] | 保存上次设定的秒数的重播 |
benchmark_quit | i[秒数] r[文件名] | 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 |
ground_elasticity_x | 墙体弹性 | 0 |
ground_elasticity_y | 地板与天花板弹性 | 0 |