Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #==========================================#
- Options:
- prefix: &eRename &8|&r
- #==========================================#
- command /Rename [<text>] [<text>]:
- description: Tool rename command. Supports color codes!
- trigger:
- if player has permission "Rename.item":
- if arg 1 is not set:
- send "&a-----------------------------------------------------"
- send " &f&lDerpyRename"
- send "&e/Rename Name &cName &7To change the name of the item "
- send "&e/Rename Help &7Main Command"
- send "&e/Lore Setline &cLine Name &7To change the lore line"
- send "&e/Lore Removeline &cLine &7Delete the lore line"
- send "&a----------------------------------------------------"
- if arg-1 is "name":
- if length of arg-2 is bigger than 32:
- send "{@prefix} &cToo Lare of a Item Name"
- stop
- if player's tool is not air:
- set name of player's tool to "%coloured arg-2%"
- send "{@prefix} &aRenounced correctly"
- else:
- send "{@prefix} &cYou Are Holding Air"
- if arg-1 is "help":
- send "&a-----------------------------------------------------"
- send " &f&lDerpyRename"
- send "&e/Rename Name &cName &7To change the name of the item "
- send "&e/Rename Help &7Main Command"
- send "&e/Lore Setline &cLine Name &7To change the lore line"
- send "&e/Lore Removeline &cLine &7Delete the lore line"
- send "&a----------------------------------------------------"
- stop
- command /Lore [<text>] [<number>] [<text>]:
- trigger:
- if player has permission "lore.item":
- if arg 1 is not set:
- send "&a-----------------------------------------------------"
- send " &f&lDerpyRename"
- send "&e/Rename Name &cName &7To change the name of the item "
- send "&e/Rename Help &7Main Command"
- send "&e/Lore Setline &cLine Name &7To change the lore line"
- send "&e/Lore Removeline &cLine &7Delete the lore line"
- send "&a----------------------------------------------------"
- stop
- if arg 2 is not set:
- send "&a-----------------------------------------------------"
- send " &f&lDerpyRename"
- send "&e/Rename Name &cName &7To change the name of the item "
- send "&e/Rename Help &7Main Command"
- send "&e/Lore Setline &cLine Name &7To change the lore line"
- send "&e/Lore Removeline &cLine &7Delete the lore line"
- send "&a----------------------------------------------------"
- stop
- if arg 3 is not set:
- send "&a-----------------------------------------------------"
- send " &f&lDerpyRename"
- send "&e/Rename Name &cName &7To change the name of the item "
- send "&e/Rename Help &7Main Command"
- send "&e/Lore Setline &cLine Name &7To change the lore line"
- send "&e/Lore Removeline &cLine &7Delete the lore line"
- send "&a----------------------------------------------------"
- stop
- if arg 1 is "setline":
- if number arg is set:
- if arg 3 is set:
- set line number arg of lore of player's tool to "%colored arg 3%"
- message "{@prefix} &aYou have successful setline the lore."
- if arg 1 is "removeline":
- if number arg is set:
- set line number arg of lore of player's tool to ""
- message "{@prefix} &aYou have successful &cremoveline the lore."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement