设置和指令
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 | 0 | 1 |
sv_no_weak_hook_and_bounce | 开启后会使得所有玩家使用钩索和发生碰撞时候展现出强钩特性 | 0 | 0 | 1 |
sv_reset_pickups | 玩家经过起点线后是否重置其所持有的武器 | 0 | 0 | 1 |
sv_plasma_range | 等离子炮台侦测玩家的范围 | 700 | 1 | 99999 |
sv_plasma_per_sec | 等离子炮台每秒发射的子弹数量 | 3 | 0 | 50 |
sv_dragger_range | 激光钩爪侦测玩家的范围 | 700 | 1 | 99999 |
sv_solo_server | 设置地图为单人模式(玩家之间除聊天外无法进行任何交互,服务器会在加载地图之前就启用该参数) | 0 | 0 | 1 |
sv_old_teleport_weapons | 所有武器均可用于传送(该参数已弃用,已使用新版实体代替,请勿更改) | 0 | 0 | 1 |
sv_old_teleport_hook | 钩索可穿过传送区域(该参数已弃用,已使用新版实体代替,请勿更改) | 0 | 0 | 1 |
sv_teleport_hold_hook | 玩家被传送后已释放的钩索不断开 | 0 | 0 | 1 |
sv_teleport_lose_weapons | 玩家被传送后重置所有武器(在竞速地图中常用) | 0 | 0 | 1 |
sv_deepfly | 是否允许处于深度冻结状态的玩家在瞬时解冻时使用锤子 | 1 | 0 | 1 |
sv_destroy_bullets_on_death | 玩家死亡时立即清除他们发射的弹幕 | 1 | 0 | 1 |
sv_destroy_lasers_on_death | 玩家死亡时立即清除他们发射的激光 | 0 | 0 | 1 |
指令 | 参数 | 说明 |
---|---|---|
tune | s[调整内容] i[数值] | 调整全地图的默认参数 |
toggle_tune | s[调整内容] i[数值1] i[数值2] | 切换全地图的默认参数 |
tune_zone | i[区域编号] s[调整内容] i[数值] | 调整特定编号区域的参数 |
tune_zone_enter | i[区域编号] r[信息] | 进入特定区域后向玩家展示一条信息;区域编号0指向常规区域 |
tune_zone_leave | i[区域编号] r[信息] | 离开特定区域后向玩家展示一条信息;区域编号0指向常规区域 |
mapbug | s[mapbug] | 使用特定bug来开启地图兼容模式(例如:[/cdn-cgi/l/email-protection [email protected]])(意义不明...) |
switch_open | i[开关编号] | 设置默认特定开关处于未激活状态(否则处于激活状态) |
服务器设置
设置名称 | 说明 | 默认值 | 最小值 | 最大值 |
---|---|---|---|---|
password | 进入服务器的密码 | "" | ||
logfile | 记录所有输出的文件名 | "" | ||
console_output_level | 调整控制台中信息的数量 | 0 | 0 | 2 |
console_enable_colors | 启用控制台输出文本的颜色变化 | 1 | 0 | 1 |
events | 启用节日模式(例如在某些节日里玩家的默认表情发生变化,或在圣诞节里获得特殊皮肤) | 1 | 0 | 1 |
sv_name | 服务器的名字 | "unnamed server" | ||
bindaddr | 绑定客户端/服务器的地址 | "" | ||
sv_ipv4only | 设置是否只绑定IPv4,否则绑定所有可用接口 | 0 | 0 | 1 |
sv_port | 服务器的端口 (只有位于8303-8310之间的端口才能在局域网中使用,将该项设置为0会自动寻找一个可用端口) | 0 | 0 | 0 |
sv_external_port | 向官方服务器报告的外部端口 | 0 | 0 | 0 |
sv_hostname | 主机名称 (仅0.7版本有效) | "" | ||
sv_map | 服务器使用的地图 | "Sunny Side Up" | ||
sv_max_clients | 服务器允许的最大玩家数量 | 64 | 1 | 64 |
sv_max_clients_per_ip | 服务器允许同一IP地址下的最大玩家数量 | 4 | 1 | 64 |
sv_high_bandwidth | 使用高带宽模式,服务器所需的带宽增加一倍。仅在局域网中使用 | 0 | 0 | 1 |
sv_register | 将服务器注册至官方服务器上,并公开服务器(可以在搜索列表中搜索到该服务器) | 1 | 0 | 1 |
sv_rcon_password | 一级管理员远程控制台密码(拥有全部权限) | "" | ||
sv_rcon_mod_password | 二级管理员远程控制台密码(拥有部分权限) | "" | ||
sv_rcon_helper_password | 三级管理员远程控制台密码(拥有部分权限) | "" | ||
sv_rcon_max_tries | 登录远程控制台的最大尝试次数 | 30 | 0 | 100 |
sv_rcon_bantime | 当登录远程控制台超过次数上限时封禁该玩家的时长(单位为分钟),0代表仅踢出该玩家 | 5 | 0 | 1440 |
sv_auto_demo_record | 自动录制回放 | 0 | 0 | 1 |
sv_auto_demo_max | 自动录制回放的最大数量(0表示无限制) | 10 | 0 | 1000 |
sv_tee_historian | 开启后会将玩家完整的游戏流程记录在磁盘当中(注意:启用该项会占用磁盘相当大部分的空间) | 0 | 0 | 1 |
sv_vanilla_antispoof | 启用原生Antispoof(反混淆) | 0 | 0 | 1 |
sv_dnsbl | 启用DNSBL(域名系统黑名单) | 0 | 0 | 1 |
sv_dnsbl_host | 用于IP验证的DNSBL提供者的主机名 | "" | ||
sv_dnsbl_key | 特定DNSBL提供者的可选认证密钥 | "" | ||
sv_dnsbl_vote | 阻止黑名单地址进行投票 | 0 | 0 | 1 |
sv_dnsbl_ban | 自动封禁黑名单地址 | 0 | 0 | 1 |
sv_dnsbl_chat | 禁止黑名单地址进行聊天 | 0 | 0 | 1 |
sv_rcon_vote | 仅允许已认证客户端进行投票 | 0 | 0 | 1 |
sv_player_demo_record | 为每名玩家自动录制回放 | 0 | 0 | 1 |
sv_demo_chat | 将聊天内容添加至回放中 | 0 | 0 | 1 |
sv_server_info_per_second | 每秒发送完整服务器信息响应的最大数量(0表示没有限制) | 50 | 0 | 10000 |
sv_van_conn_per_second | 反混淆的限流框架(0表示没有限制) | 10 | 0 | 10000 |
sv_sixup | 启用sixup连接 | 1 | 0 | 1 |
sv_skill_level | 为Teeworls 0.7设置难度等级(0:休闲模式,1:普通模式,2:经济模式) | 1 | 0 | 2 |
debug | Debug模式(调试模式) | 0 | 0 | 1 |
dbg_curl | Debug curl | 0 | 0 | 1 |
dbg_pref | 输出结果 | 0 | 0 | 1 |
dbg_hitch | 故障警告 | 0 | 0 | 0 |
dbg_stress | Stress systems(仅限调试版本) | 0 | 0 | 0 |
dbg_stress_network | Stress network(仅限调试版本) | 0 | 0 | 0 |
sv_welcome | 当然玩家加入服务器时展示的欢迎信息 | "" | ||
sv_reserved_slots | 为特定玩家保留的人数位置数量 | 0 | 0 | 64 |
sv_reserved_slots_pass | 加入为特定玩家保留的人数位置所需的密码 | "" | ||
sv_hit | 玩家之间是否可以用锤子/榴弹炮/激光进行交互 | 1 | 0 | 1 |
sv_endless_drag | 是否默认开启无限钩索 | 0 | 0 | 1 |
sv_test_cmds | 是否启用测试指令/作弊指令(该选项仅在初始配置中生效) | 0 | 0 | 1 |
sv_freeze_delay | 玩家进入冻结状态后自行解除冻结所需的时间(适用于除了开关层的冻结区域和深度冻结区域以外的所有冻结区域) | 3 | 1 | 30 |
sv_endless_super_hook | 超管玩家是否开启无限钩索 | 0 | 0 | 1 |
sv_hide_score | 是否公布玩家成绩 | 0 | 0 | 1 |
sv_save_worse_scores | 是否在玩家已拥有更好成绩的情况下用较差成绩将其覆盖 | 1 | 0 | 1 |
sv_pauseable | 玩家是否可以使用spec指令 | 0 | 0 | 1 |
sv_pause_messages | 是否在玩家使用spec时向其展示信息 | 0 | 0 | 1 |
sv_pause_frequency | 两次使用spec的最短时间间隔 | 1 | 0 | 9999 |
sv_invite | 是否允许玩家邀请其他玩家入队 | 1 | 0 | 1 |
sv_invite_frequency | 两次邀请之间的最短时间间隔 | 1 | 0 | 9999 |
sv_tele_others_auth_level | 传送至其他玩家身上时需要的身份验证级别 | 1 | 1 | 3 |
sv_emotional_tees | 玩家发送表情时,面部表情是否随之改变(1:改变,0:不变,-1:完全不变) | 1 | -1 | 1 |
sv_emoticon_delay | 两次发送表情的最短时间间隔 | 3 | 0 | 9999 |
sv_eye_emote_change_delay | 两次面部表情发生变化的最短时间间隔 | 1 | 0 | 9999 |
sv_chat_delay | 两次聊天的最短时间间隔 | 1 | 0 | 9999 |
sv_team_change_delay | 两次玩家改变所属队伍的最短时间间隔 | 3 | 0 | 9999 |
sv_info_change_delay | 两次玩家信息刷新的最短时间间隔(包括名称,皮肤,颜色),为避免彩虹tee泛滥,应将其设置为很高的数值 | 5 | 0 | 9999 |
sv_vote_time | 投票的持续时间 | 25 | 1 | 9999 |
sv_vote_map_delay | 两次地图投票的最短时间间隔 | 0 | 0 | 9999 |
sv_vote_delay | 两次任意投票的最短时间间隔 | 3 | 0 | 9999 |
sv_vote_kick_delay | 两次投票移除玩家的最短时间间隔 | 0 | 0 | 9999 |
sv_vote_yes_percentage | 投票生效或失效所需要的对应投票玩家所占百分比 | 50 | 1 | 100 |
sv_vote_majority | 是否开启投票的反对选项,默认开启 | 0 | 0 | 1 |
sv_vote_max_total | 一次投票可参与的最多人数(0代表无限制) | 0 | 0 | 64 |
sv_vote_veto_time | 玩家加入服务器多久后才可以进行地图投票(0表示禁用) | 20 | 0 | 1000 |
sv_kill_delay | 两次使用kill的最短时间间隔 | 1 | 0 | 9999 |
sv_suicide_penalty | 被击杀和重生之间的最短时间间隔 | 0 | 0 | 9999 |
sv_map_window | Map downloading send-ahead window | 15 | 0 | 100 |
sv_fast_download | 启用快速下载地图 | 1 | 0 | 1 |
sv_shotgun_bullet_sound | 是否开启疯狂的霰弹枪子弹音效(?) | 0 | 0 | 1 |
sv_checkpoint_save | 是否在成绩记录中保存经过时间检查点时的记录 | 1 | 0 | 1 |
sv_score_folder | 用于保存记录文件的文件夹 | "records" | ||
sv_region_name | 服务器所属区域,用于区域禁令 | "UNK" | ||
sv_sql_servername | 插入到记录表中的SQL服务器名称 | "UNK" | ||
sv_savegames | 是否启用save和load指令 | 1 | 0 | 1 |
sv_saveswapgames_delay | 在玩家读取游戏存档或与其他玩家交换位置前的冷却时间 | 30 | 0 | 10000 |
sv_saveswapgames_penalty | 玩家在读取存档或与其他玩家交换位置后所获得的惩罚时长 | 60 | 0 | 10000 |
sv_swap_timeout | 连接超时后可持续存留在服务器里的最长时间 | 180 | 0 | 10000 |
sv_swap | 是否启用swap指令 | 1 | 0 | 1 |
sv_use_sql | Enables MySQL backend instead of SQLite backend (sv_sqlite_file is still used as fallback write server when no MySQL server is reachable) | 0 | 0 | 1 |
sv_sql_queries_delay | Delay in seconds between SQL queries of a single player | 1 | 0 | 20 |
sv_sqlite_file | File to store ranks in case sv_use_sql is turned off or used as backup sql server | "ddnet-server.sqlite" | ||
sv_use_upnp | Enables UPnP support. (Requires -DCONF_UPNP=ON when compiling) | 0 | 0 | 1 |
sv_ddrace_rules | Whether the default mod rules are displayed or not | 1 | 0 | 1 |
sv_rules_line1 | 第一行规则 | "" | ||
sv_rules_line2 | 第二行规则 | "" | ||
sv_rules_line3 | 第三行规则 | "" | ||
sv_rules_line4 | 第四行规则 | "" | ||
sv_rules_line5 | 第五行规则 | "" | ||
sv_rules_line6 | 第六行规则 | "" | ||
sv_rules_line7 | 第七行规则 | "" | ||
sv_rules_line8 | 第八行规则 | "" | ||
sv_rules_line9 | 第九行规则 | "" | ||
sv_rules_line10 | 第十行规则 | "" | ||
sv_team | 地图组队设置(0 = 禁止组队, 1 = 推荐组队, 2 = 强制组队, 3 = 强制单人) | 1 | 0 | 3 |
sv_min_team_size | 队伍的最小人数(少于该人数的队伍完成地图不会获得队伍排名) | 2 | 1 | 64 |
sv_max_team_size | 队伍的最大人数 | 64 | 1 | 64 |
sv_map_vote | 是否允许使用map指令更换地图 | 1 | 0 | 1 |
sv_announcement_filename | file which will have the announcement, each one at a line | "announcement.txt" | ||
sv_announcement_interval | time(minutes) in which the announcement will be displayed from the announcement file | 300 | 1 | 9999 |
sv_announcement_random | Whether announcements are sequential or random | 1 | 0 | 1 |
sv_old_laser | Whether lasers can hit you if you shot them and that they pull you towards the bounce origin (0 for all new maps) or lasers can't hit you if you shot them, and they pull others towards the shooter | 0 | 0 | 1 |
sv_slash_me | Whether /me is active on the server or not | 0 | 0 | 1 |
sv_rejoin_team_0 | Make a team automatically rejoin team 0 after finish (only if not locked) | 1 | 0 | 1 |
conn_timeout | Network timeout | 100 | 5 | 1000 |
conn_timeout_protection | Network timeout protection | 1000 | 5 | 10000 |
sv_reset_pickups | Whether the weapons are reset on passing the start tile or not | 0 | 0 | 1 |
sv_show_others | Whether players can use the command showothers or not | 1 | 0 | 1 |
sv_show_others_default | Whether players see others by default (2 for own team) | 0 | 0 | 2 |
sv_show_all_default | Whether players see all tees by default | 0 | 0 | 1 |
sv_max_afk_time | The time in seconds a player is allowed to be afk (0 = disabled) | 0 | 0 | 9999 |
sv_max_afk_vote_time | The time in seconds a player can be afk and his votes still count (0 = disabled) | 300 | 0 | 9999 |
sv_plasma_range | How far will the plasma gun track tees | 700 | 1 | 99999 |
sv_plasma_per_sec | How many shots does the plasma gun fire per seconds | 3 | 0 | 50 |
sv_dragger_range | How far will the dragger track tees | 700 | 1 | 99999 |
sv_vote_pause | Allow voting to pause players (instead of moving to spectators) | 1 | 0 | 1 |
sv_vote_pause_time | The time (in seconds) players have to wait in pause when paused by vote | 10 | 0 | 360 |
sv_tune_reset | Whether tuning is reset after each map change or not | 1 | 0 | 1 |
sv_reset_file | File to execute on map change or reload to set the default server settings | "reset.cfg" | ||
sv_input_fifo | Fifo file to use as input for server console | "" | ||
sv_ddrace_tune_reset | Whether DDRace tuning (sv_hit, sv_endless_drag and sv_old_laser) is reset after each map change or not | 1 | 0 | 1 |
sv_nameless_score | Whether nameless tee has a score or not | 1 | 0 | 1 |
sv_time_in_broadcast_interval | How often to update the broadcast time | 1 | 0 | 60 |
sv_default_timer_type | Default way of displaying time either game/round timer or broadcast. 0 = game/round timer, 1 = broadcast, 2 = 0+1, 3 = none | 0 | 0 | 3 |
sv_chat_initial_delay | The time in seconds before the first message can be sent | 0 | 0 | 360 |
sv_chat_penalty | chat score will be increased by this on every message, and decremented by 1 on every tick. | 250 | 50 | 1000 |
sv_chat_threshold | if chats core exceeds this, the player will be muted for sv_spam_mute_duration seconds | 1000 | 50 | 10000 |
sv_spam_mute_duration | how many seconds to mute, if player triggers mute on spam. 0 = off | 60 | 0 | 3600 |
sv_rank_cheats | Enable ranks after cheats have been used (file based server only) | 0 | 0 | 1 |
sv_shutdown_when_empty | Shutdown server as soon as no one is on it anymore | 0 | 0 | 1 |
sv_reload_when_empty | Reload map when server is empty (1 = reload once, 2 = reload every time server gets empty) | 0 | 0 | 2 |
sv_kill_protection | 0 - Disable, 1-9999 minutes | 20 | 0 | 9999 |
sv_solo_server | Set server to solo mode (no player interactions, has to be set before loading the map) | 0 | 0 | 1 |
sv_client_suggestion | Broadcast to display to players without DDNet client | "Get DDNet client from DDNet.org 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.org!" | ||
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.org" | ||
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 | 是否允许处于深度冻结状态的玩家在瞬时解冻时使用锤子 | 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[文本] | 聊天框输出文本 |
exec | r[文件名] | 运行指定配置文件 |
toggle | s[配置文件选项] i[参数1] i[参数2] | 切换配置文件参数值 |
access_level | s[指令] ?i[权限等级] | 特定指令的访问权限等级(管理员 = 0,监督员 = 1,助手 = 2,所有用户 = 3) |
access_status | i[权限等级] | 查看某一用户组可使用的所有指令权限(管理员 = 0,监督员 = 1,助手 = 2,所有用户 = 3) |
cmdlist | 查看当前用户可使用的所有指令权限 | |
ban | i[IP地址/用户ID] ?i[时长] r[理由] | 封禁某一用户/IP地址一定时长,并说明理由 |
ban_range | s[起始IP地址] s[终止IP地址] ?i[时长] r[理由] | 封禁某一范围内的IP地址一定时长,并说明理由 |
unban | s[IP地址/封禁列表] | 解封某一IP地址/封禁列表 |
unban_range | s[起始IP地址] s[终止IP地址] | 解封某一范围内的IP地址 |
unban_all | 解封所有用户 | |
bans | 显示封禁列表 | |
bans_save | s[file] | 将封禁列表保存为文件 |
ban | id] ?i[minutes] r[reason] | Ban player with ip/client id for x minutes for any reason |
ban_region | id] ?i[minutes] r[reason] | Ban player in a region |
ban_region_range | s[region] s[first ip] s[last ip] ?i[minutes] r[reason] | Ban range in a region |
kick | i[id] ?r[reason] | Kick player with specified id for any reason |
status | ?r[name] | List players containing name or all players |
shutdown | ?r[reason] | Shut down |
logout | Logout of rcon | |
show_ips | ?i[show] | Show IP addresses in rcon commands (1 = on, 0 = off) |
record | ?s[file] | Record to a file |
stoprecord | Stop recording | |
reload | Reload the map | |
add_sqlserver | 'w'] s[Database] s[Prefix] s[User] s[Password] s[IP] i[Port] ?i[SetUpDatabase ?] | add a sqlserver |
dump_sqlservers | 'w'] | dumps all sqlservers readservers = r, writeservers = w |
auth_add | s[ident] s[level] r[pw] | Add a rcon key |
auth_add_p | s[ident] s[level] s[hash] s[salt] | Add a prehashed rcon key |
auth_change | s[ident] s[level] r[pw] | Update a rcon key |
auth_change_p | s[ident] s[level] s[hash] s[salt] | Update a rcon key with prehashed data |
auth_remove | s[ident] | Remove a rcon key |
auth_list | List all rcon keys | |
name_ban | s[name] ?i[distance] ?i[is_substring] ?r[reason] | Ban a certain nickname |
name_unban | s[name] | Unban a certain nickname |
name_bans | List all name bans | |
sv_test_cmds | Turns testing commands aka cheats on/off (setting only works in initial config) | |
sv_rescue | Allow /rescue command so players can teleport themselves out of freeze (setting only works in initial config) | |
tune | s[tuning] i[value] | Tune variable to value |
toggle_tune | s[tuning] i[value 1] i[value 2] | Toggle tune variable |
tune_reset | Reset tuning | |
tune_dump | Dump tuning | |
tune_zone | i[zone] s[tuning] i[value] | Tune in zone a variable to value |
tune_zone_dump | i[zone] | Dump zone tuning in zone x |
tune_zone_reset | ?i[zone] | reset zone tuning in zone x or in all zones |
tune_zone_enter | i[zone] r[message] | which message to display on zone enter; use 0 for normal area |
tune_zone_leave | i[zone] r[message] | which message to display on zone leave; use 0 for normal area |
mapbug | s[mapbug] | Enable map compatibility mode using the specified bug (example: [/cdn-cgi/l/email-protection [email protected]]) |
switch_open | i[switch] | Whether a switch is deactivated by default (otherwise activated) |
pause_game | Pause/unpause game | |
change_map | ?r[map] | Change map |
random_map | ?i[stars] | Random map |
random_unfinished_map | ?i[stars] | Random unfinished map |
restart | ?i[seconds] | Restart in x seconds (0 = abort) |
broadcast | r[message] | Broadcast message |
say | r[message] | Say in chat |
set_team | i[id] i[team-id] ?i[delay in minutes] | Set team of player to team |
set_team_all | i[team-id] | Set team of all players to team |
add_vote | s[name] r[command] | Add a voting option |
remove_vote | r[name] | remove a voting option |
force_vote | s[name] s[command] ?r[reason] | Force a voting option |
clear_votes | Clears the voting options | |
add_map_votes | Automatically adds voting options for all maps | |
vote | 'no'] | Force a vote to yes/no |
dump_antibot | Dumps the antibot status | |
dbg_lognetwork | Log the network | |
kill_pl | v[id] | Kills player v and announces the kill |
totele | i[number] | Teleports you to teleporter v |
totelecp | i[number] | Teleports you to checkpoint teleporter v |
tele | ?i[id] ?i[id] | Teleports player i (or you) to player i (or you to where you look at) |
addweapon | i[weapon-id] | Gives weapon with id i to you (all = -1, hammer = 0, gun = 1, shotgun = 2, grenade = 3, laser = 4, ninja = 5) |
removeweapon | i[weapon-id] | removes weapon with id i from you (all = -1, hammer = 0, gun = 1, shotgun = 2, grenade = 3, laser = 4, ninja = 5) |
shotgun | Gives a shotgun to you | |
grenade | Gives a grenade launcher to you | |
laser | Gives a laser to you | |
rifle | Gives a laser to you | |
jetpack | Gives jetpack to you | |
weapons | Gives all weapons to you | |
unshotgun | Removes the shotgun from you | |
ungrenade | Removes the grenade launcher from you | |
unlaser | Removes the laser from you | |
unrifle | Removes the laser from you | |
unjetpack | Removes the jetpack from you | |
unweapons | Removes all weapons from you | |
ninja | Makes you a ninja | |
super | Makes you super | |
unsuper | Removes super from you | |
endless_hook | Gives you endless hook | |
unendless_hook | Removes endless hook from you | |
unsolo | Puts you out of solo part | |
undeep | Puts you out of deep freeze | |
left | Makes you move 1 tile left | |
right | Makes you move 1 tile right | |
up | Makes you move 1 tile up | |
down | Makes you move 1 tile down | |
move | i[x] i[y] | Moves to the tile with x/y-number ii |
move_raw | i[x] i[y] | Moves to the point with x/y-coordinates ii |
force_pause | v[id] i[seconds] | Force i to pause for i seconds |
force_unpause | v[id] | Set force-pause timer of i to 0. |
set_team_ddr | v[id] ?i[team] | Set ddrace team of a player |
uninvite | v[id] ?i[team] | Uninvite player from team |
vote_mute | v[id] i[seconds] | Remove v's right to vote for i seconds |
vote_unmute | v[id] | Give back v's right to vote. |
vote_mutes | List the current active vote mutes. | |
mute | ||
muteid | v[id] i[seconds] ?r[reason] | Mute player with id |
muteip | s[ip] i[seconds] ?r[reason] | Mute player with IP address |
unmute | i[muteid] | |
unmuteid | v[id] | Unmute player with id |
mutes | ||
moderate | Enables/disables active moderator mode for the player | |
vote_no | ||
save_dry | Dump the current savestring | |
freezehammer | v[id] | Gives a player Freeze Hammer |
unfreezehammer | v[id] | Removes Freeze Hammer from a player |
聊天框指令
Command | Arguments | Description |
---|---|---|
credits | Shows the credits of the DDNet mod | |
rules | Shows the server rules | |
emote | ?s[emote name] i[duration in seconds] | Sets your tee's eye emote |
eyeemote | 'off'|'toggle'] | Toggles use of standard eye-emotes on/off, eyeemote s, where s = on for on, off for off, toggle for toggle and nothing to show current status |
settings | ?s[configname] | Shows gameplay information for this server |
help | ?r[command] | Shows help to command r, general help if left blank |
info | Shows info about this server | |
list | ?s[filter] | List connected players with optional case-insensitive substring matching filter |
me | r[message] | Like the famous irc command '/me says hi' will display '<yourname> says hi' |
w | s[玩家名称] r[文本] | 给同一服务器的指定玩家发送私密信息 |
whisper | s[玩家名称] r[文本] | 给同一服务器的指定玩家发送私密信息 |
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[玩家名称] | 切换为旁观模式 |
spec | ?r[玩家名称] | 切换为观察模式(处于观察模式的玩家不能与任何玩家发生任何交互,退出观察模式后重新计算该玩家的存活时间),使用前提为地图参数sv_pauseable设置为1,否则切换为旁观模式 |
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[代码] | 设置超时保护密码,该玩家连接超时后,其他玩家输入相同的代码会接管该玩家的位置与状态 |
practice | ?i['0'/'1'] | 为当前队伍(默认队伍除外)开启作弊模式(需经队内半数以上的成员同意),开启后整支队伍不能在经过终点线后获得任何分数 |
swap | ?r[玩家名称] | 请求与其他位于同一队伍内玩家交换位置与状态(两名即将进行交换的玩家需均已经过起点线) |
save | ?r[代码] | 保存队伍存档,若保存时不输入则随机生成存档代码 |
load | ?r[代码] | 读取队伍存档,仅输入主指令会检查玩家ID在此地图中存在的存档,读取成功后销毁该存档 |
map | ?r[map] | Vote a map by name |
rankteam | ?r[player name] | Shows the team rank of player with name r (your team rank by default) |
teamrank | ?r[player name] | Shows the team rank of player with name r (your team rank by default) |
rank | ?r[player name] | Shows the rank of player with name r (your rank by default) |
top5team | ?s[player name] ?i[rank to start with] | Shows five team ranks of the ladder or of a player beginning with rank i (1 by default, -1 for worst) |
teamtop5 | ?s[player name] ?i[rank to start with] | Shows five team ranks of the ladder or of a player beginning with rank i (1 by default, -1 for worst) |
top | ?i[rank to start with] | Shows the top ranks of the global and regional ladder beginning with rank i (1 by default, -1 for worst) |
top5 | ?i[rank to start with] | Shows the top ranks of the global and regional ladder beginning with rank i (1 by default, -1 for worst) |
times | ?s[player name] ?i[number of times to skip] | /times ?s?i shows last 5 times of the server or of a player beginning with name s starting with time i (i = 1 by default, -1 for first) |
points | ?r[player name] | Shows the global points of a player beginning with name r (your rank by default) |
top5points | ?i[number] | Shows five points of the global point ladder beginning with rank i (1 by default) |
team | ?i[id] | Lets you join team i (shows your team if left blank) |
lock | '1'] | Toggle team lock so no one else can join and so the team restarts when a player dies. /lock 0 to unlock, /lock 1 to lock. |
unlock | Unlock a team | |
invite | r[player name] | Invite a person to a locked team |
showothers | '1'|'2'] | Whether to show players from other teams or not (off by default), optional i = 0 for off, i = 1 for on, i = 2 for own team only |
showall | '1'] | Whether to show players at any distance (off by default), optional i = 0 for off else for on |
specteam | '1'] | Whether to show players from other teams when spectating (on by default), optional i = 0 for off else for on |
ninjajetpack | '1'] | Whether to use ninja jetpack or not. Makes jetpack look more awesome |
saytime | ?r[player name] | Privately messages someone's current time in this current running race (your time by default) |
saytimeall | Publicly messages everyone your current time in this current running race | |
time | Privately shows you your current time in this current running race in the broadcast message | |
timer | 'broadcast'|'both'|'none'|'cycle'] | Personal Setting of showing time in either broadcast or game/round timer, timer s, where s = broadcast for broadcast, gametimer for game/round timer, cycle for cycle, both for both, none for no timer and nothing to show current status |
r | Teleport yourself out of freeze (use sv_rescue 1 to enable this feature) | |
rescue | Teleport yourself out of freeze (use sv_rescue 1 to enable this feature) | |
tp | ?r[player name] | Teleport yourself to player or to where you are spectating if no player name is given |
teleport | ?r[player name] | Teleport yourself to player or to where you are spectating if no player name is given |
kill | Kill yourself when kill-protected during a long game (use f1, kill for regular kill) |
客户端设置
Setting | Description | Default | Min | Max |
---|---|---|---|---|
cl_predict | Predict client movements | 1 | 0 | 1 |
cl_predict_dummy | Predict dummy movements | 1 | 0 | 1 |
cl_antiping_limit | Antiping limit (0 to disable) | 0 | 0 | 200 |
cl_antiping | Enable antiping, i. e. more aggressive prediction. | 0 | 0 | 1 |
cl_antiping_players | Predict other player's movement more aggressively (only enabled if cl_antiping is set to 1) | 1 | 0 | 1 |
cl_antiping_grenade | Predict grenades (only enabled if cl_antiping is set to 1) | 1 | 0 | 1 |
cl_antiping_weapons | Predict weapon projectiles (only enabled if cl_antiping is set to 1) | 1 | 0 | 1 |
cl_antiping_smooth | Make the prediction of other player's movement smoother | 0 | 0 | 1 |
cl_antiping_gunfire | Predict gunfire and show predicted weapon physics (with cl_antiping_grenade 1 and cl_antiping_weapons 1) | 1 | 0 | 1 |
cl_prediction_margin | Prediction margin in ms (adds latency, can reduce lag from ping jumps) | 10 | 1 | 2000 |
cl_nameplates | Show name plates | 1 | 0 | 1 |
cl_afk_emote | Show zzz emote next to afk players | 1 | 0 | 1 |
cl_nameplates_always | Always show name plates disregarding of distance | 1 | 0 | 1 |
cl_nameplates_teamcolors | Use team colors for name plates | 1 | 0 | 1 |
cl_nameplates_size | Size of the name plates from 0 to 100% | 50 | 0 | 100 |
cl_nameplates_clan | Show clan in name plates | 0 | 0 | 1 |
cl_nameplates_clan_size | Size of the clan plates from 0 to 100% | 30 | 0 | 100 |
cl_nameplates_ids | Show IDs in name plates | 0 | 0 | 1 |
cl_nameplates_ha | Show Health and Armor in name plates | 0 | 0 | 1 |
cl_nameplates_ha_size | Size of the health and armor nameplates from 0 to 100% | 50 | 0 | 100 |
cl_nameplates_own | Show own name plate (useful for demo recording) | 0 | 0 | 1 |
cl_nameplates_friendmark | Show friend mark (♥) in name plates | 0 | 0 | 1 |
cl_nameplates_strong | Show strong/weak in name plates (0 - off, 1 - icons, 2 - icons + numbers) | 0 | 0 | 2 |
cl_text_entities | Render textual entity data | 1 | 0 | 1 |
cl_text_entities_size | Size of textual entity data from 1 to 100% | 100 | 1 | 100 |
cl_authed_player_color | Color of name of authenticated player in scoreboard | 5898211 | ||
cl_same_clan_color | Clan color of players with the same clan as you in scoreboard. | 5898211 | ||
cl_enable_ping_color | Whether ping is colored in scoreboard. | 1 | 0 | 1 |
cl_autoswitch_weapons | Auto switch weapon on pickup | 1 | 0 | 1 |
cl_autoswitch_weapons_out_of_ammo | Auto switch weapon when out of ammo | 0 | 0 | 1 |
cl_showhud | Show ingame HUD | 1 | 0 | 1 |
cl_showhud_healthammo | Show ingame HUD (Health + Ammo) | 1 | 0 | 1 |
cl_showhud_score | Show ingame HUD (Score) | 1 | 0 | 1 |
cl_showhud_timer | Show ingame HUD (Timer) | 1 | 0 | 1 |
cl_showrecord | Show old style DDRace client records | 0 | 0 | 1 |
cl_shownotifications | Make the client notify when someone highlights you | 1 | 0 | 1 |
cl_showemotes | Show tee emotes | 1 | 0 | 1 |
cl_showchat | Show chat (2 to always show large chat area) | 1 | 0 | 2 |
cl_show_chat_friends | Show only chat messages from friends | 0 | 0 | 1 |
cl_show_chat_system | Show chat messages from the server | 1 | 0 | 1 |
cl_showkillmessages | Show kill messages | 1 | 0 | 1 |
cl_show_votes_after_voting | Show votes window after voting | 0 | 0 | 1 |
cl_show_local_time_always | Always show local time | 0 | 0 | 1 |
cl_showfps | Show ingame FPS counter | 0 | 0 | 1 |
cl_showpred | Show ingame prediction time in milliseconds | 0 | 0 | 1 |
cl_eye_wheel | Show eye wheel along together with emotes | 1 | 0 | 1 |
cl_eye_duration | How long the eyes emotes last | 999999 | 1 | 999999 |
cl_airjumpindicator | 1 | 0 | 1 | |
cl_threadsoundloading | Load sound files threaded | 0 | 0 | 1 |
cl_warning_teambalance | Warn about team balance | 1 | 0 | 1 |
cl_mouse_deadzone | Deadzone for the camera to follow the cursor | 0 | 0 | 3000 |
cl_mouse_followfactor | Factor for the camera to follow the cursor | 0 | 0 | 200 |
cl_mouse_max_distance | Maximum cursor distance | 400 | 0 | 5000 |
cl_mouse_min_distance | Minimum cursor distance | 0 | 0 | 5000 |
cl_dyncam | Enable dyncam | 0 | 0 | 1 |
cl_dyncam_max_distance | Maximum dynamic camera cursor distance | 1000 | 0 | 2000 |
cl_dyncam_min_distance | Minimum dynamic camera cursor distance | 0 | 0 | 2000 |
cl_dyncam_mousesens | Mouse sens used when dyncam is toggled on | 0 | 0 | 100000 |
cl_dyncam_deadzone | Deadzone for the dynamic camera to follow the cursor | 300 | 1 | 1300 |
cl_dyncam_follow_factor | Factor for the dynamic camera to follow the cursor | 60 | 0 | 200 |
cl_dyncam_smoothness | Transition amount of the camera movement, 0=instant, 100=slow and smooth | 0 | 0 | 100 |
cl_dyncam_stabilizing | Amount of camera slowdown during fast cursor movement. High value can cause delay in camera movement | 0 | 0 | 100 |
ed_zoom_target | Zoom to the current mouse target | 0 | 0 | 1 |
ed_showkeys | 0 | 0 | 1 | |
cl_show_welcome | 1 | 0 | 1 | |
cl_motd_time | How long to show the server message of the day | 10 | 0 | 100 |
cl_map_download_url | URL used to download maps (can start with http:// or https://) | "https://maps2.ddnet.org%22 | ||
cl_map_download_connect_timeout_ms | HTTP map downloads: timeout for the connect phase in milliseconds (0 to disable) | 2000 | 0 | 100000 |
cl_map_download_low_speed_limit | HTTP map downloads: Set low speed limit in bytes per second (0 to disable) | 4000 | 0 | 100000 |
cl_map_download_low_speed_time | HTTP map downloads: Set low speed limit time period (0 to disable) | 3 | 0 | 100000 |
cl_languagefile | What language file to use | "" | ||
cl_skin_download_url | URL used to download skins | "https://skins.ddnet.org/skin/%22 | ||
cl_vanilla_skins_only | Only show skins available in Vanilla Teeworlds | 0 | 0 | 1 |
cl_download_skins | Download skins from cl_skin_download_url on-the-fly | 1 | 0 | 1 |
cl_auto_statboard_screenshot | Automatically take game over statboard screenshot | 0 | 0 | 1 |
cl_auto_statboard_screenshot_max | Maximum number of automatically created statboard screenshots (0 = no limit) | 10 | 0 | 1000 |
cl_default_zoom | Default zoom level (10 default, min 0, max 20) | 10 | 0 | 20 |
cl_smooth_zoom_time | Time of smooth zoom animation in ms (0 for off) | 250 | 0 | 5000 |
cl_limit_max_zoom_level | Specifies, if zooming should be limited or not (0 = no limit) | 1 | 0 | 1 |
player_use_custom_color | Toggles usage of custom colors | 0 | 0 | 1 |
player_color_body | Player body color | 65408 | ||
player_color_feet | Player feet color | 65408 | ||
player_skin | Player skin | "default" | ||
cl_skin_prefix | Replace the skins by skins with this prefix (e.g. kitty, santa) | "" | ||
cl_fat_skins | Enable fat skins | 0 | 0 | 1 |
ui_page | Interface page | 9 | 6 | 10 |
ui_settings_page | Interface settings page | 0 | 0 | 9 |
ui_toolbox_page | Toolbox page | 0 | 0 | 2 |
ui_server_address | Interface server address | "localhost:8303" | ||
ui_scale | Interface scale | 100 | 50 | 150 |
ui_mousesens | Mouse sensitivity for menus/editor | 200 | 1 | 100000 |
ui_color | Interface color | 0xE4A046AF | ||
ui_colorize_ping | Highlight ping | 1 | 0 | 1 |
ui_colorize_gametype | Highlight gametype | 1 | 0 | 1 |
ui_demo_selected | Selected demo file | "" | ||
ui_close_window_after_changing_setting | Close window after changing setting | 1 | 0 | 1 |
ui_unread_news | Whether there is unread news | 0 | 0 | 1 |
gfx_noclip | Disable clipping | 0 | 0 | 1 |
dummy_name | Name of the dummy | "" | ||
dummy_clan | Clan of the dummy | "" | ||
dummy_country | Country of the Dummy | -1 | -1 | 1000 |
dummy_use_custom_color | Toggles usage of custom colors | 0 | 0 | 1 |
dummy_color_body | Dummy body color | 65408 | ||
dummy_color_feet | Dummy feet color | 65408 | ||
dummy_skin | Dummy skin | "default" | ||
cl_dummy | 0 - player / 1 - dummy | 0 | 0 | 1 |
cl_dummy_hammer | Whether dummy is hammering for a hammerfly | 0 | 0 | 1 |
cl_dummy_resetonswitch | Whether dummy or player should stop pressing keys when you switch. 0 = off, 1 = dummy, 2 = player | 0 | 0 | 2 |
cl_dummy_restore_weapon | Whether dummy should switch to last weapon after hammerfly | 1 | 0 | 1 |
cl_dummy_copy_moves | Whether dummy should copy your moves | 0 | 0 | 1 |
cl_dummy_control | Whether can you control dummy at the same time (cl_dummy_jump, cl_dummy_fire, cl_dummy_hook) | 0 | 0 | 1 |
cl_dummy_jump | Whether dummy is jumping (requires cl_dummy_control 1) | 0 | 0 | 1 |
cl_dummy_fire | Whether dummy is firing (requires cl_dummy_control 1) | 0 | 0 | 1 |
cl_dummy_hook | Whether dummy is hooking (requires cl_dummy_control 1) | 0 | 0 | 1 |
cl_show_start_menu_images | Show start menu images | 1 | 0 | 1 |
cl_skip_start_menu | Skip the start menu | 0 | 0 | 1 |
cl_video_pausewithdemo | Pause video rendering when demo playing pause | 1 | 0 | 1 |
cl_video_showhud | Show ingame HUD when rendering video | 0 | 0 | 1 |
cl_video_showchat | Show chat when rendering video | 1 | 0 | 1 |
cl_video_sound_enable | Use sound when rendering video | 1 | 0 | 1 |
cl_video_show_hook_coll_other | Show other players' hook collision lines when rendering video | 0 | 0 | 1 |
cl_video_show_direction | Show players' key presses when rendering video (1 = other players', 2 = also your own) | 0 | 0 | 2 |
cl_video_crf | Set crf when encode video with libx264 (0 for highest quality, 51 for lowest) | 18 | 0 | 51 |
cl_video_preset | Set preset when encode video with libx264, default is 5 (medium), 0 is ultrafast, 9 is placebo (the slowest, not recommend) | 5 | 0 | 9 |
dbg_focus | 0 | 0 | 1 | |
dbg_tuning | 0 | 0 | 1 | |
player_name | Name of the player | "" | ||
player_clan | Clan of the player | "" | ||
player_country | Country of the player | -1 | -1 | 1000 |
password | Password to the server | "" | ||
logfile | Filename to log all output to | "" | ||
console_output_level | Adjusts the amount of information in the console | 0 | 0 | 2 |
console_enable_colors | Enable colors in console output | 1 | 0 | 1 |
events | Enable triggering of events, (eye emotes on some holidays in server, christmas skins in client). | 1 | 0 | 1 |
steam_name | Last seen name of the Steam profile | "" | ||
cl_save_settings | Write the settings file on exit | 1 | 0 | 1 |
cl_refresh_rate | Refresh rate for updating the game (in Hz) | 0 | 0 | 10000 |
cl_refresh_rate_inactive | Refresh rate for updating the game when the window is inactive (in Hz) | 120 | 0 | 10000 |
cl_editor | 0 | 0 | 1 | |
cl_editor_dilate | Automatically dilates embedded images | 1 | 0 | 1 |
cl_skin_filter_string | Skin filtering string | "" | ||
cl_auto_demo_record | Automatically record demos | 1 | 0 | 1 |
cl_auto_demo_on_connect | Only start a new demo when connect while automatically record demos | 0 | 0 | 1 |
cl_auto_demo_max | Maximum number of automatically recorded demos (0 = no limit) | 10 | 0 | 1000 |
cl_auto_screenshot | Automatically take game over screenshot | 0 | 0 | 1 |
cl_auto_screenshot_max | Maximum number of automatically created screenshots (0 = no limit) | 10 | 0 | 1000 |
cl_auto_csv | Automatically create game over csv | 0 | 0 | 1 |
cl_auto_csv_max | Maximum number of automatically created csvs (0 = no limit) | 10 | 0 | 1000 |
cl_reset_wanted_weapon_on_death | Reset wanted weapon on death | 1 | 0 | 1 |
cl_show_broadcasts | Show broadcasts ingame | 1 | 0 | 1 |
cl_print_broadcasts | Print broadcasts to console | 1 | 0 | 1 |
cl_print_motd | Print motd to console | 1 | 0 | 1 |
cl_friends_ignore_clan | Ignore clan tag when searching for friends | 1 | 0 | 1 |
cl_assets_entities | The asset/assets for entities | "default" | ||
cl_asset_game | The asset for game | "default" | ||
cl_asset_emoticons | The asset for emoticons | "default" | ||
cl_asset_particles | The asset for particles | "default" | ||
br_filter_string | Server browser filtering string | "Novice" | ||
br_exclude_string | Server browser exclusion string | "" | ||
br_filter_full | Filter out full server in browser | 0 | 0 | 1 |
br_filter_empty | Filter out empty server in browser | 0 | 0 | 1 |
br_filter_spectators | Filter out spectators from player numbers | 0 | 0 | 1 |
br_filter_friends | Filter out servers with no friends | 0 | 0 | 1 |
br_filter_country | Filter out servers with non-matching player country | 0 | 0 | 1 |
br_filter_country_index | Player country to filter by in the server browser | -1 | -1 | 999 |
br_filter_pw | Filter out password protected servers in browser | 0 | 0 | 1 |
br_filter_gametype | Game types to filter | "" | ||
br_filter_gametype_strict | Strict gametype filter | 0 | 0 | 1 |
br_filter_connecting_players | Filter connecting players | 1 | 0 | 1 |
br_filter_serveraddress | Server address to filter | "" | ||
br_filter_unfinished_map | Show only servers with unfinished maps | 0 | 0 | 1 |
br_filter_exclude_countries | Filter out DDNet servers by country | "" | ||
br_filter_exclude_types | Filter out DDNet servers by type (mod) | "" | ||
br_indicate_finished | Show whether you have finished a DDNet map (transmits your player name to info2.ddnet.org/info) | 1 | 0 | 1 |
br_location | Override location for ping estimation, available: auto, af, as, as:cn, eu, na, oc, sa (Automatic, Africa, Asia, China, Europe, North America, Oceania/Australia, South America | "auto" | ||
br_cached_best_serverinfo_url | Do not set this variable, instead create a ddnet-serverlist-urls.cfg next to settings_ddnet.cfg to specify all possible serverlist URLs | "" | ||
br_filter_exclude_countries_kog | Filter out kog servers by country | "" | ||
br_filter_exclude_types_kog | Filter out kog servers by type (mod) | "" | ||
br_sort | Sorting column in server browser | 4 | 0 | 256 |
br_sort_order | Sorting order in server browser | 2 | 0 | 2 |
br_max_requests | Number of concurrent requests to use when refreshing server browser | 100 | 0 | 1000 |
br_demo_sort | Sorting column in demo browser | 0 | 0 | 3 |
br_demo_sort_order | Sorting order in demo browser | 0 | 0 | 1 |
br_demo_fetch_info | Whether to auto fetch demo infos on refresh | 0 | 0 | 1 |
snd_buffer_size | Sound buffer size | 512 | 128 | 32768 |
snd_rate | Sound mixing rate | 48000 | 0 | 0 |
snd_enable | Sound enable | 1 | 0 | 1 |
snd_enable_music | Play background music | 0 | 0 | 1 |
snd_volume | Sound volume | 30 | 0 | 100 |
snd_device | (deprecated) Sound device to use | -1 | 0 | 0 |
snd_chat_volume | Chat sound volume | 30 | 0 | 100 |
snd_game_volume | Game sound volume | 30 | 0 | 100 |
snd_ambient_volume | Map Sound sound volume | 30 | 0 | 100 |
snd_background_music_volume | Background music sound volume | 30 | 0 | 100 |
snd_nonactive_mute | 0 | 0 | 1 | |
snd_game | Enable game sounds | 1 | 0 | 1 |
snd_gun | Enable gun sound | 1 | 0 | 1 |
snd_long_pain | Enable long pain sound (used when shooting in freeze) | 1 | 0 | 1 |
snd_chat | Enable regular chat sound | 1 | 0 | 1 |
snd_team_chat | Enable team chat sound | 1 | 0 | 1 |
snd_servermessage | Enable server message sound | 1 | 0 | 1 |
snd_highlight | Enable highlighted chat sound | 1 | 0 | 1 |
gfx_screen | Screen index | 0 | 0 | 15 |
gfx_screen_width | Screen resolution width | 0 | 0 | 0 |
gfx_screen_height | Screen resolution height | 0 | 0 | 0 |
gfx_screen_refresh_rate | Screen refresh rate | 0 | 0 | 0 |
gfx_desktop_width | Desktop resolution width for detecting display changes (not recommended to change manually) | 0 | 0 | 0 |
gfx_desktop_height | Desktop resolution height for detecting display changes (not recommended to change manually) | 0 | 0 | 0 |
gfx_borderless | Borderless window (not to be used with fullscreen) | 1 | 0 | 1 |
gfx_fullscreen | Set fullscreen mode: 0=no fullscreen, 1=pure fullscreen, 2=desktop fullscreen, 3=windowed fullscreen | 0 | 0 | 3 |
gfx_highdpi | Enable high-dpi | 1 | 0 | 1 |
gfx_color_depth | Colors bits for framebuffer (fullscreen only) | 24 | 16 | 24 |
gfx_vsync | Vertical sync (may cause delay) | 0 | 0 | 1 |
gfx_display_all_video_modes | Show all video modes | 0 | 0 | 1 |
gfx_high_detail | High detail | 1 | 0 | 1 |
gfx_fsaa_samples | FSAA Samples | 0 | 0 | 16 |
gfx_refresh_rate | Screen refresh rate | 0 | 0 | 10000 |
gfx_finish | 0 | 0 | 1 | |
gfx_backgroundrender | Render graphics when window is in background | 1 | 0 | 1 |
gfx_text_overlay | Stop rendering textoverlay in editor or with entities: high value = less details = more speed | 10 | 1 | 100 |
gfx_asyncrender_old | Do rendering async from the the update | 1 | 0 | 1 |
gfx_tune_overlay | Stop rendering text overlay in tuning zone in editor: high value = less details = more speed | 20 | 1 | 100 |
gfx_quad_as_triangle | Render quads as triangles (fixes quad coloring on some GPUs) | 0 | 0 | 1 |
inp_mousesens | Mouse sensitivity | 200 | 1 | 100000 |
inp_mouseold | Use old mouse mode (warp mouse instead of raw input) | 0 | 0 | 1 |
inp_translated_keys | Translate keys before interpreting them, respects keyboard layouts | 0 | 0 | 1 |
inp_ignored_modifiers | Ignored keyboard modifier mask | 0 | 0 | 65536 |
cl_port | Port to use for client connections to server (0 to choose a random port, requires a restart) | 0 | 0 | 65535 |
cl_dummy_port | Port to use for dummy connections to server (0 to choose a random port, requires a restart) | 0 | 0 | 65535 |
cl_contact_port | Port to use for serverinfo connections to server (0 to choose a random port, requires a restart) | 0 | 0 | 65535 |
bindaddr | Address to bind the client/server to | "" | ||
debug | Debug mode | 0 | 0 | 1 |
dbg_curl | Debug curl | 0 | 0 | 1 |
dbg_graphs | Performance graphs | 0 | 0 | 1 |
dbg_gfx | Show graphic library warnings and errors, if the GPU supports it (0: none, 1: minimal, 2: affects performance, 3: verbose, 4: all) | 0 | 0 | 4 |
dbg_stress | Stress systems (Debug build only) | 0 | 0 | 0 |
dbg_stress_network | Stress network (Debug build only) | 0 | 0 | 0 |
dbg_stress_server | Server to stress (Debug build only) | "localhost" | ||
cl_race_binds_set | What level the DDRace binds are set to (this is automated, you don't need to use this) | 0 | 0 | 1 |
cl_reconnect_timeout | How many seconds to wait before reconnecting (after timeout, 0 for off) | 120 | 0 | 600 |
cl_reconnect_full | How many seconds to wait before reconnecting (when server is full, 0 for off) | 5 | 0 | 600 |
cl_message_system_color | System message color | 2817983 | ||
cl_message_client_color | Client message color | 9633471 | ||
cl_message_highlight_color | Highlighted message color | 65471 | ||
cl_message_team_color | Team message color | 5636050 | ||
cl_message_color | Message color | 255 | ||
cl_laser_inner_color | Laser inner color | 11206591 | ||
cl_laser_outline_color | Laser outline color | 11176233 | ||
cl_kill_message_normal_color | Kill message normal color | 255 | ||
cl_kill_message_highlight_color | Kill message highlight color | 255 | ||
cl_message_friend | Enable coloring and the heart for friends | 1 | 0 | 1 |
cl_message_friend_color | Friend message color | 65425 | ||
conn_timeout | Network timeout | 100 | 5 | 1000 |
cl_show_ids | Whether to show client ids in scoreboard | 0 | 0 | 1 |
cl_scoreboard_on_death | Whether to show scoreboard after death or not | 1 | 0 | 1 |
cl_auto_race_record | Save the best demo of each race | 1 | 0 | 1 |
cl_replays | Enable/disable replays | 0 | 0 | 1 |
cl_replay_length | Set the default length of the replays | 30 | 10 | 0 |
cl_race_record_server_control | Let the server start the race recorder | 1 | 0 | 1 |
cl_demo_name | Save the player name within the demo | 1 | 0 | 1 |
cl_demo_assume_race | Assume that demos are race demos | 1 | 0 | 1 |
cl_race_ghost | Enable ghost | 1 | 0 | 1 |
cl_race_ghost_server_control | Let the server start the ghost | 1 | 0 | 1 |
cl_race_show_ghost | Show ghost | 1 | 0 | 1 |
cl_race_save_ghost | Save ghost | 1 | 0 | 1 |
cl_ddrace_scoreboard | Enable DDRace Scoreboard | 1 | 0 | 1 |
cl_show_others | Show players in other teams (2 to show own team only) | 0 | 0 | 2 |
cl_show_others_alpha | Show players in other teams (alpha value, 0 invisible, 100 fully visible) | 40 | 0 | 100 |
cl_overlay_entities | Overlay game tiles with a percentage of opacity | 0 | 0 | 100 |
cl_show_quads | Show quads | 1 | 0 | 1 |
cl_zoom_background_layers | Zoom background layers | 0 | 0 | 1 |
cl_background_color | Background color | 128 | ||
cl_background_entities_color | Background (entities) color | 128 | ||
cl_background_entities | Background (entities) | "" | ||
cl_run_on_join | Command to run when joining a server | "" | ||
cl_menu_map | Background map in the menu | "auto" | ||
cl_rotation_radius | Menu camera rotation radius | 30 | 1 | 500 |
cl_rotation_speed | Menu camera rotations in seconds | 40 | 1 | 120 |
cl_camera_speed | Menu camera speed | 5 | 1 | 40 |
cl_background_show_tiles_layers | Whether draw tiles layers when using custom background (entities) | 0 | 0 | 1 |
cl_unpredicted_shadow | Show unpredicted shadow tee (0 = off, 1 = on, -1 = don't even show in debug mode) | 0 | -1 | 1 |
cl_predict_ddrace | Predict DDRace tiles and tunezones | 1 | 0 | 1 |
cl_predict_freeze | Predict freeze tiles (0 = off, 1 = on, 2 = partial (allow a small amount of movement in freeze) | 1 | 0 | 2 |
cl_show_ninja | Show ninja skin | 1 | 0 | 1 |
cl_show_hook_coll_other | Show other players' hook collision line (2 to always show) | 1 | 0 | 2 |
cl_show_hook_coll_own | Show own players' hook collision line (2 to always show) | 1 | 0 | 2 |
cl_hook_coll_size | Size of hook collision line | 0 | 0 | 20 |
cl_hook_coll_color_no_coll | Specifies the color of a hookline that hits nothing. | 65407 | ||
cl_hook_coll_color_hookable_coll | Specifies the color of a hookline that hits hookable tiles. | 6401973 | ||
cl_hook_coll_color_tee_coll | Specifies the color of a hookline that hits tees. | 2817919 | ||
cl_chat_teamcolors | Show names in chat in team colors | 0 | 0 | 1 |
cl_chat_reset | Reset chat when pressing escape | 1 | 0 | 1 |
cl_chat_old | Old chat style: No tee, no background | 0 | 0 | 1 |
cl_show_direction | Show key presses (1 = other players', 2 = also your own) | 1 | 0 | 2 |
cl_http_map_download | Try fast HTTP map download first | 1 | 0 | 1 |
cl_old_gun_position | Tees hold gun a bit higher like in TW 0.6.1 and older | 0 | 0 | 1 |
cl_confirm_disconnect_time | Confirmation popup before disconnecting after game time (in minutes, -1 to turn off, 0 to always turn on) | 20 | -1 | 1440 |
cl_confirm_quit_time | Confirmation popup before quitting after game time (in minutes, -1 to turn off, 0 to always turn on) | 20 | -1 | 1440 |
cl_timeout_code | Timeout code to use | "" | ||
cl_dummy_timeout_code | Dummy Timeout code to use | "" | ||
cl_timeout_seed | Timeout seed | "" | ||
cl_input_fifo | Fifo file to use as input for client console | "" | ||
cl_show_console | Show console window (Windows only) | 0 | 0 | 1 |
inp_joystick | Try to use a joystick as input | 0 | 0 | 1 |
cl_config_version | The config version. Helps newer clients fix bugs with older configs. | 0 | 0 | 0 |
cl_demo_slice_begin | Begin marker for demo slice | -1 | 0 | 0 |
cl_demo_slice_end | End marker for demo slice | -1 | 0 | 0 |
cl_demo_show_speed | Show speed meter on change | 0 | 0 | 1 |
cl_demo_keyboard_shortcuts | Enable keyboard shortcuts in demo player | 1 | 0 | 1 |
gfx_gl_major | Graphic library major version | 1 | 1 | 10 |
gfx_gl_minor | Graphic library minor version | 0 | 0 | 10 |
gfx_gl_patch | Graphic library patch version | 0 | 0 | 10 |
gfx_gl_texture_lod_bias | The lod bias for graphic library texture sampling multiplied by 1000 | -500 | -15000 | 15000 |
gfx_3d_texture_analysis_done | Analyzed, if sampling 3D/2D array textures was correct | 0 | 0 | 1 |
gfx_3d_texture_analysis_renderer | The renderer on which the analysis was performed | "" | ||
gfx_3d_texture_analysis_version | The version on which the analysis was performed | "" | ||
gfx_gpu_name | The GPU's name, which will be selected by the backend. (if supported by the backend) | "auto" | ||
gfx_backend | The backend to use (e.g. OpenGL or Vulkan) | "OpenGL" | ||
gfx_render_thread_count | Number of threads the backend can use for rendering. (note: the value can be ignored by the backend) | 3 | 0 | 0 |
gfx_driver_is_blocked | If 1, the current driver is in a blocked error state. | 0 | 0 | 1 |
gfx_enable_texture_unit_optimization | Use multiple texture units, instead of only one. | 0 | 0 | 1 |
gfx_use_preinitialized_buffer | Use only one buffer for data, that is uploaded to the GPU(might help when using an iGPUs). | 0 | 0 | 1 |
cl_video_recorder_fps | At which FPS the videorecorder should record demos. | 60 | 1 | 1000 |
客户端指令
指令 | 参数 | 说明 |
---|---|---|
exec | r[文件名称] | 运行特定的设置文件 |
toggle | s[设置项] i[数值1] i[数值2] | 按下按键时切换设置项的参数值 |
+toggle | s[设置项] i[数值1 i[数值2] | 按住按键时切换设置项的参数值 |
toggle_local_console | 切换本地控制台 | |
toggle_remote_console | 切换远程控制台 | |
clear_local_console | 清理本地控制台 | |
clear_remote_console | 清理远程控制台 | |
dump_local_console | 输出本地控制台 | |
dump_remote_console | 输出远程控制台 | |
console_page_up | 切换到控制台的上一页 | |
console_page_down | 切换到控制台的下一页 | |
callvote | s[玩家名称] s[执行指令] ?r[原因] | 发起特定投票 |
vote | 'no'] | 投赞成票/反对票 |
+emote | 打开表情界面 | |
emote | i[表情ID] | 使用表情 |
+spectate | 打开观察模式界面 | |
spectate | i[观察者ID] | 开启或关闭观察模式 |
spectate_next | 观察下一个玩家 | |
spectate_previous | 观察上一个玩家 | |
spectate_closest | 观察距离最近的玩家 | |
zoom+ | 扩大视野 | |
zoom- | 缩小视野 | |
zoom | ?i | 指定视野大小 |
set_view | i[x]i[y] | 在地图特定坐标处设置镜头 |
say | r[message] | 在公开频道内对话 |
say_team | r[message] | 在队伍频道内对话 |
chat | 'all'] ?r[信息] | 启用队伍频道/公开频道进行对话 |
+show_chat | 打开聊天框 | |
echo | r[信息] | 在聊天框内重复该信息 |
+left | 向左移动 | |
+right | 向右移动 | |
+jump | 跳跃 | |
+hook | 释放钩索 | |
+fire | 开火 | |
+showhookcoll | 开启钩索辅助线 | |
+weapon1 | 切换武器至锤子 | |
+weapon2 | 切换武器至手枪 | |
+weapon3 | 切换武器至霰弹枪 | |
+weapon4 | 切换武器至榴弹发射器 | |
+weapon5 | 切换武器至激光枪 | |
+nextweapon | 切换到下一武器 | |
+prevweapon | 切换到上一武器 | |
add_foe | s[名称] ?s[战队] | 添加黑名单 |
remove_foe | s[名称] ?s[战队] | 移除黑名单 |
foes | 黑名单列表 | |
add_friend | s[名称] ?s[战队] | 添加好友 |
remove_friend | s[名称] ?s[战队] | 移除好友 |
friends | 好友列表 | |
team | i[队伍ID] | 切换队伍 |
kill | 自杀并重生至地图出生点 | |
tune_zone | i[区域编号] s[调整项] i[数值] | 调整某一区域的某一调整项到某一数值 |
dummy_connect | 开启分身 | |
dummy_disconnect | 断开分身 | |
dummy_reset | 重置分身 | |
quit | 退出游戏 | |
exit | 退出游戏 | |
minimize | 最小化游戏窗口 | |
connect | ip] | 连接至特定主机/ip |
disconnect | 与当前服务器断开连接 | |
ping | 展示当前服务器的ping值 | |
screenshot | 截屏 | |
reset | s[设置项] | 将某一设置恢复至默认值 |
start_video | 开始录制回放 | |
stop_video | 停止录制回放 | |
rcon | r[管理员指令] | 执行管理员指令 |
rcon_auth | r[密码] | 登录管理员账户 |
rcon_login | s[用户名] r[密码] | 使用用户名登录管理员账户 |
play | r[文件] | 播放指定文件 |
record | ?r[文件] | 开始记录指定文件 |
stoprecord | 停止记录文件 | |
add_demomarker | 在回放中添加时间轴标记 | |
add_favorite | ip] ?s['允许的ping值'] | 收藏服务器 |
remove_favorite | ip] | 移除收藏的服务器 |
demo_slice_start | ||
demo_slice_end | ||
demo_play | 播放回放 | |
demo_speed | i[速度值] | 设置回放速度 |
save_replay | ?i[时长] ?s[文件名] | Save a replay of the last defined amount of seconds |
benchmark_quit | i[seconds] r[file] | Benchmark frame times for number of seconds to file, then quit |
调整参数
参数名称 | 说明 | 默认值 |
---|---|---|
ground_control_speed | 平地移动时可以获得的最大速度 | 10.0 |
ground_control_accel | 平地移动时的加速度 | 2.0 |
ground_friction | 地面的摩擦系数 | 0.5 |
ground_jump_impulse | 进行平地跳跃时获得的冲量 | 13.2 |
air_jump_impulse | 进行空中跳跃时获得的冲量 | 12.0 |
air_control_speed | 空中移动时可以获得的最大速度 | 5.0 |
air_control_accel | 空中移动时的加速度 | 1.5 |
air_friction | 空中的摩擦系数 | 0.95 |
hook_length | 钩索的最大长度 | 380.0 |
hook_fire_speed | 钩索的释放速度 | 80.0 |
hook_drag_accel | 钩索勾住墙体或实体后可提供的加速度 | 3.0 |
hook_drag_speed | 钩索拖拽的速度 | 15.0 |
gravity | 重力系数 | 0.5 |
velramp_start | 速度斜线的起点 | 550 |
velramp_range | 速度斜线的范围 | 2000 |
velramp_curvature | 速度斜线的曲率 | 1.4 |
gun_curvature | 手枪子弹轨迹的曲率 | 1.25 |
gun_speed | 手枪子弹的速度 | 2200.0 |
gun_lifetime | 手枪子弹的持续时间(即未击中任何实体时所能在空中存留的最长时间) | 2.0 |
shotgun_curvature | 霰弹枪子弹轨迹的曲率 | 1.25 |
shotgun_speed | 霰弹枪子弹的速度 | 2750.0 |
shotgun_speeddiff | (已弃用)霰弹枪子弹之间的速度差异 | 0.8 |
shotgun_lifetime | (已弃用)霰弹枪子弹的持续时间 | 0.20 |
grenade_curvature | 榴弹轨迹的曲率 | 7.0 |
grenade_speed | 榴弹的速度 | 1000.0 |
grenade_lifetime | 榴弹的持续时间 | 2.0 |
laser_reach | 激光能达到的最远距离 | 800.0 |
laser_bounce_delay | 激光反射一次所需的时间 | 150 |
laser_bounce_num | 一束激光可以反射的最大次数 | 1000 |
laser_bounce_cost | 当激光进行一次反射时损失的距离 | 0 |
laser_damage | (已弃用)激光伤害 | 5 |
player_collision | 启用玩家之间的碰撞 | 1 |
player_hooking | 启用玩家之间的钩索交互 | 1 |
jetpack_strength | 喷漆背包的力度 | 400.0 |
shotgun_strength | 霰弹枪激光的拖拽力度 | 10.0 |
explosion_strength | 爆炸力度(例如榴弹的爆炸) | 6.0 |
hammer_strength | 锤击力度 | 1.0 |
hook_duration | 钩索最长持续时间 | 1.25 |
hammer_fire_delay | 锤击间隔(未击中任何实体时) | 125 |
gun_fire_delay | 手枪发射间隔 | 125 |
shotgun_fire_delay | 霰弹枪发射间隔 | 500 |
grenade_fire_delay | 榴弹发射器发射间隔 | 500 |
laser_fire_delay | 激光枪发射间隔 | 800 |
ninja_fire_delay | 武士刀使用间隔 | 800 |
hammer_hit_fire_delay | 锤击间隔(击中其他实体时) | 320 |