Command Tool
Search commands, copy them, or run them straight from the web
Command output appears in game only — never on this page
Verify your identity
- 1In the game chat box, type
/webcode - 2A private message shows a 6-digit code and your player ID (visible only to you)
- 3Enter both below. Once verified, you stay signed in for 7 days
Only enter this code on this page, which you opened yourself. Anyone asking you for it is scamming you.
The code is valid for 5 minutes and single-use. Requests have a 30-second cooldown, and the code is voided after 5 failed attempts. You must be online in game to run commands.
Common commands
Crash rescue
Try these first when opening a screen crashes the game
Resources
By far the most-used commands — over half of all executions
Statues
Second most-used. Common presets below; use the catalog to customise.
Task Force
Unlock all
Account & base
Query results appear in game only
Battle
Available commands
Parameter notation
Player: 18 ID · #2PP tag (must include #) · [23,19,25] multiple IDs · "Alice" name (double quotes; matches every player with that name)
Data: when the type is fixed use [Tank] data name · <中文名> · 4 instance ID · 4000001 global ID. When it is not (e.g. /place) use TRAP:Mine · buildings[HQ] · 3000001 global ID — bare instance IDs are not allowed there
Crash rescue5
Try these first if the game crashes when opening a screen
/log attack clear进攻日志闪退时清空进攻日志
/log activity clear活动日志闪退时清空活动日志
/map deepsea reset点潜水艇闪退时重置潜水艇
/cleararts <player>神庙闪退时清除神像,需要管理员执行
/clearshields <player>护盾闪退时清除护盾发生器,需要管理员执行
Resources & account16
/resource <resource> <数量>给予指定资源
Aliases
/res/resource fill给予大部分常用资源
/resource proto给予原型模块
/resource artifact给予神庙物品
/resource magic给予魔法物品
/resource clearIrreversible清空全部资源
/experience <等级> [<剩余经验>]设置经验等级
Aliases
/xp/research <大本等级>把科技升到指定大本等级,不含英雄技能
/rename <新名字>Major change修改玩家名字
/upgradeMajor changeHome only把所有建筑升到满级,仅主基地可用
/clearlevelIrreversible把兵种、战舰能力、陷阱全部降到 1 级
/easyMajor change把自己的基地设成全满基地
/tsarbombaIrreversible清空自己的基地
/startinghomeIrreversible重置为初始基地
/clearobstacles移除岛上所有障碍物
/unboostHome only让所有神像加成立即过期
Troops & base32
/setboat <艇号> <character> <数量>设置登陆艇兵种,艇号 0-7,例如 /setboat 0 [Rifleman] 50
/setboat fix_posHome only修正部队存储位置异常
/troopcount <数量>修改每艘登陆艇的部队数量
/cleartroopsMajor change清空所有登陆艇
/bunker <序号> set <character> <数量>设置地堡部队
/bunker <序号> clear清空指定地堡
/layout [<layout>]Major change修改自己岛屿的地图类型;不带参数则在游戏内列出全部可选值
/blockingmask <island|warship> <掩码>Major change螃蟹 / 母舰基地分区开关,17 位掩码,0 全开、131071 全关
/place <X> <Y> <全局ID> [<等级>]Major change放置建筑 / 陷阱 / 障碍物。历史上出现过引起闪退并污染存档的情况,谨慎使用
/getstatue <神像> <加成类型> <百分比>Home only给予神像。百分比超过 1000 服务端会额外提示「过强」;取值取自 CSV,见下拉
Aliases
/statue/gbe一键给出当前版本战舰能量最高的神像组合,省得自己一个个试。
/mutate <变异JSON>Major change变异自己的主基地,可传数组按顺序执行
/revivecrab重置超级螃蟹当前阶段的破坏进度
/deco fill给予全部装饰物
/deco coc给予部落冲突联动装饰物
/deco clearMajor change清空装饰物
/skin fill给予全部皮肤
/skin clearMajor change清空皮肤
/officer fill给予全部小队长
/officer clearMajor change清空小队长
/prototroop fill给予全部原型部队
/prototroop clearMajor change清空原型部队
/material fill给予全部建筑装置
Aliases
/gadget/material listQuery列出建筑装置
/material add <matData> <statData>添加指定建筑装置
/material clearMajor change清空建筑装置
/engraving level <雕刻> <值>设置雕刻等级
/engraving quality <雕刻> <值>设置雕刻品质
/engraving select <雕刻>选中指定雕刻
/engraving fill全部雕刻升至满级满品质
/engraving clearIrreversible降级全部雕刻并清空品质
/training clearMajor change重置训练场记录
Map / Task force / Warship29
/map clearIrreversible重置地图探索进度
/map fill填充地图
/map npc <格号>在指定格子放置 NPC
/map player <格号> <player>在指定格子放置玩家岛屿
/map free <格号>Major change解放指定格子的岛屿。别用于 boss 基地、自己的基地、超级螃蟹
/map info <格号>Query查看格子信息
/map deepsea <格号>潜水点调试
/map deepsea fill加满潜水点
/coop intel <数量>设置情报数量
/coop listQuery列出当前特遣队任务序号
/coop clearMajor change结束当前特遣队任务
/coop revive <序号>复活任务基地
/coop bb <序号> <名字>把指定任务改为基地编辑器里的地图
/coop rename <序号> <名字>重命名任务基地
/coop xp <序号> <等级>设置任务基地等级
/coop mutate <序号> <变异>变异任务基地
/warship item fill补满战斗母舰物品
/warship item clear清空战斗母舰物品
/warship tech clearIrreversible重置战斗母舰科技树
/warship max_scoreQuery查询战斗母舰最高分
/sector listQuery列出部族加成
Aliases
/tribe/sector reset_supplies清空原始水晶兑换记录
/rule listQuery列出当前自定义规则
/rule spell [<spell>]打 NPC 时附加额外战舰能力。只能生效一个,填多个取最后一个
/rule bonus <加成> <千分比> [<过滤器>]打 NPC 时附加部族加成。同类只有第一个生效,单位为千分之一,可为负
/rule remove <序号>移除一条规则
/rule clear清空全部规则
/supplychest reset重置补给箱
/trader reset重置商人。商人不同步时可以试试
Attack / Scout / Replay17
/attackplayer [<player>]进攻某玩家的岛屿,留空则打自己
Aliases
/attackp/atkp/visitplayer [<player>]侦察某玩家的岛屿,留空则看自己
Aliases
/visitp/scoutplayer/scoutp/attackwarship [<player>]进攻战斗母舰基地
Aliases
/attackw/atkw/visitwarship [<player>]侦察战斗母舰基地
Aliases
/visitw/scoutwarship/scoutw/atkpr随机挑一个已缓存的玩家来打
/replay [<回放ID>]播放回放;填 count 可查全服回放数量
/live <player>观看指定玩家的战斗直播,对方不在战斗中则失败
/homege <layout> <难度>用主基地生成器随机生成一个基地给你打
/homege2 <layout> <难度>同 /homege,但改为侦察
/attackbuilding <building>生成一个铺满同种建筑的基地给你打
Aliases
/atkbd/basebuilder <名字>进攻基地编辑器做的基地
Aliases
/bb/basebuilder2 <名字>侦察基地编辑器做的基地
Aliases
/bb2/defend读取服务端 defense_editor.xlsx,给你的基地布防
/newdef <难度>新版防御哈莫曼
/sandbox加载服务端 Gamefiles/level/sandbox.json 沙盒
/attacklevel <layout> <路径>进攻服务端指定 JSON 基地。路径是服务端本地路径,玩家基本用不上
Aliases
/atklvlNot offered as a button — use the advanced input below if you really need it
/visitlevel <layout> <路径>同 /attacklevel,但改为侦察
Aliases
/scoutlevelNot offered as a button — use the advanced input below if you really need it
Basics14
/webcode索取网页验证码。只能在游戏聊天框里打,网页上无法代劳
This one can only be typed in the game chat box
/help [<指令名>]Query列出全部指令用法,或某一条指令的用法
/meQuery查看当前账号信息
Aliases
/whoami/test回一句 hello, world!,用来确认通道是否正常
/olpQuery全服在线玩家列表
/say <文本>发一条全服聊天,等价于直接说话
Aliases
/broadcast/msg <player> <文本>私聊指定玩家
Aliases
/tell/w/findacc [<player>]账号找回流程
Aliases
/findaccount/bebean介绍本服机器人 Bebean
Aliases
/Bebean/bot/robot/utc介绍 UTC 时间
Aliases
/UTC/log activity <summary|invade|deepsea|event|enemy>按类型查看活动日志
/log notice <clear|custom|gem|chest>通知日志:清空或插入一条测试通知
/log notice <resource> <数量>插入一条资源变动通知
/log warship clear清空战斗母舰日志
Debug24
Mostly queries — results appear in game only
Admin25
Requires admin. Regular players get a failure — the same code as a typo, indistinguishable.
Advanced
In game a lone / repeats the last command; the web cannot do that — use the recent list below instead
Command library
Paste the copied command into the game chat box; once verified and online you can hit Run instead
Similar commands are folded into one row — pick the target from the dropdown
Showing 40 of 326
Resource
50 items/resource 0 9999999Troop
151 items/setboat 1 4000000 1Building
149 items/place 1 1 1000000 1Decoration
9 items/place 1 1 8000000Trophy
263 items/place 0 0 18000000Warship ability
34 items/spell add 0Not registered on the server — copy it into the game instead
Engraving level
24 items/engraving level 0 0Engraving quality
24 items/engraving quality 0 0Base layout
12 items/layout playerbaseStatue
7 items/getstatue 46 8 999进攻日志闪退时清空进攻日志
/log attack clear活动日志闪退时清空活动日志
/log activity clear点潜水艇闪退时重置潜水艇
/map deepsea reset神庙闪退时清除神像,需要管理员执行
/cleararts <player>护盾闪退时清除护盾发生器,需要管理员执行
/clearshields <player>索取网页验证码。只能在游戏聊天框里打,网页上无法代劳
/webcodeNot registered on the server — copy it into the game instead
列出全部指令用法,或某一条指令的用法
/help查看当前账号信息
/me回一句 hello, world!,用来确认通道是否正常
/test全服在线玩家列表
/olp发一条全服聊天,等价于直接说话
/say <文本>私聊指定玩家
/msg <player> <文本>账号找回流程
/findacc介绍本服机器人 Bebean
/bebean介绍 UTC 时间
/utc按类型查看活动日志
/log activity <summary|invade|deepsea|event|enemy>通知日志:清空或插入一条测试通知
/log notice <clear|custom|gem|chest>插入一条资源变动通知
/log notice <resource> <数量>清空战斗母舰日志
/log warship clear进攻某玩家的岛屿,留空则打自己
/attackplayer侦察某玩家的岛屿,留空则看自己
/visitplayer进攻战斗母舰基地
/attackwarship侦察战斗母舰基地
/visitwarship随机挑一个已缓存的玩家来打
/atkpr播放回放;填 count 可查全服回放数量
/replay观看指定玩家的战斗直播,对方不在战斗中则失败
/live <player>用主基地生成器随机生成一个基地给你打
/homege <layout> <难度>同 /homege,但改为侦察
/homege2 <layout> <难度>生成一个铺满同种建筑的基地给你打
/attackbuilding <building>进攻基地编辑器做的基地
/basebuilder <名字>
Mega Crab deck calculator

This channel does exactly what typing the command in the game chat box does — it grants no extra privileges. Admin commands are still gated by your account's own admin flag, so a regular player running one here is rejected the same way it would be in game.