List of Actions

teleport player to [x] [y] [z]

clear inventory of player

heal player by [number]

give items from block at [x] [y] [z] to [entity](player or last spawned entity)

if player has items from block at [x] [y] [z]

if player does not have items from block at [x] [y] [z]

remove items from player from block at [x] [y] [z]

set checkpoint [number/win]

send "[text]"

send title "[text]" with subtitle "[text]"

make player join team "[text]"

reset team of player

set velocity of player to [x] [y] [z]

apply [potion] [tier] to player for [timespan]

milk player

wait [timespan] (limit of 10 seconds, but you can add wait actions for more)

set gamemode of player to [gamemode]

spawn [entitytype] at [x] [y] [z]

else (used for continuing the code after not meeting the last condition)

toggle block at [x] [y] [z] (Works on command blocks, but toggled command blocks cannot toggle other command blocks)

set block at [x] [y] [z] to block at [x] [y] [z]

if block at [x] [y] [z] is block at [x] [y] [z]

if block at [x] [y] [z] is not block at [x] [y] [z]

fill blocks from [x] [y] [z] to [x] [y] [z] using block at [x] [y] [z] (Max 8 blocks distance between points allowed)

reset all temporary blocks

set variable "variablename" of [entity]

delete variable "variablename" of [entity]

set variable "variablename" of [entity] to 1

if variable "variablename" of [entity] is set

if variable "variablename" of [entity] is not set

if variable "variablename" of [entity] is [number]

if variable "variablename" of [entity] is not [number]

Basic Usage Tutorial

| is for new line and everything is written in command blocks! Use /editblock while looking at a command block to write the code into it. To get a command block, you need to use WorldEdit command //set commandblock
Command blocks can be activated by pressure plates and buttons currently, may be more ways in the future.
Let's see some examples, so you can understand how to write it!



1. A simple heal & teleport code:
heal player by 20|teleport player to 37 5 -50
It will set health of player to 20 and will teleport the player to 37 5 -50 coordinates once player presses the button/pressure plate which activates the command block.
2. A simple team "minigame" code:
milk player|heal player|set gamemode of player to adventure|give items from block at -1500 12 50 to player|make player join team "blue"|teleport player to -1450 12 30|send "&9You joined Blue team!"
It will remove all potion effects from player, heal the player, set gamemode of player to adventure, give items from block at specified coordinates to player, will make player join a team(members of same team cannot attack eachother), teleport player to specified coordinates and send a message.(You probably do not need this description, the code explains itself xD)