Paste #30196: Edit of P#30195 - Edit of P#30194 - Untitled Paste

Date: 2016/02/12 07:44:43 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16


permissions:
    type: world 
    debug: false 
    events: 
      on player holds item: 
      - if <player.has_permission[canuse.<context,item>]> != true { 
        - narrate "<&c>You do not have permission to use this." 
        - determine fulfilled 
        - queue clear 
        }   
      on player equips armor:
      - if <player.has_permission[canuse.<context.armor>]> != true { 
        - narrate "<&c>You do not have permission to do this." 
        - determine cancelled 
        - queue clear 
        }