Jump to content

Rank Voucher Skript


Awesomex0

Recommended Posts

on right click with paper:
    if name of tool is "&x&f&b&9&7&0&0&lV&x&f&b&9&c&0&0&li&x&f&b&a&1&0&0&lp &x&f&b&a&5&0&0&lR&x&f&c&a&a&0&0&la&x&f&c&a&f&0&0&ln&x&f&c&b&4&0&0&lk &x&f&c&b&8&0&0&lV&x&f&c&b&d&0&0&lo&x&f&c&c&2&0&0&lu&x&f&d&c&7&0&0&lc&x&f&d&c&b&0&0&lh&x&f&d&d&0&0&0&le&x&f&d&d&5&0&0&lr":
        execute console command "/lp user %player% group set vip"
        broadcast "&6&l-----------------------------"
        broadcast "&6&l%player%&8&l |&7 Has Redeemed Rank &x&f&b&9&7&0&0&lV&x&f&c&b&6&0&0&li&x&f&d&d&5&0&0&lp"
        broadcast "&6&l-----------------------------"
        remove 1 of player's tool from player's inventory
        #Vip Rank
on right click with paper:
    if name of tool is "&x&f&b&0&0&f&1&lM&x&e&f&0&0&f&2&lv&x&e&3&0&0&f&3&lp &x&d&7&0&0&f&4&lR&x&c&b&0&0&f&5&la&x&b&f&0&0&f&6&ln&x&b&3&0&0&f&7&lk &x&a&8&0&0&f&7&lV&x&9&c&0&0&f&8&lo&x&9&0&0&0&f&9&lu&x&8&4&0&0&f&a&lc&x&7&8&0&0&f&b&lh&x&6&c&0&0&f&c&le&x&6&0&0&0&f&d&lr":
        execute console command "/lp user %player% group set mvp"
        broadcast "&6&l-----------------------------"
        broadcast "&6&l%player%&8&l |&7 Has Redeemed Rank &x&f&b&0&0&f&1&lM&x&a&e&0&0&f&7&lv&x&6&0&0&0&f&d&lp "
        broadcast "&6&l-----------------------------"
        remove 1 of player's tool from player's inventory
        #Mvp Rank
on right click with paper:
    if name of tool is "&x&c&f&7&0&f&b&lA&x&c&8&6&9&f&b&ld&x&c&0&6&1&f&b&lm&x&b&9&5&a&f&b&li&x&b&1&5&2&f&c&ln &x&a&a&4&b&f&c&lR&x&a&3&4&3&f&c&la&x&9&b&3&c&f&c&ln&x&9&4&3&4&f&c&lk &x&8&c&2&d&f&c&lV&x&8&5&2&5&f&c&lo&x&7&e&1&e&f&c&lu&x&7&6&1&6&f&d&lc&x&6&f&0&f&f&d&lh&x&6&7&0&7&f&d&le&x&6&0&0&0&f&d&lr":
        execute console command "/lp user %player% group set admin"
        broadcast "&6&l-----------------------------"
        broadcast "&6&l%player%&8&l |&7 Has Redeemed Rank &x&c&f&7&0&f&b&lA&x&b&3&5&4&f&c&ld&x&9&8&3&8&f&c&lm&x&7&c&1&c&f&d&li&x&6&0&0&0&f&d&ln "
        broadcast "&6&l-----------------------------"
        remove 1 of player's tool from player's inventory
        #Admin Rank
on right click with paper:
    if name of tool is "&#084cfb&lH&#1256fb&le&#1d61fb&ll&#276bfb&lp&#3176fc&le&#3c80fc&lr &#468bfc&lR&#5095fc&la&#5ba0fc&ln&#65aafc&lk &#6fb4fc&lV&#79bffc&lo&#84c9fd&lu&#8ed4fd&lc&#98defd&lh&#a3e9fd&le&#adf3fd&lr":
        execute console command "/lp user %player% group set helper"
        broadcast "&6&l-----------------------------"
        broadcast "&6&l%player%&8&l |&7 Has Redeemed Rank &x&0&0&b&0&f&b&lH&x&2&3&b&d&f&b&le&x&4&5&c&b&f&c&ll&x&6&8&d&8&f&c&lp&x&8&a&e&6&f&d&le&x&a&d&f&3&f&d&lr"
        broadcast "&6&l-----------------------------"
        remove 1 of player's tool from player's inventory
        #Helper Rank
on right click with paper:
    if name of tool is "&x&e&7&f&b&0&0&lM&x&e&8&f&4&0&0&lo&x&e&9&e&d&0&0&ld&x&e&a&e&6&0&0&le&x&e&c&e&0&0&0&lr&x&e&d&d&9&0&0&la&x&e&e&d&2&0&0&lt&x&e&f&c&b&0&0&lo&x&f&0&c&4&0&0&lr &x&f&1&b&d&0&0&lR&x&f&3&b&7&0&0&la&x&f&4&b&0&0&0&ln&x&f&5&a&9&0&0&lk &x&f&6&a&2&0&0&lV&x&f&7&9&b&0&0&lo&x&f&8&9&4&0&0&lu&x&f&a&8&e&0&0&lc&x&f&b&8&7&0&0&lh&x&f&c&8&0&0&0&le&x&f&d&7&9&0&0&lr":
        execute console command "/lp user %player% group set mod"
        broadcast "&6&l-----------------------------"
        broadcast "&6&l%player%&8&l |&7 Has Redeemed Rank &x&e&7&f&b&0&0&lM&x&e&a&e&b&0&0&lo&x&e&d&d&b&0&0&ld&x&e&f&c&a&0&0&le&x&f&2&b&a&0&0&lr&x&f&5&a&a&0&0&la&x&f&8&9&a&0&0&lt&x&f&a&8&9&0&0&lo&x&f&d&7&9&0&0&lr "
        broadcast "&6&l-----------------------------"
        remove 1 of player's tool from player's inventory
        #Mod Rank
on right click with paper:
    if name of tool is "&x&f&b&0&0&0&0&lO&x&f&b&0&0&0&0&lw&x&f&b&0&0&0&0&ln&x&f&b&0&0&0&0&le&x&f&c&0&0&0&0&lr &x&f&c&0&0&0&0&lR&x&f&c&0&0&0&0&la&x&f&c&0&0&0&0&ln&x&f&c&0&0&0&0&lk &x&f&c&0&0&0&0&lV&x&f&c&0&0&0&0&lo&x&f&c&0&0&0&0&lu&x&f&d&0&0&0&0&lc&x&f&d&0&0&0&0&lh&x&f&d&0&0&0&0&le&x&f&d&0&0&0&0&lr":
        execute console command "/lp user %player% group set owner"
        broadcast "&6&l-----------------------------"
        broadcast "&6&l%player%&8&l |&7 Has Redeemed Rank &x&f&b&0&0&0&0&lO&x&f&c&0&0&0&0&lw&x&f&c&0&0&0&0&ln&x&f&d&0&0&0&0&le&x&f&d&0&0&0&0&lr "
        broadcast "&6&l-----------------------------"
        remove 1 of player's tool from player's inventory
        #Owner Rank

command /vhelp:
 trigger:
  send "&6--------------------------------------------"
  send "&fRank Voucher pluggin made by &cAwesomexO&f!"
  send "&f/voucher (RANK) (PLAYER)"
  send "&6--------------------------------------------"


on tab complete of "/voucher":
    set tab completions for position 1 to "Vip" and "Mvp" and "Helper" and "Mod" and "Admin" and "Owner"


#Admin Commands
command /voucher [<text>] [to] <player=%player%>:
 permission: boxlife.admin
 permission message: You must be an admin to execute this command!
 trigger:
  if arg-1 is "Vip":
   send "&a&lRANK: &7You have Given %arg-2% Vip Rank!"
   give arg-2 paper named "&x&f&b&9&7&0&0&lV&x&f&b&9&c&0&0&li&x&f&b&a&1&0&0&lp &x&f&b&a&5&0&0&lR&x&f&c&a&a&0&0&la&x&f&c&a&f&0&0&ln&x&f&c&b&4&0&0&lk &x&f&c&b&8&0&0&lV&x&f&c&b&d&0&0&lo&x&f&c&c&2&0&0&lu&x&f&d&c&7&0&0&lc&x&f&d&c&b&0&0&lh&x&f&d&d&0&0&0&le&x&f&d&d&5&0&0&lr" with lore "&7Rank Click to redeem Vip Rank!"
   stop
  if arg-1 is "Mvp":
   send "&a&lRANK: &7You have Given %arg-2% Mvp Rank!"
   give arg-2 paper named "&x&f&b&0&0&f&1&lM&x&e&f&0&0&f&2&lv&x&e&3&0&0&f&3&lp &x&d&7&0&0&f&4&lR&x&c&b&0&0&f&5&la&x&b&f&0&0&f&6&ln&x&b&3&0&0&f&7&lk &x&a&8&0&0&f&7&lV&x&9&c&0&0&f&8&lo&x&9&0&0&0&f&9&lu&x&8&4&0&0&f&a&lc&x&7&8&0&0&f&b&lh&x&6&c&0&0&f&c&le&x&6&0&0&0&f&d&lr" with lore "&7Rank Click to redeem Mvp Rank!"
   stop
  if arg-1 is "Helper":
   send "&a&lRANK: &7You have Given %arg-2% Helper Rank!"
   give arg-2 paper named "&#084cfb&lH&#1256fb&le&#1d61fb&ll&#276bfb&lp&#3176fc&le&#3c80fc&lr &#468bfc&lR&#5095fc&la&#5ba0fc&ln&#65aafc&lk &#6fb4fc&lV&#79bffc&lo&#84c9fd&lu&#8ed4fd&lc&#98defd&lh&#a3e9fd&le&#adf3fd&lr" with lore "&7Rank Click to redeem Helper Rank!"
   stop
  if arg-1 is "Mod":
   send "&a&lRANK: &7You have Given %arg-2% Moderator Rank!"
   give arg-2 paper named "&x&e&7&f&b&0&0&lM&x&e&8&f&4&0&0&lo&x&e&9&e&d&0&0&ld&x&e&a&e&6&0&0&le&x&e&c&e&0&0&0&lr&x&e&d&d&9&0&0&la&x&e&e&d&2&0&0&lt&x&e&f&c&b&0&0&lo&x&f&0&c&4&0&0&lr &x&f&1&b&d&0&0&lR&x&f&3&b&7&0&0&la&x&f&4&b&0&0&0&ln&x&f&5&a&9&0&0&lk &x&f&6&a&2&0&0&lV&x&f&7&9&b&0&0&lo&x&f&8&9&4&0&0&lu&x&f&a&8&e&0&0&lc&x&f&b&8&7&0&0&lh&x&f&c&8&0&0&0&le&x&f&d&7&9&0&0&lr" with lore "&7Rank Click to redeem Moderator Rank!"
   stop
  if arg-1 is "Admin":
   send "&a&lRANK: &7You have Given %arg-2% Admin Rank!"
   give arg-2 paper named "&x&c&f&7&0&f&b&lA&x&c&8&6&9&f&b&ld&x&c&0&6&1&f&b&lm&x&b&9&5&a&f&b&li&x&b&1&5&2&f&c&ln &x&a&a&4&b&f&c&lR&x&a&3&4&3&f&c&la&x&9&b&3&c&f&c&ln&x&9&4&3&4&f&c&lk &x&8&c&2&d&f&c&lV&x&8&5&2&5&f&c&lo&x&7&e&1&e&f&c&lu&x&7&6&1&6&f&d&lc&x&6&f&0&f&f&d&lh&x&6&7&0&7&f&d&le&x&6&0&0&0&f&d&lr" with lore "&7Rank Click to redeem Admin Rank!"
   stop
  if arg-1 is "Owner":
   send "&a&lRANK: &7You have Given %arg-2% Owner Rank!"
   give arg-2 paper named "&x&f&b&0&0&0&0&lO&x&f&b&0&0&0&0&lw&x&f&b&0&0&0&0&ln&x&f&b&0&0&0&0&le&x&f&c&0&0&0&0&lr &x&f&c&0&0&0&0&lR&x&f&c&0&0&0&0&la&x&f&c&0&0&0&0&ln&x&f&c&0&0&0&0&lk &x&f&c&0&0&0&0&lV&x&f&c&0&0&0&0&lo&x&f&c&0&0&0&0&lu&x&f&d&0&0&0&0&lc&x&f&d&0&0&0&0&lh&x&f&d&0&0&0&0&le&x&f&d&0&0&0&0&lr" with lore "&7Rank Click to redeem Owner Rank!"
   stop

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...