Skip to content

Commit

Permalink
Updated gui information
Browse files Browse the repository at this point in the history
  • Loading branch information
virustotalop committed Sep 8, 2018
1 parent dc904e8 commit 1c65261
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions docs/gui/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,22 @@ Below are some examples of guis
mode: "set"
close: false #Whether slots by default will close or not
locations:
- "0,64,0,world"
- "0,64,0,world" #Locations the gui can be clicked on in the world
npc-ids:
- '0'
- '0' #Npc ids that the gui will be registered to
alias:
- "test"
- "test" #Command aliases
functions:
- "permission: gui.test"
- "sound: LAVA,1.0,1.0"
- "permission: gui.test" #Permission needed to open the gui
- "sound: LAVA,1.0,1.0" #Sound will be played if player has the permission
permission-failfunctions:
- "pmsg: &4You do not have access to this gui!"
- "pmsg: &4You do not have access to this gui!"
#Player will be messaged if they do not have access
#Any function can be used in this section
#If any function fails in this area the functions will not continue
#past the failed function
'0':
icon: "EXP_BOTTLE"
Expand Down Expand Up @@ -86,4 +90,4 @@ Below are some examples of guis
name: "&2Pay test"
functions:
- "pay: 100"
- "broadcast: &aPay test passed"
- "broadcast: &aPay test passed"

0 comments on commit 1c65261

Please sign in to comment.