You are browsing as a guest.
Login | Register
~ mcmonkey's simpler pastebin ~ Inspired by Hastebin ~ home page ~ Denizen help ~
click to use the normal pastebin instead ~ Click to make your own paste ~ click to duplicate and edit this paste


Title:
Type:
Date:
By:
Raw:
Other:
...
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
8100

Untitled Paste
Denizen Script
2016/01/25 14:52:58 UTC-08:00
Guest
Click here to view this paste as a raw text file | Or download the script


CustomGUI:
    type: assignment 
    actions: 
        on click: 
        - inventory open d:in@GUIInfo
GUIInfo:
  type: inventory
  inventory: chest
  title"<&b><&l>Color Guide 2.0"
  size: 45
  definitions:
    border: i@border_item
    return_button: i@return_button_item
    1v1s: i@1v1s_item
    leaderboard: i@leaderboard_item
    rating: i@rating_item
  slots:
    - "[border] [border] [border] [border] [border] [border] [border] [border] [border]"
    - "[border] [] [] [] [] [] [] [] [border]"
    - "[border] [] [1v1s] [] [leaderboard] [] [Rating] [] [border]"
    - "[border] [] [] [] [] [] [] [] [border]"
    - "[border] [border] [border] [border] [border] [border] [border] [border] [return_button]"



GUI_Inventory_World:
  type: world
  events:
    on player clicks in GUIInfo:
    - determine cancelled

    on player clicks border_item in GUIInfo:
    - narrate "<&6> Ranked Duels created by Alphatrooper."
    on player clicks 1v1s_item in GUIInfo:
    - flag server 1v1_players:->:<player.name>
    - narrate "<&a>You are now queued for Ranked 1V1."
GUI_1v1Players_Flag:
  type: world
  events:
     on server flag 1v1_players changed:
    - if <server.flag[1v1_players].as_list.size> >= 2 {
      - flag player pInventory:<player.inventory.list_contents.full>
      - flag player pHelmet:<player.inventory.equipment.helmet>
      - flag player pChestplate:<player.inventory.equipment.chestplate>
      - flag player pLeggings:<player.inventory.equipment.leggings>
      - flag player pBoots:<player.inventory.equipment.boots>
      - inventory clear d:<player.inventory>
      - equip head:i@air chest:i@air legs:i@air boots:i@air
    }
    on player clicks retur:<n_button_item in GUIInfo:
    - inventory close
    on player clicks leaderboard in GUIInfo:
    - narrate "<&6><&l>Ranked Duel Leaderboards:"
    on player clicks rating in GUIInfo:
    - narrate "<&6><&l>Your personal rating is:"

border_item:
    type: item
    material: i@black_stained_glass_pane
    display name<white><&sp>

1v1s_item:
    type: item
    material: i@diamond_sword
    display name<&c>1V1

return_button_item:
    type: item
    material: i@redstone_torch_on
    display name"<&6><&l>Close Menu"

Leaderboard_item:
    type: item
    material: i@book
    display name"<&6><&l>Leaderboards"

Rating_item:
    type: item
    material: i@paper
    display name"<&a>Personal Rating:"