Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #--░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░
- #--▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀
- #--░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░
- #--
- #--▒█▀▀▀█ ▒█▀▀█ ▒█▀▀█ ▀█▀ ▒█▀▀█ ▀▀█▀▀ ▒█▀▄▀█ ░█▀▀█ ▒█▀▀▄ ▒█▀▀▀ ▒█▀▀█ ▒█░░▒█
- #--░▀▀▀▄▄ ▒█░░░ ▒█▄▄▀ ▒█░ ▒█▄▄█ ░▒█░░ ▒█▒█▒█ ▒█▄▄█ ▒█░▒█ ▒█▀▀▀ ▒█▀▀▄ ▒█▄▄▄█
- #--▒█▄▄▄█ ▒█▄▄█ ▒█░▒█ ▄█▄ ▒█░░░ ░▒█░░ ▒█░░▒█ ▒█░▒█ ▒█▄▄▀ ▒█▄▄▄ ▒█▄▄█ ░░▒█░░
- #--
- #--░█▀▀█ ▒█░░▒█ ▒█░▒█ ░█▀▀█ ▒█▀▄▀█ ░█▀▀█ ▒█░░░ ░█▀▀█ ▒█░░░ ▀█▀
- #--▒█▄▄█ ▒█▄▄▄█ ▒█▀▀█ ▒█▄▄█ ▒█▒█▒█ ▒█▄▄█ ▒█░░░ ▒█▄▄█ ▒█░░░ ▒█░
- #--▒█░▒█ ░░▒█░░ ▒█░▒█ ▒█░▒█ ▒█░░▒█ ▒█░▒█ ▒█▄▄█ ▒█░▒█ ▒█▄▄█ ▄█▄
- #--
- #--░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░
- #--▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀
- #--░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░
- #
- #--▒█▀▄▀█ ░█▀▀█ ▒█▀▀▄ ▒█▀▀▀ ▒█▀▀▀ ▒█▀▀▀█ ▒█▀▀█
- #--▒█▒█▒█ ▒█▄▄█ ▒█░▒█ ▒█▀▀▀ ▒█▀▀▀ ▒█░░▒█ ▒█▄▄▀
- #--▒█░░▒█ ▒█░▒█ ▒█▄▄▀ ▒█▄▄▄ ▒█░░░ ▒█▄▄▄█ ▒█░▒█
- #--
- #--▒█▀▀▀█ ▒█▀▀█ ▒█▀▀█ ░█▀█░ ▒█▀▄▀█ ▒█▀▀▀ ▒█▀▀█ ▒█▀▀▀█
- #--▒█░░▒█ ▒█▄▄█ ▒█░▄▄ █▄▄█▄ ▒█▒█▒█ ▒█▀▀▀ ▒█▄▄▀ ░▀▀▀▄▄
- #--▒█▄▄▄█ ▒█░░░ ▒█▄▄█ ░░░█░ ▒█░░▒█ ▒█▄▄▄ ▒█░▒█ ▒█▄▄▄█
- #--
- #--▒█▀▀▀█ ▒█▀▀▀ ▒█▀▀█ ▒█░░▒█ ▒█▀▀▀ ▒█▀▀█
- #--░▀▀▀▄▄ ▒█▀▀▀ ▒█▄▄▀ ░▒█▒█░ ▒█▀▀▀ ▒█▄▄▀
- #--▒█▄▄▄█ ▒█▄▄▄ ▒█░▒█ ░░▀▄▀░ ▒█▄▄▄ ▒█░▒█
- #--
- #--░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░
- #--▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀
- #--░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░
- # Skript made by Ayham Alali [iTzAyhamHD] YT: ayham5131
- # Made for OPG4MERS server by the OWNER Ayham Alali ^_^
- # It can be used for other servers as well :)
- # please support me if you can by donating: paypal.me/ayhamalali
- # Thank you for Downloading/Using my Skripts ❤
- # Tools Options [Custom] :)
- # Don't forget to donate ❤ » paypal.me/ayhamalali
- # Todo:
- # v1.1:
- # - /rename reset √
- # - emojis support √
- # - added emoji command √
- # - blacklist words √
- # - blacklist items √
- # - check "if player's tool is set" √
- # - Enchant √ (remove feature removes all enchantments)
- # - Add help (arg) √
- # - $
- # - $
- # - Add suggestions in the discuss page of the plugin :)
- # v1.2:
- # - name history
- # - GUI for emojis (!)
- # - Undo feature
- # - $
- # - $
- # - $
- # - Add suggestions in the discuss page of the plugin :)
- #
- options:
- # DO NOT CHANGE (NOT CHANGABLE)
- ver: 1.1
- console: &e&lCTO&7>
- # Configuration (Changable)
- p: &e&l&oToolsOptions&7»
- CheckUpdate: true
- UpdateCheckPerm: cto.updatecheck
- blacklistwords: "word1" or "word2" or "word3" or "word4" or "word5" or "word6" # Syntqax: "word1" or "word2" or "word3" ... | v1.1
- blacklistitems: tripwire_hook or emerald_block or diamond_block or iron_ore or piston # Syntax: item1 or item2 or item3 ... | v1.1
- # Messages (Changable)
- NoPerm: &c&oYou don't have enough permissions dude!
- LoreUsage: [nl][p] &c/[cmd] &7set&8/&7add <Line number> <Lore>[nl][p] &c/[cmd] &7remove&8/&7clear &7<line number>&8/&7all[nl][p] &c/[cmd] &7help[nl]&7 # Variables: [cmd] for the command, [nl] new line, [p] prefix
- LoreSuccess: &a&oNew Lore &7&o(line: &c&o[line]&7&o)&a&o:&r [lore] # << [line] for used line >> << [lore] for the new lore text>>
- LoreCleared: &a&oCleared line &c&o[line] # << [line] for the line>>
- LoreAllCleared: &a&oCleared lore of your item
- RenameUsage: [nl][p] &c/[cmd]&7 <name>[nl][p] &c/[cmd]&7 reset[nl][p] &c/[cmd]&7 help[nl]&7
- RenameSuccess: &a&oRenamed:&r [name] # << [name] for the new name>>
- RenameResetSuccess: &a&oReseted tool's name
- RenameBlacklistItems: &cYou can't rename this item. # v1.1
- RenameBlacklistWords: &cYou can't use this name. # v1.1
- ShinyError: &c&oYour item has enchanments and it's shiny!
- ShinySuccess: &a&oEnjoy your new Shiny item!
- EnchantUsage: [nl][p] &c/[cmd] &7add [enchantment name] [level][nl][p] &c/[cmd] &7set [enchantment name] [level][nl][p] &c/[cmd] &7removeall[nl][p] &c/[cmd] &7help[nl]&7
- EnchantSucess: &aYour tool has been successfully enchanted with &7[enchantment] [level] # << [enchantment] [level] >>
- EmojiDisabled: &aEmojis&7 are now &c&lDISABLED # v1.1
- EmojiEnabled: &aEmojis&7 are now &a&lENABLED # v1.1
- # Lore Configuration (Changable)
- LoreCmd: lore
- LorePerm: cto.cmd.lore
- LoreAliases: lr
- # Emoji Configuration (Changable) # v1.1
- EmojiCmd: emoji
- EmojiPerm: cto.cmd.emoji
- EmojiAliases: em
- # Rename Configuration (Changable)
- RenameCmd: rename
- RenamePerm: cto.cmd.rename
- RenameAliases: ren
- # Shiny Configuration (Changable)
- ShinyCmd: Shiny
- ShinyPerm: cto.cmd.shiny
- ShinyAliases: shi
- # Enchant Configurations (Changable) # v1.1
- EnchantCmd: enchant
- EnchantPerm: cto.cmd.enchant
- EnchantAliases: ench
- # -----
- #
- # CODE - DO NOT CHANGE IF YOU DON'T KNOW WHAT ARE YOU DOING.
- #
- # -----
- on load:
- send "&b<&3----&b>> &c&l&oTools Options&b <<&3----&b>" to console
- send " " to console
- send "{@console} &aRunning on version &c{@ver}" to console
- send "{@console} &bThank you for downloading/using my skripts :)" to console
- send "{@console} &eSkript made by &aAyham Alali &cYT&7:&a@ayham5131" to console
- send " " to console
- send "&b<&3----&b>> &c&l&oTools Options&b <<&3----&b>" to console
- set {_NewVer} to text from "http://pastebin.com/raw/iWv04uP8"
- set {_UpdateInfo} to text from url "http://pastebin.com/raw/m8CD5ReN"
- if "{@CheckUpdate}" is "true":
- send "{@console} &eChecking for update..." to console
- if "{@CheckUpdate}" is "true":
- if "%{_NewVer}%" is not "{@ver}":
- replace all "[nl]" with new line in {_UpdateInfo}
- replace all "[p]" with "{@p}" in {_UpdateInfo}
- send "&3<&b&l!&3>&3----&b*&3----&3<&b&l!&3>" to console
- send "{@console} &aThere is a new update for &9&oTools Options&7, &aYou are using version &c{@ver}&7, &aNew version&7 > &c%{_NewVer}%" to console
- send "{@console} &aUpdate info: %colored {_UpdateInfo}%" to console
- send "&3<&b&l!&3>&3----&b*&3----&3<&b&l!&3>" to console
- else if "%{_NewVer}%" is "{@ver}":
- send "{@console}&a is up to date&7, &aNo new updates." to console
- loop all players:
- if loop-player has permission "{@UpdateCheckPerm}":
- if "%{_NewVer}%" is not "{@ver}":
- replace all "[nl]" with new line in {_UpdateInfo}
- replace all "[p]" with "{@p}" in {_UpdateInfo}
- send "&3<&b&l!&3>&3----&b*&3----&3<&b&l!&3>" to loop-player
- send "{@p} &aThere is a new update for &9&oTools Options&7, &aYou are using version &c{@ver}&7, &aNew version&7 > &c%{_NewVer}%" to loop-player
- send "{@p} &aUpdate info: &c%colored {_UpdateInfo}%" to loop-player
- send "&3<&b&l!&3>&3----&b*&3----&3<&b&l!&3>" to loop-player
- else if "%{_NewVer}%" is "{@ver}":
- send "{@p}&a is up to date&7, &aNo new updates." to loop-player
- wait a tick
- send "{@console} &ahas been loaded successfully." to console
- on unload:
- send "{@console} &chas been unloaded successfully." to console
- # ➀➁➂➃➄➅➆➇➈➉☹☺❤☼♛✈☠☁✰❆«✔✖☻»⚠
- # [1][2][3][4][5][6][7][8][9][10][:(][:)][<3][sun][crown][plane][skull][cloud][star][snow][<][v][x][:-)][>][caution]
- # Thank you _Vlad1101_ for the emojis, you made save some time.
- command /{@EmojiCmd} [<text>]:
- permission: {@EmojiPerm}
- permission message: {@NoPerm}
- description: &a&oShow Emojis shortcuts.
- aliases: {@EmojiAliases}
- trigger:
- if arg-1 is "toggle":
- if {cto::emoji::%player%} is not set:
- set {cto::emoji::%player%} to true
- send "{@p} {@EmojiEnabled}"
- stop
- if {cto::emoji::%player%} is false:
- set {cto::emoji::%player%} to true
- send "{@p} {@EmojiEnabled}"
- stop
- if {cto::emoji::%player%} is true:
- set {cto::emoji::%player%} to false
- send "{@p} {@EmojiDisabled}"
- stop
- if arg-1 is "help":
- send "&c1&7. &aTip&7» &a[text] &7» &8[&aemoji&8]"
- send "&c2&7. &a[1] &7» &8[&a➀&8]"
- send "&c3&7. &a[2] &7» &8[&a➁&8]"
- send "&c4&7. &a[3] &7» &8[&a➂&8]"
- send "&c5&7. &a[4] &7» &8[&a➃&8]"
- send "&c6&7. &a[5] &7» &8[&a➄&8]"
- send "&c7&7. &a[6] &7» &8[&a➅&8]"
- send "&c8&7. &a[7] &7» &8[&a➆&8]"
- send "&c9&7. &a[8] &7» &8[&a➇&8]"
- send "&c10&7. &a[9] &7» &8[&a➈&8]"
- send "&c11&7. &a[10] &7» &8[&a➉&8]"
- send "&c12&7. &a[<3] &7» &8[&a❤&8]"
- send "&c13&7. &a[sun] &7» &8[&a☼&8]"
- send "&c14&7. &a[crown] &7» &8[&a♛&8]"
- send "&c15&7. &a[plane] &7» &8[&a✈&8]"
- send "&c16&7. &a[skull] &7» &8[&a☠&8]"
- send "&c17&7. &a[cloud] &7» &8[&a☁&8]"
- send "&c18&7. &a[star] &7» &8[&a✰&8]"
- send "&c19&7. &a[snow] &7» &8[&a❆&8]"
- send "&c20&7. &a[<] &7» &8[&a«&8]"
- send "&c21&7. &a[v] &7» &8[&a✔&8]"
- send "&c22&7. &a[x] &7» &8[&a✖&8]"
- send "&c23&7. &a[>] &7» &8[&a»&8]"
- send "&c24&7. &a[caution] &7» &8[&a⚠&8]"
- send "&c25&7. &a[:-)] &7» &8[&a☻&8]"
- send "&c26&7. &a[:(] &7» &8[&a☹&8]"
- send "&c27&7. &a[:)] &7» &8[&a☺&8]"
- stop
- on chat:
- if {cto::emoji::%player%} = true:
- replace all "[1]" with "➀" in message
- replace all "[2]" with "➁" in message
- replace all "[3]" with "➂" in message
- replace all "[4]" with "➃" in message
- replace all "[5]" with "➄" in message
- replace all "[6]" with "➅" in message
- replace all "[7]" with "➆" in message
- replace all "[8]" with "➇" in message
- replace all "[9]" with "➈" in message
- replace all "[10]" with "➉" in message
- replace all "[:(]" with "☹" in message
- replace all "[:)]" with "☺" in message
- replace all "[<3]" with "❤" in message
- replace all "[sun]" with "☼" in message
- replace all "[crown]" with "♛" in message
- replace all "[plane]" with "✈" in message
- replace all "[skull]" with "☠" in message
- replace all "[cloud]" with "☁" in message
- replace all "[star]" with "✰" in message
- replace all "[snow]" with "❆" in message
- replace all "[<]" with "«" in message
- replace all "[v]" with "✔" in message
- replace all "[x]" with "✖" in message
- replace all "[:-)]" with "☻" in message
- replace all "[>]" with "»" in message
- replace all "[caution]" with "⚠" in message
- command /{@LoreCmd} [<text>] [<number>] [<text>]:
- permission: {@LorePerm}
- permission message: {@NoPerm}
- description: &a&oChange item lore
- aliases: {@LoreAliases}
- trigger:
- if arg-1 is not set:
- set {_LoreUsage} to "{@LoreUsage}"
- replace all "[cmd]" with "{@LoreCmd}" in {_LoreUsage}
- replace all "[nl]" with "%newline%" in {_LoreUsage}
- replace all "[p]" with "{@p}" in {_LoreUsage}
- send "%{_LoreUsage}%"
- stop
- if arg-1 is "help":
- set {_LoreUsage} to "{@LoreUsage}"
- replace all "[cmd]" with "{@LoreCmd}" in {_LoreUsage}
- replace all "[nl]" with "%newline%" in {_LoreUsage}
- replace all "[p]" with "{@p}" in {_LoreUsage}
- send "%{_LoreUsage}%"
- stop
- else:
- if arg-1 is "set" or "add":
- if arg-2 is set:
- if arg-3 is set:
- if player's tool is set:
- if "%arg-3%" contains "[1]" or "[2]" or "[3]" or "[4]" or "[5]" or "[6]" or "[7]" or "[8]" or "[9]" or "[10]" or "[:(]" or "[:)]" or "[<3]" or "[sun]" or "[crown]" or "[plane]" or "[skull]" or "[cloud]" or "[star]" or "[snow]" or "[<]" or "[v]" or "[x]" or "[:-)]" or "[>]" or "[caution]":
- if {cto::emoji::%player%} = true:
- set {_l} to "%arg-3%"
- replace all "[1]" with "➀" in {_l}
- replace all "[2]" with "➁" in {_l}
- replace all "[3]" with "➂" in {_l}
- replace all "[4]" with "➃" in {_l}
- replace all "[5]" with "➄" in {_l}
- replace all "[6]" with "➅" in {_l}
- replace all "[7]" with "➆" in {_l}
- replace all "[8]" with "➇" in {_l}
- replace all "[9]" with "➈" in {_l}
- replace all "[10]" with "➉" in {_l}
- replace all "[:(]" with "☹" in {_l}
- replace all "[:)]" with "☺" in {_l}
- replace all "[<3]" with "❤" in {_l}
- replace all "[sun]" with "☼" in {_l}
- replace all "[crown]" with "♛" in {_l}
- replace all "[plane]" with "✈" in {_l}
- replace all "[skull]" with "☠" in {_l}
- replace all "[cloud]" with "☁" in {_l}
- replace all "[star]" with "✰" in {_l}
- replace all "[snow]" with "❆" in {_l}
- replace all "[<]" with "«" in {_l}
- replace all "[v]" with "✔" in {_l}
- replace all "[x]" with "✖" in {_l}
- replace all "[:-)]" with "☻" in {_l}
- replace all "[>]" with "»" in {_l}
- replace all "[caution]" with "⚠" in {_l}
- set line number arg of lore of player's tool to colored "%{_l}%"
- set {_LoreSuccess} to "{@LoreSuccess}"
- replace all "[line]" with "%arg-2%" in {_LoreSuccess}
- replace all "[lore]" with "%{_l}%" in {_LoreSuccess}
- send colored "%{_LoreSuccess}%"
- stop
- else:
- set line number arg of lore of player's tool to colored "%arg-3%"
- set {_LoreSuccess} to "{@LoreSuccess}"
- replace all "[line]" with "%arg-2%" in {_LoreSuccess}
- replace all "[lore]" with "%arg-3%" in {_LoreSuccess}
- send colored "%{_LoreSuccess}%"
- stop
- else:
- set line number arg of lore of player's tool to colored "%arg-3%"
- set {_LoreSuccess} to "{@LoreSuccess}"
- replace all "[line]" with "%arg-2%" in {_LoreSuccess}
- replace all "[lore]" with "%arg-3%" in {_LoreSuccess}
- send colored "%{_LoreSuccess}%"
- stop
- else:
- send "{@p} &7You need to hold an item."
- stop
- else:
- set {_LoreUsage} to "{@LoreUsage}"
- replace all "[cmd]" with "{@LoreCmd}" in {_LoreUsage}
- replace all "[nl]" with "%newline%" in {_LoreUsage}
- replace all "[p]" with "{@p}" in {_LoreUsage}
- send "%{_LoreUsage}%"
- stop
- else:
- set {_LoreUsage} to "{@LoreUsage}"
- replace all "[cmd]" with "{@LoreCmd}" in {_LoreUsage}
- replace all "[nl]" with "%newline%" in {_LoreUsage}
- replace all "[p]" with "{@p}" in {_LoreUsage}
- send "%{_LoreUsage}%"
- stop
- if arg-1 is "remove" or "clear":
- if arg-2 is set:
- if player's tool is set:
- clear line number arg of lore of player's tool
- set {_LoreCleared} to "{@LoreCleared}"
- replace all "[line]" with "%arg-2%" in {_LoreCleared}
- send "%{_LoreCleared}%"
- stop
- else:
- send "{@p} &7You need to hold an item."
- stop
- else:
- set {_LoreUsage} to "{@LoreUsage}"
- replace all "[cmd]" with "{@LoreCmd}" in {_LoreUsage}
- replace all "[nl]" with "%newline%" in {_LoreUsage}
- replace all "[p]" with "{@p}" in {_LoreUsage}
- send "%{_LoreUsage}%"
- stop
- if arg-3 is "all":
- if player's tool is set:
- set lore of player's tool to ""
- make player execute "/{@LoreCmd} removesilent 1"
- send "{@p} {@LoreAllCleared}"
- stop
- else:
- send "{@p} &7You need to hold an item."
- stop
- else:
- set {_LoreUsage} to "{@LoreUsage}"
- replace all "[cmd]" with "{@LoreCmd}" in {_LoreUsage}
- replace all "[nl]" with "%newline%" in {_LoreUsage}
- replace all "[p]" with "{@p}" in {_LoreUsage}
- send "%{_LoreUsage}%"
- stop
- # The Secret command "LOL", used for clear the lore, just a bsic way to do ir quickly :)
- if arg-1 is "removesilent":
- if player's tool is set:
- if arg-2 is set:
- clear line number arg of lore of player's tool
- stop
- else:
- send "{@p} &7You need to hold an item."
- stop
- command /{@RenameCmd} [<text>]:
- permission: {@RenamePerm}
- permission message: {@NoPerm}
- description: &a&oChange current tool Name
- aliases: {@RenameAliases}
- trigger:
- if arg-1 is not set:
- set {_RenameUsage} to "{@RenameUsage}"
- replace all "[cmd]" with "{@RenameCmd}" in {_RenameUsage}
- replace all "[nl]" with "%newline%" in {_RenameUsage}
- replace all "[p]" with "{@p}" in {_RenameUsage}
- send "%{_RenameUsage}%"
- stop
- if arg-1 is "help":
- set {_RenameUsage} to "{@RenameUsage}"
- replace all "[cmd]" with "{@RenameCmd}" in {_RenameUsage}
- replace all "[nl]" with "%newline%" in {_RenameUsage}
- replace all "[p]" with "{@p}" in {_RenameUsage}
- send "%{_RenameUsage}%"
- stop
- if arg-1 is "reset":
- if player's tool is set:
- if player's tool is not {@blacklistitems}:
- set name of player's tool to ""
- send "{@p} {@RenameResetSuccess}"
- stop
- else:
- send "{@RenameBlacklistItems}"
- stop
- else:
- send "{@p} &7You need to hold an item."
- stop
- if arg-1 is set:
- if player's tool is set:
- if player's tool is not {@blacklistitems}:
- if "%arg-1%" doesn't contain {@blacklistwords}:
- if "%arg-1%" contains "[1]" or "[2]" or "[3]" or "[4]" or "[5]" or "[6]" or "[7]" or "[8]" or "[9]" or "[10]" or "[:(]" or "[:)]" or "[<3]" or "[sun]" or "[crown]" or "[plane]" or "[skull]" or "[cloud]" or "[star]" or "[snow]" or "[<]" or "[v]" or "[x]" or "[:-)]" or "[>]" or "[caution]":
- if {cto::emoji::%player%} = true:
- set {_n} to "%arg-1%"
- replace all "[1]" with "➀" in {_n}
- replace all "[2]" with "➁" in {_n}
- replace all "[3]" with "➂" in {_n}
- replace all "[4]" with "➃" in {_n}
- replace all "[5]" with "➄" in {_n}
- replace all "[6]" with "➅" in {_n}
- replace all "[7]" with "➆" in {_n}
- replace all "[8]" with "➇" in {_n}
- replace all "[9]" with "➈" in {_n}
- replace all "[10]" with "➉" in {_n}
- replace all "[:(]" with "☹" in {_n}
- replace all "[:)]" with "☺" in {_n}
- replace all "[<3]" with "❤" in {_n}
- replace all "[sun]" with "☼" in {_n}
- replace all "[crown]" with "♛" in {_n}
- replace all "[plane]" with "✈" in {_n}
- replace all "[skull]" with "☠" in {_n}
- replace all "[cloud]" with "☁" in {_n}
- replace all "[star]" with "✰" in {_n}
- replace all "[snow]" with "❆" in {_n}
- replace all "[<]" with "«" in {_n}
- replace all "[v]" with "✔" in {_n}
- replace all "[x]" with "✖" in {_n}
- replace all "[:-)]" with "☻" in {_n}
- replace all "[>]" with "»" in {_n}
- replace all "[caution]" with "⚠" in {_n}
- set name of player's tool to colored "%{_n}%"
- set {_RenameSuccess} to "{@RenameSuccess}"
- replace all "[name]" with "%{_n}%" in {_RenameSuccess}
- send colored "{@p} %{_RenameSuccess}%"
- stop
- else:
- set name of player's tool to colored "%arg-1%"
- set {_RenameSuccess} to "{@RenameSuccess}"
- replace all "[name]" with "%arg-1%" in {_RenameSuccess}
- send colored "{@p} %{_RenameSuccess}%"
- stop
- else:
- set name of player's tool to colored "%arg-1%"
- set {_RenameSuccess} to "{@RenameSuccess}"
- replace all "[name]" with "%arg-1%" in {_RenameSuccess}
- send colored "{@p} %{_RenameSuccess}%"
- stop
- else:
- send "{@RenameBlacklistWords}"
- stop
- else:
- send "{@RenameBlacklistItems}"
- stop
- else:
- send "{@p} &7You need to hold an item."
- stop
- command /{@ShinyCmd}:
- permission: {@ShinyPerm}
- permission message: {@NoPerm}
- description: &a&oShiny your item without enchantments
- aliases: {@ShinyAliases}
- trigger:
- if player's tool is set:
- if player's tool is enchanted:
- send "{@p} {@ShinyError}"
- stop
- if player's tool is not enchanted:
- set {_item} to player's tool
- set player's tool to shiny {_item}
- send "{@p} {@ShinySuccess}"
- stop
- else:
- send "{@p} &7You need to hold an item."
- stop
- command /{@EnchantCmd} [<text>] [<text>] [<text>]:
- permission: {@EnchantPerm}
- permission message: {@NoPerm}
- description: &a&oEnchant your items with any enchantment type and level.
- aliases: {@EnchantAliases}
- trigger:
- if arg-1 is not set:
- set {_EnchantUsage} to "{@EnchantUsage}"
- replace all "[cmd]" with "{@EnchantCmd}" in {_EnchantUsage}
- replace all "[nl]" with "%newline%" in {_EnchantUsage}
- replace all "[p]" with "{@p}" in {_EnchantUsage}
- send "%{_EnchantUsage}%"
- stop
- if arg-1 is "help":
- set {_EnchantUsage} to "{@EnchantUsage}"
- replace all "[cmd]" with "{@EnchantCmd}" in {_EnchantUsage}
- replace all "[nl]" with "%newline%" in {_EnchantUsage}
- replace all "[p]" with "{@p}" in {_EnchantUsage}
- send "%{_EnchantUsage}%"
- stop
- if arg-1 is "add":
- if arg-2 is set:
- if arg-3 is set:
- if player's tool is set:
- set {_el} to "%arg-2% %arg-3%" parsed as enchantment type
- enchant the player's tool with {_el}
- set {_m} to "{@EnchantSucess}"
- replace all "[enchantment]" with "%arg-2%" in {_m}
- replace all "[level]" with "%arg-3%" in {_m}
- send "{@p} %{_m}%"
- stop
- else:
- send "{@p} &7You need to hold an item."
- stop
- if arg-1 is "set":
- if arg-2 is set:
- if arg-3 is set:
- if player's tool is set:
- set {_i} to player's tool
- disenchant {_i}
- set {_el} to "%arg-2% %arg-3%" parsed as enchantment type
- enchant the player's tool with {_el}
- set {_m} to "{@EnchantSucess}"
- replace all "[enchantment]" with "%arg-2%" in {_m}
- replace all "[level]" with "%arg-3%" in {_m}
- send "{@p} %{_m}%"
- stop
- else:
- send "{@p} &7You need to hold an item."
- stop
- if arg-1 is "removeall":
- if player's tool is set:
- disenchant player's tool
- set {_m} to "{@EnchantSucess}"
- replace all "[enchantment]" with "%arg-2%" in {_m}
- send "{@p} %{_m}%"
- stop
- else:
- send "{@p} &7You need to hold an item."
- stop
- # ----
- #
- # <> End of Code
- # By Ayham Alali <>
- #
- # ----
Add Comment
Please, Sign In to add comment