Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /set [<text>] [<text>]:
- permission: server.set
- permission message: &rUnknown command. Type "/help" for help.
- executable by: players
- trigger:
- if argument 1 isn't set:
- message "&cIncorrect Usage Format: <Required> [Opinional]"
- message "&cIncorrect usage, &n/set <location> [coords]"
- if argument 1 is set:
- if argument 2 is set:
- if argument 1 is "spawn":
- set {location.spawn} to argument 2
- message "&7[&b&l*&7] Location &lSPAWN &7has been successfully updated to location: &l%{location.spawn}%"
- else:
- set {location.spawn} to location of player
- message "&7[&b&l*&7] Location &lSPAWN &7has been successfully updated to location: &l%{location.spawn}%"
- command /spawn [<player>]:
- trigger:
- if argument 1 isn't set:
- teleport player to {location.spawn}
- message "&7[&b&l*&7] Successfully transported you to spawn!"
- else:
- if player has permission "server.teleport.other":
- if arg-1 is a player:
- set {_user} to argument 1
- teleport argument 1 to {location.spawn}
- message "&7[&b&l*&7] Successfully transported %{_user}% to spawn!" to player
- message "&7[&b&l*&7] You've been forcefully teleported to spawn by &l%player%" to argument 1
- delete {_user}
- else:
- make player execute "spawn"
- command /gamemode [<text>] [<player>]:
- permission: server.gamemode
- permission message: &rUnknown command. Type "/help" for help.
- aliases: /gm
- executable by: players
- trigger:
- if argument 1 isn't set:
- message "&cIncorrect Usage Format: <Required> [Opinional]"
- message "&cIncorrect usage, &n/gamemode <gamemode> [player]"
- if argument 1 is set:
- if argument 2 is set:
- if argument 1 is "Creative", "C" or "1":
- if player has permission "server.gamemode.other":
- set {_user} to argument 2
- set gamemode of {_user} to creative
- message "&7[&b&l*&7] Successfully set the gamemode of %{_user}% &7to creative." to player
- message "&7[&b&l*&7] You're gamemode has been change to creative by &l%player%" to argument 2
- delete {_user}
- else:
- message "&cYou don't have permissions to set other players gamemodes."
- if argument 1 is "Survival", "S" or "0":
- if player has permission "server.gamemode.other":
- set {_user} to argument 2
- set gamemode of {_user} to survival
- message "&7[&b&l*&7] Successfully set the gamemode of %{_user}% &7to survival." to player
- message "&7[&b&l*&7] You're gamemode has been change to survival by &l%player%" to argument 2
- delete {_user}
- else:
- message "&cYou don't have permissions to set other players gamemodes."
- if argument 1 is "Adventure", "A" or "2":
- if player has permission "server.gamemode.other":
- set {_user} to argument 2
- set gamemode of {_user} to adventure
- message "&7[&b&l*&7] Successfully set the gamemode of %{_user}% &7to adventure." to player
- message "&7[&b&l*&7] You're gamemode has been change to adventure by &l%player%" to argument 2
- delete {_user}
- else:
- message "&cYou don't have permissions to set other players gamemodes."
- if argument 2 isn't set:
- if argument 1 is "Creative", "C" or "1":
- set {_user} to player
- set gamemode of {_user} to creative
- message "&7[&b&l*&7] Successfully set your gamemode &7to creative." to player
- delete {_user}
- if argument 1 is "Survival", "S" or "0":
- set {_user} to player
- set gamemode of {_user} to survival
- message "&7[&b&l*&7] Successfully set your gamemode &7to survival." to player
- delete {_user}
- if argument 1 is "Adventure", "A" or "2":
- set {_user} to player
- set gamemode of {_user} to adventure
- message "&7[&b&l*&7] Successfully set your gamemode &7to adventure." to player
- delete {_user}
- on command "/gm":
- cancel event
- make player execute "/gamemode"
- on command "/bal" or "/money":
- cancel event
- make player execute "/balance"
- command /balance [<player>]:
- aliases: /bal, /money
- trigger:
- if argument 1 isn't set:
- message "&7[&b&l*&7] Balance: %{balance.%player's uuid%}%"
- if argument 1 is set:
- if player has permission "server.balance.other":
- set {_user} to argument 1
- message "&7[&b&l*&7] Balance of %{_user}%: %{balance.%arg-1's uuid%}%"
- delete {_user}
- else:
- message "&cYou don't have permissions to view other players balance."
- message "&c"
- message "&cPurchase a donation rank with &l/buy &cto gain access to donation perks, commands and more."
- command /reset-user [<offline player>]:
- permission: server.reset.user
- permission message: &rUnknown command. Type "/help" for help.
- aliases: /r-user
- executable by: players
- trigger:
- if argument 1 isn't set:
- message "&cIncorrect Usage Format: <Required> [Opinional]"
- message "&cIncorrect usage, &n/reset-user <player>"
- else:
- set {prisonrank.%arg-1's uuid%} to "A"
- set {balance.%arg-1's uuid%} to "0"
- make console execute "¶rank %arg-1% user"
- message "&7[&b&l*&7] Successfully reset the statistics of %argument 1%" to player
- message "&7[&b&l*&7] Your statstics have been reset by %player%" to argument 1
- command /stats [<text>] [<text>] [<offline player>] [<text>]:
- permission: server.stats
- permission message: &rUnknown command. Type "/help" for help.
- trigger:
- if argument 1 isn't set:
- message "&cIncorrect Usage Format: <Required> [Opinional]"
- message "&cIncorrect usage, &n/stats <set|add> <statistic> [player] <amount>"
- if argument 1 is "set":
- if argument 2 is "balance", "money" or "currency":
- if argument 3 is set:
- if argument 4 is set:
- set {balance.%arg-3's uuid%} to argument 4
- message "&7[&b&l*&7] Successfully set %arg-3%'s balance to %arg-4%" to player
- message "&7[&b&l*&7] Your balance has been set to %arg-4% by %player%" to argument 3
- command /rankup:
- trigger:
- if {prisonrank.%player's uuid%} is "A":
- if {balance.%player's uuid%} < 4999:
- remove 5000 from {balance.%player's uuid%}
- set {prisonrank.%player's uuid%} to "B"
- message "&7[&b&l*&7] Successfully purchased prison rank &lB &7congratulations!"
- broadcast "&7[&bRank-Up&7] User &l%player% &7has purchased prison rank &lB"
- else:
- message "&cYou don't have a sufficent balance to purchase a rankup."
- message "&c"
- message "&cCurrent Balance: $%{balance.%player's uuid%}%"
- message "&cRequired Balance: &l$5000"
- command /setup-warden [<text>]:
- permission: server.setup.warden
- permission message: &rUnknown command. Type "/help" for help.
- aliases: /s-warden
- executable by: players
- trigger:
- if argument 1 is set:
- if argument 1 is "helmet":
- set {warden.helmet} to player's tool
- message "&7[&b&l*&7] Successfully set &lWARDEN HELMET &7to %player's tool%"
- if argument 1 is "chestplate":
- set {warden.chestplate} to player's tool
- message "&7[&b&l*&7] Successfully set &lWARDEN CHESTPLATE &7to %player's tool%"
- if argument 1 is "leggings":
- set {warden.leggings} to player's tool
- message "&7[&b&l*&7] Successfully set &lWARDEN LEGGINGS &7to %player's tool%"
- if argument 1 is "boots":
- set {warden.boots} to player's tool
- message "&7[&b&l*&7] Successfully set &lWARDEN BOOTS &7to %player's tool%"
- else:
- message "&cIncorrect Usage Format: <Required> [Opinional]"
- message "&cIncorrect usage, &n/setup-warden <armor piece>"
- on death:
- if {warden.%attacker%} is true:
- clear drops
- on drop:
- if {warden.%player%} is true:
- cancel event
- on pick up:
- if {warden.%player%} is true:
- cancel event
- command /wardenmode:
- permission: server.warden
- permission message: &cYou aren't a &lWarden&c, To become a warden complete the prison or purchase the warden rank on our store.
- aliases: /warden
- executable by: players
- trigger:
- if {warden.%player%} is set:
- clear player's inventory
- set gamemode of player to survival
- teleport player to {location.spawn}
- delete {warden.%player%}
- broadcast "&7[&bWarden&7] User &l%player% &7has left warden mode, learn more about warden mode with &l/information"
- message "&3&lWARDEN MODE DISABLED"
- message ""
- message "&3Abuse of the warden mode can result in a removal of the rank and/or permissions."
- else:
- if {warden.sure.%player%} is not set:
- message "&3Once your enter the warden mode your inventory will be cleared, If your ready to enter warden mode type /wardenmode once more."
- set {warden.sure.%player%} to true
- else:
- clear player's inventory
- set gamemode of player to survival
- teleport player to {location.spawn}
- delete {warden.sure.%player%}
- set {warden.%player%} to true
- broadcast "&7[&bWarden&7] User &l%player% &7has entered warden mode, learn more about warden mode with &l/information"
- message "&3&lWARDEN MODE ENABLED"
- message ""
- message "&3Abuse of the warden mode can result in a removal of the rank and/or permissions."
- set player's helmet to {warden.helmet} named "&bWarden's Helmet"
- set player's chestplate to {warden.chestplate} named "&bWarden's Chestplate"
- set player's leggings to {warden.leggings} named "&bWarden's Leggings"
- set player's boots to {warden.boots} named "&bWarden's Boots"
- set slot 0 of player to stick of knockback 3 named "&bBatton"
- set slot 1 of player to bow of power 2 and unbreaking 3 and infinity 1 named "&bSniper Rifle"
- set slot 2 of player to golden sword of sharpness 3 and unbreaking 4 named "&bShiny Sword"
- set slot 28 of player to arrow named "&bBullet"
- command /information [<text>]:
- trigger:
- if argument 1 isn't set:
- message "&cIncorrect Usage Format: <Required> [Opinional]"
- message "&cIncorrect usage, &n/information <warden|store>"
- if argument 1 is "warden":
- message "&r"
- message "&7[&3Warden&7] Rank"
- message "&rThe warden rank is a donation rank, purchased on our store(/information store)."
- message "&r"
- message "It is also found in drop parties and can be redeemed with a Warden Pass. The rank includes a custom gamemode called Warden Mode, you can access warden mode with the command /warden or /wardenmode. Abuse of this command will result in the removal of the rank and/or permissions."
- message "&r"
- message "The rank has all previous exclusive perks and permissions from other donation rank and more!"
- message "&r"
- command /warden-pass:
- permission: server.warden.pass
- permission message: &rUnknown command. Type "/help" for help.
- aliases: /givewarden
- executable by: players
- trigger:
- give player empty map named "&3&lWARDEN PASS" with lore "&7Warden Pass||||&bOnce clicked, the clicked user will||&brecieve the &3&lWarden &brank, title||&band permissions.||||&7Found in drop parties or purchased||&7on our store."
- message "&7[&b&l*&7] Successfully given yourself a Warden Pass"
- on click:
- if player's tool is a empty map named "&3&lWARDEN PASS" with lore "&7Warden Pass||||&bOnce clicked, the clicked user will||&brecieve the &3&lWarden &brank, title||&band permissions.||||&7Found in drop parties or purchased||&7on our store.":
- if {staffuser.%player's uuid%} is true:
- cancel event
- message "&cYou cannot redeem a Warden Pass if you are a staff rank."
- else if {rank.%player's uuid%} is "&7[&3Warden&7] &3":
- cancel event
- message "&cYou cannot redeem a Warden Pass if you already are the warden rank."
- else if {rank.%player's uuid%} isn't "&7[&3Warden&7] &3":
- remove 1 empty map named "&3&lWARDEN PASS" with lore "&7Warden Pass||||&bOnce clicked, the clicked user will||&brecieve the &3&lWarden &brank, title||&band permissions.||||&7Found in drop parties or purchased||&7on our store." from player
- make console execute "¶rank %player% warden"
- broadcast "&7[&3Rank-Up&7] User &l%player% &7has redeemed a &3&lWarden Rank &7from a Warden Pass, learn more about the warden rank with &l/information"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement