Commands
The command is /craftgpt, shortened to /cg. Subcommands aren’t case-sensitive. /cg on its own lists them; /cg help lists the ones you’re allowed to use. Without the permission you get “You do not have permission to do that!”
Most commands are for players in game; from the console you’ll get “Cannot use /craftgpt as console!” These also work from the console: /cg help, /cg reload, /cg usage plugins, every /cg admin … command, and /cg consolecreate (console only).
For everyone
| Command |
What it does |
Permission |
/cg help |
Lists the commands you can use |
craftgpt.help (everyone) |
/cg stop |
Ends your current chat |
craftgpt.stop (everyone) |
/cg usage |
Your usage meter |
craftgpt.usage (everyone) |
Chatting itself (sneak + left-click a mob) needs no permission.
Creating and editing AI mobs
| Command |
What it does |
Permission |
/cg wand |
Gives you the Magic Wand; left-click mobs to select them |
craftgpt.wand |
/cg create |
Turns the selected mob into an AI mob |
craftgpt.create |
/cg remove |
Turns the AI off and deletes its record and memory |
craftgpt.remove |
/cg name <text> |
Stages a name (before create) |
craftgpt.name |
/cg backstory <text> |
Stages a personality (before create; not with a raw prompt) |
craftgpt.backstory |
/cg rawprompt <text> |
Stages a full system prompt (before create; not with a backstory) |
craftgpt.rawprompt |
/cg displayname <text> |
Sets the selected mob’s name tag now (not players or Citizens NPCs) |
craftgpt.displayname |
/cg prefix <text> |
Sets the chat prefix (%NAME% = its name) |
craftgpt.prefix |
/cg visibility <normal|private|world|global> |
Sets who sees its chats |
craftgpt.visibility |
/cg auto-chat |
Toggles its auto-chat flag |
craftgpt.auto-chat |
/cg model [<profile>|clear] |
Shows, sets or clears the mob’s AI provider override |
craftgpt.model |
/cg prompt show [page] |
Shows its prompt |
craftgpt.prompt |
/cg prompt set <text> [--clear-history] |
Replaces its prompt |
craftgpt.prompt |
/cg prompt append <text> [--clear-history] |
Adds to its prompt |
craftgpt.prompt |
/cg prompt tobook |
Puts its prompt in a book |
craftgpt.prompt |
/cg prompt frombook [backstory] [--clear-history] |
Reads a prompt (or backstory) from the book in your hand |
craftgpt.prompt |
/cg prompt edit |
Opens the editor screen (Paper 1.21.7+) |
craftgpt.prompt |
/cg info |
Shows the selected mob’s name and prompt or backstory |
craftgpt.info |
/cg dryrun |
Previews what you’ve staged |
craftgpt.dryrun |
/cg clearMobBuilder |
Clears what you’ve staged |
craftgpt.clear |
/cg consolecreate <uuid> [rawprompt] |
Console only. Creates an AI mob by entity ID, with auto-chat on |
none |
Finding mobs
| Command |
What it does |
Permission |
/cg locate |
Makes the selected or chatting mob glow for 10 seconds |
craftgpt.locate |
/cg tphere |
Teleports that mob to you |
craftgpt.tphere |
/cg tpto |
Teleports you to it |
craftgpt.tpto |
Server admin
| Command |
What it does |
Permission |
/cg reload |
Re-reads config.yml (console too). If there are problems, it shows them and keeps the old config |
craftgpt.reload |
/cg save |
Saves data to the database now (in game only) |
craftgpt.save |
/cg debug |
Toggles your debug mode: reaction rolls and tool calls on your action bar |
craftgpt.debug |
/cg clearUsageFile |
Wipes all usage records |
craftgpt.clear-usage |
/cg usage plugins [page] |
Usage by other plugins, 10 per page (console too) |
craftgpt.admin |
/cg admin status |
Providers, queue, cache and database counts (console too; never shows keys) |
craftgpt.admin |
/cg admin vacuum |
Compacts the database file |
craftgpt.admin |
/cg admin orphans [--purge] |
Finds (or with --purge, deletes) records for mobs that no longer exist |
craftgpt.admin |
/cg admin migrate --dry-run |
Previews a 0.3.x import without writing |
craftgpt.admin |