Skip to content

Commands & Permissions

Lilly Tempest edited this page Nov 18, 2021 · 1 revision

Commands

SchemSaver numerous commands, but you will only need some when you use the text UIs

SchematicTemplate

The schematictemplate or schemtemp command is used to create, edit and manage templates

Creating a template
schemtemp create <name>

Editing a template
schemtemp edit <name> [-f]
Use the -f flag when you want to edit a registered template. Use with caution.

Removing a template
schemtemp remove <name>
You can only remove templates which are not bound to a namespace.

Schematicexport

The schematicexport or schemexp command is used to export, paste and manage schematics

Exporting
schemexp export <namepsace> [id] [-f]
Export a namespace. Make sure to stand on the correct position. Use the show command to verify your position is correct.
Add a id to save the schematic to a specific id after deletion.
Use the -f flag when you want to override existing schematics.

Deleting
schemexp delete <namespace> [id] [type] [variant]
Delete a namespace, id, type or variant.

Pasting
schemexp paste <namespace> [id] [-g <types|id>] [-r <row offset>] [-c <column offset>] [-m <multi offset>]
Paste a id from a namespace or the whole namespace. The plugin will always paste variants away from you and the types to the right.
Use the flags to modify how it will be pasted.

  • -g <types|id> types to paste types and variants together or id to paste ids together
  • -r <row offset> the row offset
  • -c <column offset> the column offset to the right
  • -m <multi offset> the multi offset when using id grouping

Namespace

The namespace subcommand allows you to manage your namespaces and registered templates.

Adding a namespace
schemexp namespace add <namespace> <template> A template can be bound to multiple namespaces.

Remove a namespace
schemexp namespace remove <namespace>

Show a namespace
schemexp namespace show <namespace> [duration] This shows you the boundaries of the template bound to the namespace.

Permissions

Permission Usage
schemsaver.schematictemplate.create Create templates
schemsaver.schematictemplate.edit Edit templates
schemsaver.schematictemplate.edit.override Edit linked templates
schemsaver.schematicexport.delete Delete exported schematics
schemsaver.schematicexport.delete.all All deletion actions
schemsaver.schematicexport.delete.namespace Deletion of a namespace
schemsaver.schematicexport.delete.id Deletion of an id in a namespace
schemsaver.schematicexport.delete.type Deletion of an type in an id in a namespace
schemsaver.schematicexport.delete.variant Allows deletion just variants
schemsaver.schematicexport.delete Delete exported schematics
schemsaver.schematicexport.export Export schematics
schemsaver.schematicexport.export.override Export schematics and override existings
schemsaver.schematicexport.namespace.add Adding a namespace
schemsaver.schematicexport.namespace.remove Remove a namespace
schemsaver.schematicexport.namespace.show Showing boundaries of a namespace

Clone this wiki locally