Skip to content

Command Reference

In: Reference · Related: Permission Nodes · Troubleshooting · Back: Home

Root command: /qr, alias /qruins. The table below is the complete command tree, verified line by line against the source QinhRuinsCommands.kt.

Commands fall into two groups: player commands (permission qinhruins.use, granted to everyone by default) and admin commands (permission qinhruins.admin, OP-only by default, and automatically including use). Permission group setup is in Permission Nodes.

Convention: <required>, [optional]. Most commands must be run in-game by a player (they involve location / inventory); pure query commands also work from the console.


Player commands (qinhruins.use)

CommandPermissionEffect
/qrOpen the help menu (no permission required)
/qr helpSame as above, the help menu
/qr versionqinhruins.useShow the QR version number
/qr listqinhruins.useList all templates (with generation mode) and all current anchors (coordinates + status)
/qr near [radius]qinhruins.useList nearby ruin anchors (by distance); radius in blocks, default 200
/qr activateqinhruins.useActivate the ruin under / near you as a realm (search radius realm.activate-radius, default 48). Requires holding a keystone or meeting the activation condition
/qr codexqinhruins.useOpen the codex GUI (a collection album of strategy cards for discovered ruins)
/qr rerollqinhruins.useSpend currency to reroll the affixes on the keystone in hand (requires realm.reroll.enabled: true)
/qr rewardqinhruins.useOpen the cleanse reward slot machine of the most recent realm (claim personal exclusive loot)

Party (qinhruins.use)

CommandEffect
/qr party createCreate a built-in party (you become the leader)
/qr party invite <player>Invite an online player to join the party
/qr party acceptAccept the most recent party invitation
/qr party leaveLeave the current party
/qr party infoView the party member list

For party gameplay (shared progress / rally radius), see Party & Session. If QinhClass / MMOCore is installed, parties can be taken over by them.

Guide (player side)

CommandPermissionEffect
/qr guide cancelqinhruins.useCancel the ongoing guidance and return the guide item. You can bind any key (e.g. K) on the client to this command

Guide items are granted by an item source (qinhruins:guide_<templateId>); QR ships no give command. See Guide & Codex.


Admin commands (qinhruins.admin)

Reload

CommandEffect
/qr reloadReload config.yml, languages, placement profiles, templates, blueprints, palettes, loot tables, affixes, tier / keystone / reroll config, and rebuild the anchor / chest / core / mechanism registries and all scheduled tasks

Selection and saving (turn a build into a ruin)

CommandParametersEffect
/qr pos1Set the block your crosshair is aimed at (within 100 blocks) as the first corner of the selection
/qr pos2Set the second corner of the selection
/qr save <id>id=new template idSave the pos1~pos2 selection as template templates/<id>/ (with structure file and blueprint skeleton)
/qr import <file> <id>file=a .schem file name under schematics/; id=new template idImport a WorldEdit .schem and convert it to a .nbt template

See Selection & Saving · Structure Files.

Generation and placement

CommandParametersEffect
/qr spawn <template>template=template idImmediately place a ruin of that template under your feet (creates one anchor)
/qr gentestTrigger one director debug generation around you (about 25 blocks) and report a generation summary
/qr why <template>template=template idDiagnose "why this template does / does not generate here": list, item by item, the pass status of placement conditions such as dimension / biome / flatness / spacing
/qr scatter <radius> <count>radius 100~20000; count 1~200Pre-generate (scatter) up to count ruins within the radius, for initial map seeding

See Natural Generation & Preloading.

Preview staging (stage)

Before placing, preview the structure body in place with ghost blocks (visible only to you, no world changes). See Selection & Saving.

CommandParametersEffect
/qr stage start <template>template=template idStart previewing the template under your feet
/qr stage hereMove the preview to your current position
/qr stage move <dx> <dy> <dz>three integer offsetsNudge the preview position by an offset
/qr stage rotateRotate the preview by 90°
/qr stage confirmConfirm placement (commit as a real structure)
/qr stage cancelCancel the preview

Each stage subcommand inherits the qinhruins.admin permission from its stage parent node in the source.

Anchor management

CommandParametersEffect
/qr tp <anchor>anchor=anchor idTeleport to the specified anchor
/qr remove <anchor>anchor=anchor idRecycle the anchor (restore terrain if a snapshot exists, freeing a density slot)
/qr markers <anchor>anchor=anchor idScan the marker blocks inside that anchor's structure (spawn points / chests / cores / commands), write them back to the blueprint, and recapture the structure
/qr info [anchor]omitted=global status; with anchor shows a single ruin's detailsNo argument: an overview of template / anchor / session / tracker counts. With anchor: template, coordinates, status, session busy/idle, blueprint spawn points / chests / stage count, objective progress

For marker blocks, see Structure Files.

Guide (admin side)

CommandParametersEffect
/qr guide clear <player>player=player nameForce-clear a player's guidance state (no item refund)

Realm / affixes / procedural

CommandParametersEffect
/qr keystone give <tier> [player]tier 1~realm.tiers.max; player omitted=yourselfGrant a keystone of the specified tier
/qr genstruct <palette> [dry|seed]palette=palette id; dry=plan only, no placement; or an integer used as the random seedProcedurally assemble a large ruin from a palette (dry only prints the assembly plan)

See Realms & Keystones · Affix System · Procedural Generation.

Visual editor (editor)

Stand in the world to box-select, mark points, configure mechanisms, and save a template in one shot, never touching YAML. See Visual Editor.

CommandParametersEffect
/qr editor start <template>template=template idEnter an editing session, bound to that template
/qr editor mode <spawn|chest|core>one of the three modesSwitch the marking mode: spawn point / chest / core
/qr editor set <field> <value>field=mob/count/stage/loot/unlock; valueSet a field on the current marked point
/qr editor mech <args>mechanism parameters (greedy string)Edit a mechanism; for parameters see Mechanism Editing
/qr editor listList the points marked in the current session
/qr editor remove <id>id=marked-point idRemove a marked point
/qr editor saveSave the editing session to the template
/qr editor cancelCancel the editing session

Each editor subcommand inherits the qinhruins.admin permission from its editor parent node.

Diagnostics / performance

CommandParametersEffect
/qr profile [reset]omitted=view; reset=clearView / reset the performance profiler (call count, average / max / total time per stage)

For troubleshooting usage, see Troubleshooting.

Content packs (download / install)

Bundle ruin templates / generators / palettes / loot / blueprints / affixes into a single .zip, then download and install it in one command — no more hand-dragging files.

CommandParametersEffect
/qr catalogList the content-pack catalog (the YAML at config.ymlcontent.catalog-url, default points to the official catalog)
/qr download <packId>packId=an id from the catalogDownload and install that content pack in one command
/qr packsList the content packs installed on this server

When a content-pack .zip is extracted, its top-level folders map to QR data folders by whitelist: templates/ generators/ palettes/ loottables/ blueprints/ sections/ lang/ affixes.yml; an optional pack.yml at the zip root declares id / name / version. Run /qr reload after installing.


What the help menu includes

The entries printed by /qr help (from cmd.help-* in the language file commands.yml) cover: help / list / near / activate / reroll / reward / party (player section), and pos / save / import / spawn / why / stage / genstruct / editor / markers / guide / tp / remove / info / profile / catalog / download / packs / reload (admin section).


Next