9.6. Command Reference
MSC commands are documented in the main chapters. This page provides a quick index to find the command you need.
9.6.1. Commands by Category
9.6.1.1. Script Commands
Manage scripts bound to blocks, entities, and regions.
Parent command: /script
See Scripts - Command Reference for full documentation.
Command |
Purpose |
|---|---|
|
Add lines to a script |
|
Display script contents |
|
Delete script or line |
|
Sync with paste.minr.org |
|
Bulk operations in WorldEdit selection |
9.6.1.2. Namespace Commands
Manage namespaces that contain variables and functions.
Parent command: /namespace
See Namespaces - Command Reference for full documentation.
Command |
Purpose |
|---|---|
|
Create a new namespace |
|
Delete a namespace and its contents |
|
View namespace metadata |
|
List variables in namespace |
|
List functions in namespace |
|
List custom types in namespace |
9.6.1.3. Variable Commands
Manage persistent variables within namespaces.
Parent command: /variable (alias: /var)
See Variables - Command Reference for full documentation.
Command |
Purpose |
|---|---|
|
Create a persistent variable |
|
Delete a variable |
|
Set a variable’s value |
|
View variable metadata |
9.6.1.4. Function Commands
Manage custom functions within namespaces.
Parent command: /function (alias: /func)
See Functions - Command Reference for full documentation.
Command |
Purpose |
|---|---|
|
Create a function definition |
|
Delete a function |
|
Change function signature (keep script) |
|
View function metadata |
9.6.1.5. Type Commands
Manage custom types with fields, methods, and constructors.
Parent command: /type
See Types - Command Reference for full documentation.
Command |
Purpose |
|---|---|
|
Create a custom type |
|
Delete a type |
|
View type metadata |
|
List type members |
Field subcommands: /type field define/remove/info
Method subcommands: /type method define/remove/redefine/info
Constructor subcommands: /type constructor define/remove/info
9.6.2. All Commands at a Glance
Parent |
Subcommands |
|---|---|
|
create, view, remove, info, export, import, copy, paste, wipe, count, undo |
|
define, remove, info, variables, functions, types |
|
define, remove, set, info |
|
define, remove, redefine, info |
|
define, remove, info, fields, methods, constructors |
|
define, remove, info |
|
define, remove, redefine, info |
|
define, remove, info |