Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # - Experienced Crafter - #
- # - Scenario by JakeKub - #
- # - Skript by RastaNinja_/RustyPeanuts98 - #
- Options:
- P: &8&l[&cE-Crafter&8&l]
- CC: &f
- HC: &9
- PC: &7
- CTE: cancel the event
- Variables:
- {ECrafter} = false
- command /ecrafter <text>:
- usage: /ecrafter <on:off>
- permission: skript.op
- trigger:
- if arg-1 is "on" or "enable" or "true":
- set {ECrafter} to true
- broadcast "{@P} {@CC}%command sender% enabled {@HC}Experienced crafter{@PC}!"
- else if arg-1 is "off" or "disable" or "false":
- set {ECrafter} to false
- message "{@P} {@CC}%command sender% disabled {@HC}Experienced crafter{@PC}!"
- on craft of iron sword:
- If player's level is greater than or equal to 1:
- if {ECrafter} is true:
- reduce the player's level by 1
- message "{@P} {@CC}One level was taken from you for crafting an {@HC}Iron sword{@PC}!"
- else:
- if {ECrafter} is true:
- {@CTE}
- message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
- on craft of iron chestplate:
- If player's level is greater than or equal to 2:
- if {ECrafter} is true:
- reduce the player's level by 2
- message "{@P} {@CC}Two levels were taken from you for crafting a {@HC}Iron chestplate{@PC}!"
- else:
- if {ECrafter} is true:
- {@CTE}
- message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
- on craft of iron leggings:
- If player's level is greater than or equal to 2:
- if {ECrafter} is true:
- reduce the player's level by 2
- message "{@P} {@CC}Two level were taken from you for crafting a pair of {@HC}Iron leggings{@PC}!"
- else:
- if {ECrafter} is true:
- {@CTE}
- message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
- on craft of iron boots:
- If player's level is greater than or equal to 2:
- if {ECrafter} is true:
- reduce the player's level by 2
- message "{@P} {@CC}Two levels were taken from you for crafting a pair of {@HC}Iron boots{@PC}!"
- else:
- if {ECrafter} is true:
- {@CTE}
- message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
- on craft of iron helmet:
- If player's level is greater than or equal to 2:
- if {ECrafter} is true:
- reduce the player's level by 2
- message "{@P} {@CC}Two levels were taken from you for crafting a {@HC}Iron helmet{@PC}!"
- else:
- if {ECrafter} is true:
- {@CTE}
- message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
- on craft of diamond pickaxe:
- If player's level is greater than or equal to 1:
- if {ECrafter} is true:
- reduce the player's level by 1
- message "{@P} {@CC}One level was taken from you for crafting a {@HC}diamond pickaxe{@PC}!"
- else:
- if {ECrafter} is true:
- {@CTE}
- message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
- on craft of golden apple:
- If player's level is greater than or equal to 1:
- if {ECrafter} is true:
- reduce the player's level by 1
- message "{@P} {@CC}One level was taken from you for crafting a {@HC}golden apple{@PC}!"
- else:
- if {ECrafter} is true:
- {@CTE}
- message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
- on craft of bow:
- If player's level is greater than or equal to 1:
- if {ECrafter} is true:
- reduce the player's level by 1
- message "{@P} {@CC}One level was taken from you for crafting a {@HC}bow{@PC}!"
- else:
- if {ECrafter} is true:
- {@CTE}
- message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
- on craft of anvil:
- If player's level is greater than or equal to 3:
- if {ECrafter} is true:
- reduce the player's level by 3
- message "{@P} {@CC}Three levels were taken from you for crafting an {@HC}anvil{@PC}!"
- else:
- if {ECrafter} is true:
- {@CTE}
- message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
- on craft of diamond chestplate:
- If player's level is greater than or equal to 5:
- if {ECrafter} is true:
- reduce the player's level by 5
- message "{@P} {@CC}Five levels were taken from you for crafting a {@HC}diamond chestplate{@PC}!"
- else:
- if {ECrafter} is true:
- {@CTE}
- message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
- on craft of diamond leggings:
- If player's level is greater than or equal to 5:
- if {ECrafter} is true:
- reduce the player's level by 5
- message "{@P} {@CC}Five level were taken from you for crafting a pair of {@HC}diamond leggings{@PC}!"
- else:
- if {ECrafter} is true:
- {@CTE}
- message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
- on craft of diamond boots:
- If player's level is greater than or equal to 5:
- if {ECrafter} is true:
- reduce the player's level by 5
- message "{@P} {@CC}Five levels were taken from you for crafting a pair of {@HC}diamond boots{@PC}!"
- else:
- if {ECrafter} is true:
- {@CTE}
- message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
- on craft of diamond helmet:
- If player's level is greater than or equal to 5:
- if {ECrafter} is true:
- reduce the player's level by 5
- message "{@P} {@CC}Five levels were taken from you for crafting a {@HC}diamond helmet{@PC}!"
- else:
- if {ECrafter} is true:
- {@CTE}
- message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
- on craft of enchantment table:
- If player's level is greater than or equal to 6:
- if {ECrafter} is true:
- reduce the player's level by 6
- message "{@P} {@CC}Six levels were taken from you for crafting a {@HC}enchantment table{@PC}!"
- else:
- if {ECrafter} is true:
- {@CTE}
- message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
- on craft of brewing stand:
- If player's level is greater than or equal to 10:
- if {ECrafter} is true:
- reduce the player's level by 10
- message "{@P} {@CC}Ten levels were taken from you for crafting a {@HC}brewing stand{@PC}!"
- else:
- if {ECrafter} is true:
- {@CTE}
- message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
Advertisement
Add Comment
Please, Sign In to add comment