Paste #41071: Untitled Paste

Date: 2017/03/30 14:51:41 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


RulesGUI_Main: 
    type: assignment 
    actions: 
        on assignment: 
        - trigger name:click state:true 
    interact scripts: 
    - 10 RulesGUI_interact 

RulesGUI_interact: 
    type: interact 
    steps: 
        1: 
            click trigger: 
                script: 
                - run RulesGUI_Task instantly player:<player> 
RulesGUI_Task: 
    type: task 
    script: 
    - inventory open d:in@RulesGUI 
RulesGUI:
  type: inventory
  inventory: chest
  title: "<&b><&l>Read the rules!"
  size: 54
  definitions:
    border: i@border_item
    CloseButtonbutton: i@return_button
    rule1: i@RULES1_item
    rule2: i@RULES2_item
    rule3: i@RULES3_item
    rule4: i@RULES4_item
    rule5: i@RULES5_item
    rule6: i@RULES6_item
    rule7: i@RULES7_item
    rule8: i@RULES8_item
    rule9: i@RULES9_item
    rule10: i@RULES10_item
    rule11: i@RULES11_item
    rule12: i@RULES12_item
    rule13: i@RULES13_item
    rule14: i@RULES14_item

  slots:
    - "[] [Rule1] [] [Rule2] [] [Rule3] [] [Rule4] []"
    - "[] [] [] [] [] [] [] [] []"     
    - "[] [Rule5] [] [Rule6] [] [Rule7] [] [Rule8] []" 
    - "[] [] [] [] [] [] [] [] [] " 
    - "[] [Rule9] [] [Rule10] [] [Rule11] [] [Rule12] [] "
    - "[] [] [] [] [return_button] [] [] [] []" 

GUI_Inventory_World:
  type: world
  events:
    on player closes in@RulesGUI:
    - announce "helloworld"
    - run RulesGUI_Task instantly player:<player> 
    on player clicks return_button IN RulesGUI:
    - inventory close d:in@RulesGUI
    on player clicks in RulesGUI:
    - determine cancelled

RULES1_item:
    type: item 
    material: i@paper 
    display name: "<&6>Rule <&f>#1" 
    enchantments:
    - DURABILITY:1
    lore:
    - "<&c>No modified cleints/texture packs or hacked clients."
    - "<&c>(this includes the Schematica Mod)"

RULES2_item:
    type: item 
    material: i@paper 
    display name: "<&6>Rule <&f>#2" 
    enchantments:
    - DURABILITY:1
    lore:
    - "<&c>No spamming"

RULES3_item:
    type: item 
    material: i@paper 
    display name: "<&6>Rule <&f>#3" 
    enchantments:
    - DURABILITY:1
    lore:
    - "<&c>No charging back on donations"

RULES4_item:
    type: item 
    material: i@paper 
    display name: "<&6>Rule <&f>#4" 
    enchantments:
    - DURABILITY:1
    lore:
    - "<&c>Do not exploit any glitches"
    - "<&c>within minecraft or the server"

RULES5_item:
    type: item 
    material: i@paper 
    display name: "<&6>Rule <&f>#5" 
    enchantments:
    - DURABILITY:1
    lore:
    - "<&c>Dont give staff trouble..."

RULES6_item:
    type: item 
    material: i@paper 
    display name: "<&6>Rule <&f>#6" 
    enchantments:
    - DURABILITY:1
    lore:
    - "<&c>Do not disrespect players or staff"

RULES7_item:
    type: item 
    material: i@paper 
    display name: "<&6>Rule <&f>#7" 
    enchantments:
    - DURABILITY:1
    lore:
    - "<&c>No advertising of <&c><&l>any kind"

RULES8_item:
    type: item 
    material: i@paper 
    display name: "<&6>Rule <&f>#8" 
    enchantments:
    - DURABILITY:1
    lore:
    - "<&c>No threats are allowed"
    - "<&c>(DDos, Dox, death etc.)"

RULES9_item:
    type: item 
    material: i@paper 
    display name: "<&6>Rule <&f>#9" 
    enchantments:
    - DURABILITY:1
    lore:
    - "<&c>No combat logging/safezoning"

RULES10_item:
    type: item 
    material: i@paper 
    display name: "<&6>Rule <&f>#9" 
    enchantments:
    - DURABILITY:1
    lore:
    - "<&c>Do not impersonate other players or staff"

RULES11_item:
    type: item 
    material: i@paper 
    display name: "<&6>Rule <&f>#9" 
    enchantments:
    - DURABILITY:1
    lore:
    - "<&c>Do not attempt to sell your account"

RULES12_item:
    type: item 
    material: i@paper 
    display name: "<&6>Rule <&f>#9" 
    enchantments:
    - DURABILITY:1
    lore:
    - "<&c>Make sure you enjoy playing on Anarchy!"

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

return_button:
    type: item 
    material: i@book 
    display name: "<&6><&l>Close Rules"
    enchantments:
    - DURABILITY:1
    lore:
    - "<&c>Read the rules and then click this"
    - "<&c>to close this menu!"