Skip to content
Andrey Vakhterov edited this page Jul 11, 2015 · 4 revisions

Variables

Script variables

These variables are available for any execution of the script:

  • me
    a player, entity, block or console, who called the script. All autorun files executed by console
  • server
    minecraft server
  • workspace
    workspace used in this script
  • global
    the global object (workspace service) that contains all workspaces and global variables
  • _
    last execution result
  • caller
    current caller object
  • args
    list of arguments. Used in script files

Workspace variables

Workspace contains all variables defined by player or script file. This variables available only in this workspace.

Global variables

Clone this wiki locally