Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ▄█ █▄ ▄████████ ▀████ ▐████▀ ▄█ ▄████████
- # ███ ███ ███ ███ ███▌ ████▀ ███ ███ ███
- # ███ ███ ███ █▀ ███ ▐███ ███▌ ███ █▀
- # ███ ███ ▄███▄▄▄ ▀███▄███▀ ███▌ ███
- # ███ ███ ▀▀███▀▀▀ ████▀██▄ ███▌ ▀███████████
- # ███ ███ ███ █▄ ▐███ ▀███ ███ ███
- # ███ ███ ███ ███ ▄███ ███▄ ███ ▄█ ███
- # ▀██████▀ ██████████ ████ ███▄ █▀ ▄████████▀
- # (Vexis)
- on first join:
- set {rank.%player's uuid%} to "&7"
- set {userrank.%player's uuid%} to "None"
- set {mined.%player's uuid%} to 0
- set {level.%player's uuid%} to 1
- set {points.%player's uuid%} to 0
- set {prestige.%player's uuid%} to 0
- set {rankcost.%player's uuid%} to 50000
- set {staffuser.%player's uuid%} to false
- make player execute "vexis:scoreboard"
- on join:
- loop 100 times:
- message ""
- message "&8&m*-----------------------------------*"
- message "&c&lVEXIS PRISONS"
- message ""
- message "&7 If you require any sort of assistance you can conatact one of our staff members in game, on our forums or on the discord. Access all of these with /info."
- message "&8&m*-----------------------------------*"
- set join message to "&c&lVEXIS &c» &7%player% has connected."
- make player execute "vexis:scoreboard"
- on chat:
- cancel event
- if {staffchat.%player's uuid%} is set:
- loop all players:
- if {staffuser.%loop-player's uuid%} is true:
- message "&9[Staff] &b%player% &7» &r%message%" to loop-player
- else:
- set tab list name of player to "%{colour.%player's uuid%}%%player%"
- broadcast "&8(&7%{prestige.%player's uuid%}%&8) &8(&7%{level.%player's uuid%}%&8) %{rank.%player's uuid%}%%player% » &7%message%"
- make player execute "/vexis:scoreboard"
- # ########################################################################################################################################################################################################################################################### #
- # ▄████████ ▄██████▄ ▄▄▄▄███▄▄▄▄ ▄▄▄▄███▄▄▄▄ ▄████████ ███▄▄▄▄ ████████▄ ▄████████
- # ███ ███ ███ ███ ▄██▀▀▀███▀▀▀██▄ ▄██▀▀▀███▀▀▀██▄ ███ ███ ███▀▀▀██▄ ███ ▀███ ███ ███
- # ███ █▀ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ █▀
- # ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
- # ███ ███ ███ ███ ███ ███ ███ ███ ███ ▀███████████ ███ ███ ███ ███ ▀███████████
- # ███ █▄ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
- # ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ▄███ ▄█ ███
- # ████████▀ ▀██████▀ ▀█ ███ █▀ ▀█ ███ █▀ ███ █▀ ▀█ █▀ ████████▀ ▄████████
- # (Commands)
- # Reset users statistics command, this command is extremely powerful. It resets the users rank, permissions, balance, kills, deaths, points and level.
- command /reset-user [<offline player>]:
- permission: server.resetuser
- permission message: &cInsufficent permissions.
- trigger:
- if argument 1 is set:
- set {rank.%arg-1's uuid%} to "&7"
- set {userrank.%arg-1's uuid%} to "None"
- set {mined.%arg-1's uuid%} to 0
- set {level.%arg-1's uuid%} to 1
- set {points.%arg-1's uuid%} to 0
- set {prestige.%player's uuid%} to 0
- set {rankcost.%player's uuid%} to 50000
- set {staffuser.%player's uuid%} to false
- make argument 1 execute "vexis:scoreboard"
- if argument 1 is player:
- message "&c&lVEXIS &c» &7Successfully reset your user data."
- else:
- message "&c&lVEXIS &c» &7Successfully reset user &c%argument 1%'s &7data." to player
- message "&c&lVEXIS &c» &7Your user data has been reset by &c%player%&7." to argument 1
- # Scoreboard command, if you'd like this updated, changed or the design to be different contact Aurrra over discord, @Aura#9763.
- command /vexis:scoreboard:
- trigger:
- wipe player's sidebar
- set name of sidebar of player to "&4&lVEXIS PRISONS"
- set score "&8&m-----------*-----------" in sidebar of player to 13
- set score "&c&lRank:" in sidebar of player to 12
- set score "&7%{userrank.%player's uuid%}%" in sidebar of player to 11
- set score "&1" in sidebar of player to 10
- set score "&c&lPrestige:" in sidebar of player to 9
- set score "&7%{prestige.%player's uuid%}%" in sidebar of player to 8
- set score "&8&m----------*-*----------" in sidebar of player to 7
- set score "&c&lUser:" in sidebar of player to 6
- set score "&7Name: &7%player%" in sidebar of player to 5
- set score "&7Level: &7%{level.%player's uuid%}%" in sidebar of player to 4
- set score "&7Points: &7%{points.%player's uuid%}%" in sidebar of player to 3
- set score "&8&m--------*-----*--------" in sidebar of player to 1
- # User management command, this command should not be editted without proper knowledge.
- command /group [<offline player>] [<text>]:
- permission: server.set
- permission message: &cInsufficent permissions.
- trigger:
- if argument 1 is set:
- if argument 2 is set:
- if argument 2 is "owner":
- set {userrank.%arg-1's uuid%} to "Owner"
- set {rank.%arg-1's uuid%} to "&8(&cOwner&8) &c"
- set {colour.%arg-1's uuid%} to "&c"
- set {staffuser.%arg-1's uuid%} to true
- make argument 1 execute "vexis:scoreboard"
- message "&c&lVEXIS &c» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
- message "&c&lVEXIS &c» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
- if argument 2 is "dev":
- set {userrank.%arg-1's uuid%} to "Developer"
- set {rank.%arg-1's uuid%} to "&8(&cDeveloper&8) &c"
- set {colour.%arg-1's uuid%} to "&c"
- set {staffuser.%arg-1's uuid%} to true
- make argument 1 execute "vexis:scoreboard"
- message "&c&lVEXIS &c» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
- message "&c&lVEXIS &c» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
- if argument 2 is "admin":
- set {userrank.%arg-1's uuid%} to "Admin"
- set {rank.%arg-1's uuid%} to "&8(&bAdmin&8) &b"
- set {colour.%arg-1's uuid%} to "&b"
- set {staffuser.%arg-1's uuid%} to true
- make argument 1 execute "vexis:scoreboard"
- message "&c&lVEXIS &c» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
- message "&c&lVEXIS &c» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
- if argument 2 is "mod":
- set {userrank.%arg-1's uuid%} to "Mod"
- set {rank.%arg-1's uuid%} to "&8(&dMod&8) &d"
- set {colour.%arg-1's uuid%} to "&d"
- set {staffuser.%arg-1's uuid%} to true
- make argument 1 execute "vexis:scoreboard"
- message "&c&lVEXIS &c» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
- message "&c&lVEXIS &c» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
- if argument 2 is "helper":
- set {userrank.%arg-1's uuid%} to "Helper"
- set {rank.%arg-1's uuid%} to "&8(&aHelper&8) &a"
- set {colour.%arg-1's uuid%} to "&a"
- set {staffuser.%arg-1's uuid%} to true
- make argument 1 execute "vexis:scoreboard"
- message "&c&lVEXIS &c» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
- message "&c&lVEXIS &c» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
- if argument 2 is "none":
- set {userrank.%arg-1's uuid%} to "None"
- set {rank.%arg-1's uuid%} to "&7"
- set {colour.%arg-1's uuid%} to "&7"
- set {staffuser.%arg-1's uuid%} to false
- make argument 1 execute "vexis:scoreboard"
- message "&c&lVEXIS &c» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
- message "&c&lVEXIS &c» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
- else if argument 2 isn't "owner", "dev", "admin", "mod", "helper" or "none":
- message "&cIncorrect group title:"
- message "&cGroups: Owner, Dev, Admin, Mod, Helper and None"
- else:
- message "&cIncorrest usage:"
- message "&c/group <player> <group title>"
- else:
- message "&cIncorrest usage:"
- message "&c/group <player> <group title>"
- command /backpack [<number>] [<offline player>]:
- aliases: bp
- trigger:
- if argument 1 isn't set:
- message "&cIncorrest usage:"
- if {staffuser.%player's uuid%} is true:
- message "&c/backpack <number> [player]"
- else:
- message "&c/backpack <number> [player]"
- else if argument 1 is set:
- if argument 2 is set:
- if {staffuser.%player's uuid%} is false:
- make player execute "backpack"
- else:
- set {backpack.open.%player%} to arg 1
- set {backpack.open.else.%player%} to arg 2
- open chest with 6 rows named "&c%arg 2%'s &c&lBACKPACK" to player
- wait 1 tick
- set {_num} to 0
- loop {backpack.item.%arg 1%.%arg 2%::*}:
- set slot {_num} of player's current inventory to loop-value
- add 1 to {_num}
- else:
- if player doesn't have permission "server.backpack.%arg 1%":
- send "&cYou don't have permission to open backpack %arg 1%"
- else:
- set {backpack.open.%player%} to arg 1
- open chest with 6 rows named "&c&lBACKPACK" to player
- wait 1 tick
- set {_num} to 0
- loop {backpack.item.%arg 1%.%player%::*}:
- if {backpack.open.%player%} is set:
- set slot {_num} of player's current inventory to loop-value
- add 1 to {_num}
- on rightclick on chest:
- if {backpack.open.%player%} is set:
- cancel event
- delete {backpack.open.%player%}
- on inventory close:
- if {backpack.open.%player%} is set:
- if {backpack.open.else.%player%} is set:
- if inventory name of player's current inventory contains "'s &c&lBACKPACK":
- loop 54 times:
- set {backpack.item.%{vaults.open.%player%}%.%{backpack.open.else.%player%}%::%loop-number - 1%} to slot "%loop-number - 1%" parsed as an integer of current inventory of player
- delete {backpack.open.%player%}
- delete {backpack.open.else.%player%}
- else:
- if inventory name of player's current inventory contains "&c&lBACKPACK":
- loop 54 times:
- set {backpack.item.%{backpack.open.%player%}%.%player%::%loop-number - 1%} to slot "%loop-number - 1%" parsed as an integer of current inventory of player
- delete {backpack.open.%player%}
- command /message [<player>] [<text>]:
- aliases: /msg, /m
- trigger:
- if argument 1 is set:
- if argument 2 is set:
- message "&7(%{rank.%player's uuid%}%%player% &7to %{rank.%player's uuid%}%%argument 1%&7) &r%argument 2%" to player
- message "&7(%{rank.%player's uuid%}%%player% &7to %{rank.%player's uuid%}%%argument 1%&7) &r%argument 2%" to argument 1
- else:
- message "&cIncorrect usage:"
- message "&c/message <player> <message>"
- else:
- message "&cIncorrect usage:"
- message "&c/message <player> <message>"
- command /rankup:
- trigger:
- if {level.%player's uuid%} isn't 100:
- if {points.%player's uuid%} parsed as a number > {rankcost.%player's uuid%}:
- add 1 to {level.%player's uuid%}
- remove {rankcost.%player's uuid%} from {points.%player's uuid%}
- add 50000 to {rankcost.%player's uuid%}
- message "&cYou've ranked up to %{level.%player's uuid%}%"
- else:
- message "&cInsufficent currency:"
- message ""
- message "&cYour points: %{points.%player's uuid%}%"
- message "&cRequired points: &l%{rankcost.%player's uuid%}%"
- else:
- message "&cYou are max level."
- command /eco [<offline player>] [<integer>]:
- trigger:
- if player has permission "server.eco.set":
- if argument 1 is set:
- if argument 2 is set:
- if argument 1 is player:
- set {points.%player's uuid%} to argument 2
- message "&c&lVEXIS &c» &7Set your balance to &c%argument 2%"
- make player execute "vexis:scoreboard"
- else:
- set {points.%arg-1's uuid%} to argument 2
- message "&c&lVEXIS &c» &7Set %argument 1%'s balance to &c%argument 2%" to player
- message "&c&lVEXIS &c» &7Your balance was set to &c%argument 2% &7by %player%" to argument 1
- make argument 1 execute "vexis:scoreboard"
- else:
- message "&cIncorrect usage:"
- message "&c/eco <player> <points>"
- else:
- message "&cIncorrect usage:"
- message "&c/eco <player> <points>"
- else:
- message "&c&lVEXIS &c» &7Points: %{points.%player's uuid%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement