Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Hey guys! Someone asked me to make a Rank Skript. And here we are, this skript is going to just be for prefix, i whil make for this scirpt and serie bc it is much work! Permisisons etc are not in this skript!!
- # Link will be down i description!!
- options:
- p: &8[&C&lYou&f<ube&8] #The Prefix
- command /rank [<text>] [<offline player>] [<text>]: #the command
- permission: rank.admin
- permission message: {@p} &cNo permissions!
- trigger:
- if arg 1 is not set:
- send "&c-----------------------------------------------------"
- send "&4/rank set <player> <rank> &8:: &7Set a player's rank"
- send "&4/rank list &8:: &7Shows yo the list of all groups"
- send "&4/rank reset <player> &8:: &7Resets the rank of a player to &7&lMember"
- send "&4/rank info &8:: &7Shows some info about this skript"
- send "&4/rank prefix <player> <prefix> &8:: &7Give someone a custom prefix"
- send "&c-----------------------------------------------------"
- if arg 1 is "set":
- if arg 2 is set:
- if arg 3 is "owner":
- set {rank.%arg 2%} to "&4&lOwner"
- broadcast "{@p} &6%arg 2% &eis our NEW &4&lOwner"
- if arg 3 is "co-owner":
- set {rank.%arg 2%} to "&9&lCo-Owner"
- broadcast "&6%arg 2%&e is our NEW &9&lCo-Owner"
- if arg 3 is "co-owner":
- set {rank.%arg 2%} to "&d&lSubOwner"
- broadcast "&6%arg 2%&e is our NEW &d&lSubOwner"
- if arg 3 is "co-owner":
- set {rank.%arg 2%} to "&e&lAdmin鯖"
- broadcast "&6%arg 2%&e is our NEW &e&lAdmin様"
- if arg 3 is "sr-admin":
- set {rank.%arg 2%} to "&c&lSr. Admin"
- broadcast "{@p} &6%Arg 2% &eis our NEW &c&lSr. Admin"
- if arg 3 is "admin":
- set {rank.%arg 2%} to "&c&lAdmin"
- broadcast "{@p} &6%arg 2% &eis a NEW &c&lAdmin"
- if arg 3 is "sr-mod":
- set {rank.%arg 2%} to "&a&lSr. Mod"
- broadcast "{@p} &6%arg 2% &eis our NEW &a&lSr. Mod"
- if arg 3 is "mod":
- set {rank.%arg 2%} to "&a&lMod"
- broadcast "{@p} &6%arg 2% &eis a NEW &a&lMod"
- if arg 3 is "helper":
- set {rank.%arg 2%} to "&2&lHelper"
- broadcast "{@p} &6%arg 2% &eis a NEW &2&lHelper"
- if arg 3 is "h-builder":
- set {rank.%arg 2%} to "&1&lH-Builder"
- broadcast "{@p} &6%arg 2% &eis our NEW &1&lHead-Builder"
- if arg 3 is "builder":
- set {rank.%arg 2%} to "&1&lBuilder"
- broadcast "{@p} &6%arg 2% &eis a NEW &1&lBuilder"
- if arg 3 is "member":
- set {rank.%arg 2%} to "&7&lMember"
- if arg 1 is "list":
- send "&c--------------------------------------------"
- send "&4&lOwner &7==> &fGroup Name: &8owner"
- send "&9&lCo-Owner &7==> &fGroup Name: &8co-owner"
- send "&c&lSr. Admin &7==> &fGrou Name: &8sr-admin"
- send "&c&lAdmin &7==> &fGroup Name: &8admin"
- send "&a&lSr. Mod &7==> &fGroup Name: &8sr-mod"
- send "&a&lMod &7==> &fGroup Name: &8mod"
- send "&2&lHelper &7==> &fGroup Name: &8helper"
- send "&1&lH-Builder &7==> &fGrop Name: &8h-builder"
- send "&1&lBuilder &7==> &fGroup name: &8builder"
- send "&7&lMember &7==> &fGroup Name: &8member"
- send "&c--------------------------------------------"
- if arg 1 is "info":
- send "&c--------------------------------------------"
- send "&4Skript made by &ccarloverhamme"
- send "&4Version &c1.0"
- send "&c--------------------------------------------"
- if arg 1 is "reset":
- if arg 2 is set:
- set {rank.%arg 2%} to "&7&lMember"
- send "{@p} &cThe rank of &4%arg 2% &chas been reset to &7&lMember"
- send "{@p} &cYour rank has been reset to &7&lMember &cby &4%player%" to arg 2
- else:
- send "{@p} &8Please specify a player!"
- if arg 1 is "prefix":
- if arg 2 is set:
- if arg 3 is set:
- set {rank.%arg 2%} to "%coloured arg 3%"
- send "{@p} &cPrefix of &4%arg 2% &chas been set to: %coloured arg-3%"
- send "{@p} &cYour prefix is now changed by &4%player%&c. Prefix is now %coloured arg-3%" to arg 2
- else:
- send "{@p} &8Please give avalid prefix!"
- else:
- send "{@p} &8Please specify a player!" #all in 1 command
- on chat: # chat format
- cancel event
- broadcast "%{rank.%player%}% &7%player% &8>> &f%message%"
- on first join: # and for first join
- set {rank.%player%} to "&7&lMember"
- on npc right click:
- if citizen is 2:
- cancel event
- open chest with 2 rows named "Lache ton pouce bleu !" to player
- wait 1 tick
- format slot 0 of player with red wool named "&4Abonne toi !" to be unstealable
- command /changeskin <number>:
- permission: cititest.adm
- permission message: Tu n'as pas les permissions !
- trigger:
- change citizen arg 1 skin to "Miilooo"
- wait 5 seconds
- change citizen arg 1 skin to "6mOOn_"
- command /cititest <text>:
- permission: cititest.adm
- permission message: Tu n'as pas les permissions !
- trigger:
- create a citizen named "%arg 1%" at location of player
- set {_item} to "%arg 2%"
- make citizen {_n} hold {stone hoe
- command /mortal <number>:
- trigger:
- make citizen arg 1 vulnerable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement