- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


TitleEdit of P#47298 - Edit of P#47297 - Edit of P#47296 - Untitled Paste
TypeDenizen Script
Date2018/04/29 13:25:18 UTC-07:00
ByGuest
Other
Paste
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
4900
booster:
  type: inventory 
  title<&3>Global Boosters
  size: 27
  slots:
  - "[] [] [] [] [] [] [] [] []"
  - "[] [] [] [] [i@fly] [] [] [] []"
  - "[] [] [] [] [] [] [] [] []"
 
booster_command:
  type: command
  name: Booster
  description: Opens Booster GUI
  usage"/booster"
  script:
  - inventory open d:in@booster

fly:
  type: item
  material: Elytra
  display name<&6>Global Fly Booster
  lore:
  - <&e>Enable fly for everyone online
  - <&e>on the server for 60 seconds!

flyb:
  type: item
  material: 288
  display name<&b>Fly Badge
  lore:
  - <&7>Use this to activate a fly booster

fly_event:
  type: world
  events:
    on player clicks in booster:
    - determine cancelled
    on player drags in booster:
    - determine cancelled
    on player clicks fly in booster:
    - if <in@inventory.contains[i@flyb].quantity[1]> == true {
      - foreach <server.list_online_players> {
        - adjust <player> can_fly:true
        - take i@flyb
        } else {
        - inventory close
        }
      }  



RawRaw



Pastes made: 53885