HorsebeanHorsebean

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

  1. 1In the game chat box, type /webcode
  2. 2A private message shows a 6-digit code and your player ID (visible only to you)
  3. 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 rescue
5

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 & account
16

  • /resource <resource> <数量>

    给予指定资源

    Aliases/res

  • /resource fill

    给予大部分常用资源

  • /resource proto

    给予原型模块

  • /resource artifact

    给予神庙物品

  • /resource magic

    给予魔法物品

  • /resource clear
    Irreversible

    清空全部资源

  • /experience <等级> [<剩余经验>]

    设置经验等级

    Aliases/xp

  • /research <大本等级>

    把科技升到指定大本等级,不含英雄技能

  • /rename <新名字>
    Major change

    修改玩家名字

  • /upgrade
    Major change
    Home only

    把所有建筑升到满级,仅主基地可用

  • /clearlevel
    Irreversible

    把兵种、战舰能力、陷阱全部降到 1 级

  • /easy
    Major change

    把自己的基地设成全满基地

  • /tsarbomba
    Irreversible

    清空自己的基地

  • /startinghome
    Irreversible

    重置为初始基地

  • /clearobstacles

    移除岛上所有障碍物

  • /unboost
    Home only

    让所有神像加成立即过期

Troops & base
32

  • /setboat <艇号> <character> <数量>

    设置登陆艇兵种,艇号 0-7,例如 /setboat 0 [Rifleman] 50

  • /setboat fix_pos
    Home only

    修正部队存储位置异常

  • /troopcount <数量>

    修改每艘登陆艇的部队数量

  • /cleartroops
    Major 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 clear
    Major change

    清空装饰物

  • /skin fill

    给予全部皮肤

  • /skin clear
    Major change

    清空皮肤

  • /officer fill

    给予全部小队长

  • /officer clear
    Major change

    清空小队长

  • /prototroop fill

    给予全部原型部队

  • /prototroop clear
    Major change

    清空原型部队

  • /material fill

    给予全部建筑装置

    Aliases/gadget

  • /material list
    Query

    列出建筑装置

  • /material add <matData> <statData>

    添加指定建筑装置

  • /material clear
    Major change

    清空建筑装置

  • /engraving level <雕刻> <值>

    设置雕刻等级

  • /engraving quality <雕刻> <值>

    设置雕刻品质

  • /engraving select <雕刻>

    选中指定雕刻

  • /engraving fill

    全部雕刻升至满级满品质

  • /engraving clear
    Irreversible

    降级全部雕刻并清空品质

  • /training clear
    Major change

    重置训练场记录

Map / Task force / Warship
29

  • /map clear
    Irreversible

    重置地图探索进度

  • /map fill

    填充地图

  • /map npc <格号>

    在指定格子放置 NPC

  • /map player <格号> <player>

    在指定格子放置玩家岛屿

  • /map free <格号>
    Major change

    解放指定格子的岛屿。别用于 boss 基地、自己的基地、超级螃蟹

  • /map info <格号>
    Query

    查看格子信息

  • /map deepsea <格号>

    潜水点调试

  • /map deepsea fill

    加满潜水点

  • /coop intel <数量>

    设置情报数量

  • /coop list
    Query

    列出当前特遣队任务序号

  • /coop clear
    Major change

    结束当前特遣队任务

  • /coop revive <序号>

    复活任务基地

  • /coop bb <序号> <名字>

    把指定任务改为基地编辑器里的地图

  • /coop rename <序号> <名字>

    重命名任务基地

  • /coop xp <序号> <等级>

    设置任务基地等级

  • /coop mutate <序号> <变异>

    变异任务基地

  • /warship item fill

    补满战斗母舰物品

  • /warship item clear

    清空战斗母舰物品

  • /warship tech clear
    Irreversible

    重置战斗母舰科技树

  • /warship max_score
    Query

    查询战斗母舰最高分

  • /sector list
    Query

    列出部族加成

    Aliases/tribe

  • /sector reset_supplies

    清空原始水晶兑换记录

  • /rule list
    Query

    列出当前自定义规则

  • /rule spell [<spell>]

    打 NPC 时附加额外战舰能力。只能生效一个,填多个取最后一个

  • /rule bonus <加成> <千分比> [<过滤器>]

    打 NPC 时附加部族加成。同类只有第一个生效,单位为千分之一,可为负

  • /rule remove <序号>

    移除一条规则

  • /rule clear

    清空全部规则

  • /supplychest reset

    重置补给箱

  • /trader reset

    重置商人。商人不同步时可以试试

Attack / Scout / Replay
17

  • /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/atklvl

    Not offered as a button — use the advanced input below if you really need it

  • /visitlevel <layout> <路径>

    同 /attacklevel,但改为侦察

    Aliases/scoutlevel

    Not offered as a button — use the advanced input below if you really need it

Basics
14

  • /webcode

    索取网页验证码。只能在游戏聊天框里打,网页上无法代劳

    This one can only be typed in the game chat box

  • /help [<指令名>]
    Query

    列出全部指令用法,或某一条指令的用法

  • /me
    Query

    查看当前账号信息

    Aliases/whoami

  • /test

    回一句 hello, world!,用来确认通道是否正常

  • /olp
    Query

    全服在线玩家列表

  • /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

    清空战斗母舰日志

Debug
24

Mostly queries — results appear in game only

Admin
25

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

Verify to run commands here
  • Resource

    50 items
    /resource 0 9999999
  • Troop

    151 items
    /setboat 1 4000000 1
  • Building

    149 items
    /place 1 1 1000000 1
  • Decoration

    9 items
    /place 1 1 8000000
  • Trophy

    263 items
    /place 0 0 18000000
  • Warship ability

    34 items
    /spell add 0

    Not registered on the server — copy it into the game instead

  • Engraving level

    24 items
    /engraving level 0 0
  • Engraving quality

    24 items
    /engraving quality 0 0
  • Base layout

    12 items
    /layout playerbase
  • Statue

    7 items
    /getstatue 46 8 999
  • 进攻日志闪退时清空进攻日志

    /log attack clear
  • 活动日志闪退时清空活动日志

    /log activity clear
  • 点潜水艇闪退时重置潜水艇

    /map deepsea reset
  • 神庙闪退时清除神像,需要管理员执行

    /cleararts <player>
  • 护盾闪退时清除护盾发生器,需要管理员执行

    /clearshields <player>
  • 索取网页验证码。只能在游戏聊天框里打,网页上无法代劳

    /webcode

    Not 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.