Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /NoDiamondArmor <text>:
- description: NoDiamondArmor Enable:Disable:Toggle
- usage: /NoDiamondArmor <enable:disable:toggle>
- aliases: /nda
- permission: NoDiamondArmor.admin
- trigger:
- if arg 1 is "enable":
- set {NoDiamondArmor} to true
- broadcast "&6[&BNoDiamondArmor&6] &CEnabled!"
- if arg 1 is "disable":
- set {NoDiamondArmor} to false
- broadcast "&6[&BNoDiamondArmor&6] &CDisabled!"
- if arg 1 is "toggle":
- if {NoDiamondArmor} is true:
- set {NoDiamondArmor} to false
- broadcast "&6[&BNoDiamondArmor&6] &CDisabled!"
- stop
- if {NoDiamondArmor} is false:
- set {NoDiamondArmor} to true
- broadcast "&6[&BNoDiamondArmor&6] &CEnabled!"
- stop
- on craft of diamond helmet:
- if {NoDiamondArmor} is true:
- cancel the event
- close the player's inventory
- message "&6[&BNoDiamondArmor&6] &CYou cannot craft this item!"
- on craft of diamond chestplate:
- if {NoDiamondArmor} is true:
- cancel the event
- close the player's inventory
- message "&6[&BNoDiamondArmor&6] &CYou cannot craft this item!"
- on craft of diamond leggings:
- if {NoDiamondArmor} is true:
- cancel the event
- close the player's inventory
- message "&6[&BNoDiamondArmor&6] &CYou cannot craft this item!"
- on craft of diamond boots:
- if {NoDiamondArmor} is true:
- cancel the event
- close the player's inventory
- message "&6[&BNoDiamondArmor&6] &CYou cannot craft this item!"
- # Skript made by LuckyLucario99
- # Gamemode Idea by Silverteeth
Advertisement
Add Comment
Please, Sign In to add comment