Command reference
Tag
Command words: tag
Permission: Admin
The tag command is used to create, view and manage tags.
Tags are used in numerous parts of the code to classify things and apply basic hierarchies. These hierarchies are best explained through an example.
Say you had a tag called Knife, and you wanted knives to be also Cutting Tools. The knife tag would be a child of the cutting tool tag, and would be represented as Cutting Tools / Knife.
In some places you might want to check directly for knives, but you could also check more generally for cutting tools, which might also pick up Cutting Tools / Saw.
Tags are used on items and crafts, but also other places in the code as well.
The syntax to use this command is as follows:
tag list - shows all the top level tags
tag show <which> - shows info about a particular tag
tag new <name> [<parent>] - creates a new tag (with optional parent)
tag insert <name> <parent> - creates a new tag as a child of a tag and takes its children
tag parent <tag> <newparent> - changes the parent of a tag
tag rename <tag> <name> - changes the name of a tag
tag prog <tag> <which> - sets a prog that controls visibility of the tag
tag prog none - clears a visiblity prog
Permission: Admin
The tag command is used to create, view and manage tags.
Tags are used in numerous parts of the code to classify things and apply basic hierarchies. These hierarchies are best explained through an example.
Say you had a tag called Knife, and you wanted knives to be also Cutting Tools. The knife tag would be a child of the cutting tool tag, and would be represented as Cutting Tools / Knife.
In some places you might want to check directly for knives, but you could also check more generally for cutting tools, which might also pick up Cutting Tools / Saw.
Tags are used on items and crafts, but also other places in the code as well.
The syntax to use this command is as follows:
tag list - shows all the top level tags
tag show <which> - shows info about a particular tag
tag new <name> [<parent>] - creates a new tag (with optional parent)
tag insert <name> <parent> - creates a new tag as a child of a tag and takes its children
tag parent <tag> <newparent> - changes the parent of a tag
tag rename <tag> <name> - changes the name of a tag
tag prog <tag> <which> - sets a prog that controls visibility of the tag
tag prog none - clears a visiblity prog