Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- ChatHUB: &3Hub >
- ChatTheTower: &3TheTower >
- prefixWorld: &36moon >
- tabHeaderHub: "&3&lTabList du Hub"
- tabHeaderTheTower: "&3&lTabList du TheTower"
- tabHeaderWorld: "&3&lTabList du Monde World"
- on chat: # Chat par monde !
- cancel event
- if player is in world "HUB":
- broadcast "{@ChatHUB} &b%player%&f: %message%"
- if player is in world "TheTower"
- broadcast "{@ChatTheTower} &b%player%&f: %message%"
- if player is in world "World"
- broadcast "{@prefixWorld} &b%player%&f: %message%"
- on join:
- execute player command "/tablist refresh"
- on kick:
- execute player command "/tablist refresh"
- on quit:
- execute player command "/tablist refresh"
- every 60 seconds:
- execute console command "/tablist refresh"
- on teleport:
- execute console command "/tablist refresh"
- command /tablist refresh: # TabList par Monde !
- aliases: btl
- description: Permet de rafraichir les tabLists de tous les joueurs. Requis en cas modification des messages.
- executable by: console and players
- trigger:
- loop all players:
- if loop-player is in world "HUB":
- set tab header to {@tabHeaderHub} and footer to {@tabFooter} for loop-player
- wait 1 tick
- if loop-player is in world "TheTower":
- set tab header to {@tabHeaderTheTower} and footer to {@tabFooter} for loop-player
- wait 1 tick
- if loop-player is in world "World":
- set tab header to {@tabHeaderworld} and footer to {@tabFooter} for loop-player
- wait 1 tick
- every 5 second: # ScoreBoard par Monde !
- loop all players:
- if loop-player is in world "HUB":
- wipe loop-player's sidebar
- wait 1 tick
- set name of sidebar of loop-player to " &3&lVotre Serveur "
- set score " " in sidebar of loop-player to 7
- set score "&7Monde: &a%player's world%" in sidebar of loop-player to 6
- set score "&7Ping: &a%player's ping%" in sidebar of loop-player to 5
- set score "&7Coins: &b0" in sidebar of loop-player to 4
- set score " " in sidebar of loop-player to 3
- set score "&7Connectés: &b%amount of players%" in sidebar of loop-player to 2
- set score " " in sidebar of loop-player to 1
- if loop-player is in world "TheTower":
- wipe loop-player's sidebar
- wait 1 tick
- set name of sidebar of loop-player to " &3&l適当なSK鯖 "
- set score " " in sidebar of loop-player to 7
- set score "&7Monde: &a%player's world%" in sidebar of loop-player to 6
- set score "&7Ping: &a%player's ping%" in sidebar of loop-player to 5
- set score "&7Coins: &b0" in sidebar of loop-player to 4
- set score " " in sidebar of loop-player to 3
- set score "&7Connectés: &b%amount of players%" in sidebar of loop-player to 2
- set score " " in sidebar of loop-player to 1
- if loop-player is in world "World":
- wipe loop-player's sidebar
- wait 1 tick
- set name of sidebar of loop-player to " &3&lVotre Serveur "
- set score " " in sidebar of loop-player to 7
- set score "&7Monde: &a%player's world%" in sidebar of loop-player to 6
- set score "&7Ping: &a%player's ping%" in sidebar of loop-player to 5
- set score "&7Coins: &b0" in sidebar of loop-player to 4
- set score " " in sidebar of loop-player to 3
- set score "&7Connectés: &b%amount of players%" in sidebar of loop-player to 2
- set score " " in sidebar of loop-player to 1
- else:
- wipe loop-player's sidebar
- # Profiles Skript - Developed By ItsSniper #
- # Do not steal or reupload! #
- # Wanna support me? Subscribe to my channel: http://youtube.com/c/ItsSniper #
- # Do not modify code below! #
- options:
- version: Release 1.9
- on load:
- if {profile.prefix} is not set:
- set {profile.prefix} to "&3&oProfiles &9&o>>"
- if {profile.ID} is not set:
- set {profile.ID} to "book"
- on join:
- if text from "http://pastebin.com/raw/LniMP1n0" is not "{@version}":
- if player has permission "profile.update.notify" or "profile.staff.*":
- if {update.notify.off} is not set:
- set {profiles.newversion} to text from "http://pastebin.com/raw/LniMP1n0"
- wait 3 seconds
- message "%{profile.prefix}% &cCurrent Version: {@version} - New Version: %{profiles.newversion}%"
- message "%{profile.prefix}% &chttp://bit.ly/ProfileSkript"
- if {profiles::inactive::%uuid of player%} is set:
- set {profiles::inactive::%uuid of player%} to 0
- stop
- else:
- stop
- every hour:
- loop {profiles::inactive::*}:
- set {_player} to "%loop-index%" parsed as a player
- if {profiles::inactive::%loop-index%} is greater than 336:
- delete {profile.%loop-index%.age}
- delete {profile.%loop-index%.gender}
- delete {profile.%loop-index%.country}
- delete {profile.%loop-index%.bio}
- delete {profile.%loop-index%.nickname}
- delete {profile.%loop-index%.likes}
- delete {profile.%loop-index%.dislikes}
- delete {profile.%loop-index%.mob}
- delete {profile.%loop-index%.ore}
- delete {profile.%loop-index%.gamemode}
- delete {profile.%loop-index%.private}
- delete {profile.%loop-index%.color}
- delete {profile.%loop-index%.color2}
- wait 1 second
- delete {profiles::inactive::%loop-index%}
- stop
- else:
- add 1 to {profiles::inactive::%loop-index%}
- stop
- command /profile [<offline player>] [<offline player>]:
- trigger:
- if arg 1 is not set:
- if arg 2 is not set:
- if {profiles::inactive::%uuid of player%} is set:
- set {_profile.%player%.id} to "%{profile.ID}%" parsed as item
- wait 0.5 seconds
- set {profile.%uuid of player%.menu} to true
- if {profile.%uuid of player%.banned} is not set:
- if "%{profile.%uuid of player%.color}%" is "4":
- open chest with 6 rows named "&4&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of player%.color}%" is "1":
- open chest with 6 rows named "&1&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of player%.color}%" is "2":
- open chest with 6 rows named "&2&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of player%.color}%" is "d":
- open chest with 6 rows named "&d&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of player%.color}%" is "e":
- open chest with 6 rows named "&e&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of player%.color}%" is "5":
- open chest with 6 rows named "&5&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of player%.color}%" is "6":
- open chest with 6 rows named "&6&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of player%.color}%" is "8":
- open chest with 6 rows named "&8&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of player%.color}%" is "a":
- open chest with 6 rows named "&a&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of player%.color}%" is "holiday":
- open chest with 6 rows named "&a&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of player%.color}%" is "ocean":
- open chest with 6 rows named "&b&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of player%.color}%" is "lava":
- open chest with 6 rows named "&4&l ● Profile ●" to player
- else:
- open chest with 6 rows named "&f&l ● Profile ●" to player
- if text from "http://pastebin.com/raw/z2d2RQrM" contains "%player%":
- if {profile.%uuid of player%.followers} is set:
- if {profile.%uuid of player%.following} is set:
- format slot 4 of player with player's skull named "&a%player% ✪" with lore "&5&lSupporter||&eFollowers: %{profile.%uuid of player%.followers}%||&eFollowing: %{profile.%uuid of player%.following}%" to close
- else:
- if {profile.%uuid of player%.followers} is set:
- if {profile.%uuid of player%.following} is not set:
- format slot 4 of player with player's skull named "&a%player% ✪" with lore "&5&lSupporter||&eFollowers: %{profile.%uuid of player%.followers}%||&eFollowing: 0" to close
- else:
- format slot 4 of player with player's skull named "&a%player% ✪" with lore "&5&lSupporter||&eFollowers: %{profile.%uuid of player%.followers}%||&eFollowing: %{profile.%uuid of player%.following}%" to close
- else:
- if {profile.%uuid of player%.followers} is not set:
- if {profile.%uuid of player%.following} is set:
- format slot 4 of player with player's skull named "&a%player% ✪" with lore "&5&lSupporter||&eFollowers: 0||&eFollowing: %{profile.%uuid of player%.following}%" to close
- else:
- format slot 4 of player with player's skull named "&a%player% ✪" with lore "&5&lSupporter||&eFollowers: 0||&eFollowing: 0" to close
- else:
- if text from "http://pastebin.com/raw/Szk7nq60" contains "%player%":
- if {profile.%uuid of player%.followers} is set:
- if {profile.%uuid of player%.following} is set:
- set {_profilerank} to text from "http://pastebin.com/raw/t20tCBFR"
- format slot 4 of player with player's skull named "&a%player% ✪" with lore "&5&l%{_profilerank}%||&eFollowers: %{profile.%uuid of player%.followers}%||&eFollowing: %{profile.%uuid of player%.following}%" to close
- else:
- if {profile.%uuid of player%.followers} is set:
- if {profile.%uuid of player%.following} is not set:
- set {_profilerank} to text from "http://pastebin.com/raw/t20tCBFR"
- format slot 4 of player with player's skull named "&a%player% ✪" with lore "&5&l%{_profilerank}%||&eFollowers: %{profile.%uuid of player%.followers}%||&eFollowing: 0" to close
- else:
- set {_profilerank} to text from "http://pastebin.com/raw/t20tCBFR"
- format slot 4 of player with player's skull named "&a%player% ✪" with lore "&5&l%{_profilerank}%||&eFollowers: %{profile.%uuid of player%.followers}%||&eFollowing: %{profile.%uuid of player%.following}%" to close
- else:
- if {profile.%uuid of player%.followers} is not set:
- if {profile.%uuid of player%.following} is set:
- set {_profilerank} to text from "http://pastebin.com/raw/t20tCBFR"
- format slot 4 of player with player's skull named "&a%player% ✪" with lore "&5&l%{_profilerank}%||&eFollowers: 0||&eFollowing: %{profile.%uuid of player%.following}%" to close
- else:
- set {_profilerank} to text from "http://pastebin.com/raw/t20tCBFR"
- format slot 4 of player with player's skull named "&a%player% ✪" with lore "&5&l%{_profilerank}%||&eFollowers: 0||&eFollowing: 0" to close
- else:
- if text from "http://pastebin.com/raw/ULZ5N0uX" contains "%player%":
- if {profile.%uuid of player%.followers} is set:
- if {profile.%uuid of player%.following} is set:
- format slot 4 of player with player's skull named "&a%player% ✪" with lore "&5&lVIP||&eFollowers: %{profile.%uuid of player%.followers}%||&eFollowing: %{profile.%uuid of player%.following}%" to close
- else:
- if {profile.%uuid of player%.followers} is set:
- if {profile.%uuid of player%.following} is not set:
- format slot 4 of player with player's skull named "&a%player% ✪" with lore "&5&lVIP||&eFollowers: %{profile.%uuid of player%.followers}%||&eFollowing: 0" to close
- else:
- format slot 4 of player with player's skull named "&a%player% ✪" with lore "&5&lVIP||&eFollowers: %{profile.%uuid of player%.followers}%||&eFollowing: %{profile.%uuid of player%.following}%" to close
- else:
- if {profile.%uuid of player%.followers} is not set:
- if {profile.%uuid of player%.following} is set:
- format slot 4 of player with player's skull named "&a%player% ✪" with lore "&5&lVIP||&eFollowers: 0||&eFollowing: %{profile.%uuid of player%.following}%" to close
- else:
- format slot 4 of player with player's skull named "&a%player% ✪" with lore "&5&lVIP||&eFollowers: 0||&eFollowing: 0" to close
- else:
- if {profile.%uuid of player%.followers} is set:
- if {profile.%uuid of player%.following} is set:
- format slot 4 of player with player's skull named "&a%player%" with lore "&eFollowers: %{profile.%uuid of player%.followers}%||&eFollowing: %{profile.%uuid of player%.following}%" to close
- else:
- if {profile.%uuid of player%.followers} is set:
- if {profile.%uuid of player%.following} is not set:
- format slot 4 of player with player's skull named "&a%player%" with lore "&eFollowers: %{profile.%uuid of player%.followers}%||&eFollowing: 0" to close
- else:
- format slot 4 of player with player's skull named "&a%player%" with lore "&eFollowers: %{profile.%uuid of player%.followers}%||&eFollowing: %{profile.%uuid of player%.following}%" to close
- else:
- if {profile.%uuid of player%.followers} is not set:
- if {profile.%uuid of player%.following} is set:
- format slot 4 of player with player's skull named "&a%player%" with lore "&eFollowers: 0||&eFollowing: %{profile.%uuid of player%.following}%" to close
- else:
- format slot 4 of player with player's skull named "&a%player%" with lore "&eFollowers: 0||&eFollowing: 0" to close
- format slot 53 of player with compass named "&aSettings" with lore "&eClick for profile settings" to close then run [make player execute command "profile settings"]
- if {profile.%uuid of player%.age} is set:
- format slot 20 of player with {_profile.%player%.id} named "&aAge" with lore "&e%{profile.%uuid of player%.age}%" to close then run [make player execute command "profile age"]
- else:
- format slot 20 of player with {_profile.%player%.id} named "&aAge" with lore "&eNot Set" to close then run [make player execute command "profile age"]
- if {profile.%uuid of player%.gender} is set:
- format slot 21 of player with {_profile.%player%.id} named "&aGender" with lore "&e%{profile.%uuid of player%.gender}%" to close then run [make player execute command "profile gender"]
- else:
- format slot 21 of player with {_profile.%player%.id} named "&aGender" with lore "&eNot Set" to close then run [make player execute command "profile gender"]
- if {profile.%uuid of player%.country} is set:
- format slot 22 of player with {_profile.%player%.id} named "&aCountry" with lore "&e%{profile.%uuid of player%.country}%" to close then run [make player execute command "profile country"]
- else:
- format slot 22 of player with {_profile.%player%.id} named "&aCountry" with lore "&eNot Set" to close then run [make player execute command "profile country"]
- if {profile.%uuid of player%.bio} is set:
- format slot 23 of player with {_profile.%player%.id} named "&aBio" with lore "&e%{profile.%uuid of player%.bio}%" to close then run [make player execute command "profile bio"]
- else:
- format slot 23 of player with {_profile.%player%.id} named "&aBio" with lore "&eNot Set" to close then run [make player execute command "profile bio"]
- if {profile.%uuid of player%.nickname} is set:
- format slot 24 of player with {_profile.%player%.id} named "&aNickname" with lore "&e%{profile.%uuid of player%.nickname}%" to close then run [make player execute command "profile nickname"]
- else:
- format slot 24 of player with {_profile.%player%.id} named "&aNickname" with lore "&eNot Set" to close then run [make player execute command "profile nickname"]
- if {profile.%uuid of player%.likes} is set:
- format slot 29 of player with {_profile.%player%.id} named "&aLikes" with lore "&e%{profile.%uuid of player%.likes}%" to close then run [make player execute command "profile likes"]
- else:
- format slot 29 of player with {_profile.%player%.id} named "&aLikes" with lore "&eNot Set" to close then run [make player execute command "profile likes"]
- if {profile.%uuid of player%.dislikes} is set:
- format slot 30 of player with {_profile.%player%.id} named "&aDislikes" with lore "&e%{profile.%uuid of player%.dislikes}%" to close then run [make player execute command "profile dislikes"]
- else:
- format slot 30 of player with {_profile.%player%.id} named "&aDislikes" with lore "&eNot Set" to close then run [make player execute command "profile dislikes"]
- if {profile.%uuid of player%.mob} is set:
- format slot 31 of player with {_profile.%player%.id} named "&aFavorite Mob" with lore "&e%{profile.%uuid of player%.mob}%" to close then run [make player execute command "profile mob %player%"]
- else:
- format slot 31 of player with {_profile.%player%.id} named "&aFavorite Mob" with lore "&eNot Set" to close then run [make player execute command "profile mob %player%"]
- if {profile.%uuid of player%.ore} is set:
- format slot 32 of player with {_profile.%player%.id} named "&aFavorite Ore" with lore "&e%{profile.%uuid of player%.ore}%" to close then run [make player execute command "profile ore %player%"]
- else:
- format slot 32 of player with {_profile.%player%.id} named "&aFavorite Ore" with lore "&eNot Set" to close then run [make player execute command "profile ore %player%"]
- if {profile.%uuid of player%.gamemode} is set:
- format slot 33 of player with {_profile.%player%.id} named "&aFavorite Gamemode" with lore "&e%{profile.%uuid of player%.gamemode}%" to close then run [make player execute command "profile gamemode %player%"]
- else:
- format slot 33 of player with {_profile.%player%.id} named "&aFavorite Gamemode" with lore "&eNot Set" to close then run [make player execute command "profile gamemode %player%"]
- format slot 45 of player with block of redstone named "&aClear Profile" with lore "&eClick to clear your profile||&4You can't undo clears!" to close then run [make player execute command "profile clear"]
- if "%{profile.%uuid of player%.color}%" is "4":
- if {profile.%uuid of player%.color2} is not set:
- set {_item.%player%} to "red stained glass pane" parsed as item
- set {_item.%player%.2} to "red stained glass pane" parsed as item
- else:
- set {_item.%player%} to "red stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of player%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of player%.color}%" is "1":
- if {profile.%uuid of player%.color2} is not set:
- set {_item.%player%} to "blue stained glass pane" parsed as item
- set {_item.%player%.2} to "blue stained glass pane" parsed as item
- else:
- set {_item.%player%} to "blue stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of player%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of player%.color}%" is "2":
- if {profile.%uuid of player%.color2} is not set:
- set {_item.%player%} to "green stained glass pane" parsed as item
- set {_item.%player%.2} to "green stained glass pane" parsed as item
- else:
- set {_item.%player%} to "green stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of player%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of player%.color}%" is "d":
- if {profile.%uuid of player%.color2} is not set:
- set {_item.%player%} to "pink stained glass pane" parsed as item
- set {_item.%player%.2} to "pink stained glass pane" parsed as item
- else:
- set {_item.%player%} to "pink stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of player%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of player%.color}%" is "e":
- if {profile.%uuid of player%.color2} is not set:
- set {_item.%player%} to "yellow stained glass pane" parsed as item
- set {_item.%player%.2} to "yellow stained glass pane" parsed as item
- else:
- set {_item.%player%} to "yellow stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of player%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of player%.color}%" is "5":
- if {profile.%uuid of player%.color2} is not set:
- set {_item.%player%} to "purple stained glass pane" parsed as item
- set {_item.%player%.2} to "purple stained glass pane" parsed as item
- else:
- set {_item.%player%} to "purple stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of player%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of player%.color}%" is "6":
- if {profile.%uuid of player%.color2} is not set:
- set {_item.%player%} to "orange stained glass pane" parsed as item
- set {_item.%player%.2} to "orange stained glass pane" parsed as item
- else:
- set {_item.%player%} to "orange stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of player%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of player%.color}%" is "8":
- if {profile.%uuid of player%.color2} is not set:
- set {_item.%player%} to "brown stained glass pane" parsed as item
- set {_item.%player%.2} to "brown stained glass pane" parsed as item
- else:
- set {_item.%player%} to "brown stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of player%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of player%.color}%" is "a":
- if {profile.%uuid of player%.color2} is not set:
- set {_item.%player%} to "stained glass pane:5" parsed as item
- set {_item.%player%.2} to "stained glass pane:5" parsed as item
- else:
- set {_item.%player%} to "stained glass pane:5" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of player%.color2}% stained glass pane" parsed as item
- format slot 0 of player with {_item.%player%} named "&0" to close
- format slot 1 of player with {_item.%player%} named "&0" to close
- format slot 2 of player with {_item.%player%} named "&0" to close
- format slot 3 of player with {_item.%player%} named "&0" to close
- format slot 5 of player with {_item.%player%} named "&0" to close
- format slot 6 of player with {_item.%player%} named "&0" to close
- format slot 7 of player with {_item.%player%} named "&0" to close
- if {profile.economy} is set:
- if {profile.economy} is "Essentials":
- format slot 8 of player with sunflower named "&2Balance" with lore "&a%balance of player%" to close
- else:
- if {profile.economy} is "UEP":
- if {balance.list::%player%} is set:
- format slot 8 of player with sunflower named "&2Balance" with lore "&a%{balance.list::%player%}%" to close
- else:
- format slot 8 of player with sunflower named "&2Balance" with lore "&a$0" to close
- else:
- format slot 8 of player with {_item.%player%} named "&0" to close
- loop 26 times:
- add 1 to {_num}
- if {_num} is not 4 or 20 or 21 or 22 or 23 or 24 or 29 or 30 or 31 or 32 or 33 or 45:
- format slot {_num} of player with {_item.%player%} named "&0" to close
- add 26 to {_num2}
- loop 26 times:
- add 1 to {_num2}
- if {_num2} is not 20 or 21 or 22 or 23 or 24 or 29 or 30 or 31 or 32 or 33 or 45:
- format slot {_num2} of player with {_item.%player%.2} named "&0" to close
- else:
- open chest with 1 row named "&4&lProfile - Banned" to player
- format slot 0 of player with red stained glass pane named "&0" to close
- format slot 1 of player with red stained glass pane named "&0" to close
- format slot 2 of player with red stained glass pane named "&0" to close
- format slot 3 of player with red stained glass pane named "&0" to close
- format slot 4 of player with player's skull named "&4&lProfile Banned||&4&lReason: %{profile.%uuid of player%.banned}%" to close
- format slot 5 of player with red stained glass pane named "&0" to close
- format slot 6 of player with red stained glass pane named "&0" to close
- format slot 7 of player with red stained glass pane named "&0" to close
- format slot 8 of player with red stained glass pane named "&0" to close
- else:
- open chest with 3 rows named " &9&lCreate Profile" to player
- format slot 11 of player with light green wool block named "&aCreate Profile" with lore "&eClick to create a profile!" to close then run [set {profiles::inactive::%uuid of player%} to 0]->[make player execute command "/profile"]
- format slot 15 of player with red wool block named "&cCancel" with lore "&eClick to cancel profile creation!" to close then run [message "%{profile.prefix}% &cCancelled profile creation!"]
- if arg 1 is set:
- if arg 2 is not set:
- wait 0.3 seconds
- if arg 1 is not "gender" or "age" or "bio" or "country" or "nickname" or "likes" or "dislikes" or "settings" or "color" or "friend" or "friends" or "help" or "version" or "clear" or "verified" or "report" or "reports" or "viewreport" or "ban" or "unban" or "bans" or "notifications" or "economy" or "config":
- if arg 1 is not "%player%":
- if {profile.%uuid of arg-1%.banned} is not set:
- if {profiles::inactive::%uuid of arg-1%} is set:
- if {profile.%uuid of player%.block.%uuid of arg-1%} is not set:
- if {profile.%uuid of arg-1%.block.%uuid of player%} is not set:
- if {profile.%uuid of arg-1%.private} is not set:
- set {profile.%uuid of player%.menu} to true
- set {_profile.%player%.id} to "%{profile.ID}%" parsed as item
- wait 0.2 seconds
- if "%{profile.%uuid of arg-1%.color}%" is "4":
- open chest with 6 rows named "&4&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "1":
- open chest with 6 rows named "&1&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "2":
- open chest with 6 rows named "&2&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "d":
- open chest with 6 rows named "&d&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "e":
- open chest with 6 rows named "&e&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "5":
- open chest with 6 rows named "&5&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "6":
- open chest with 6 rows named "&6&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "8":
- open chest with 6 rows named "&8&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "a":
- open chest with 6 rows named "&a&l ● Profile ●" to player
- else:
- open chest with 6 rows named "&f&l ● Profile ●" to player
- if text from "http://pastebin.com/raw/z2d2RQrM" contains "%arg-1%":
- if {profile.%uuid of arg-1%.followers} is set:
- if {profile.%uuid of arg-1%.following} is set:
- format slot 4 of player with arg-1's skull named "&a%arg-1% ✪" with lore "&5&lSupporter||&eFollowers: %{profile.%uuid of arg-1%.followers}%||&eFollowing: %{profile.%uuid of arg-1%.following}%" to close
- else:
- if {profile.%uuid of arg-1%.followers} is set:
- if {profile.%uuid of arg-1%.following} is not set:
- format slot 4 of player with arg-1's skull named "&a%arg-1% ✪" with lore "&5&lSupporter||&eFollowers: %{profile.%uuid of arg-1%.followers}%||&eFollowing: 0" to close
- else:
- format slot 4 of player with arg-1's skull named "&a%arg-1% ✪" with lore "&5&lSupporter||&eFollowers: %{profile.%uuid of arg-1%.followers}%||&eFollowing: %{profile.%uuid of arg-1%.following}%" to close
- else:
- if {profile.%uuid of arg-1%.followers} is not set:
- if {profile.%uuid of arg-1%.following} is set:
- format slot 4 of player with arg-1's skull named "&a%arg-1% ✪" with lore "&5&lSupporter||&eFollowers: 0||&eFollowing: %{profile.%uuid of arg-1%.following}%" to close
- else:
- format slot 4 of player with arg-1's skull named "&a%arg-1% ✪" with lore "&5&lSupporter||&eFollowers: 0||&eFollowing: 0" to close
- else:
- if text from "http://pastebin.com/raw/Szk7nq60" contains "%arg-1%":
- if {profile.%uuid of arg-1%.followers} is set:
- if {profile.%uuid of arg-1%.following} is set:
- set {_profilerank} to text from "http://pastebin.com/raw/t20tCBFR"
- format slot 4 of player with arg-1's skull named "&a%arg-1% ✪" with lore "&5&l%{_profilerank}%||&eFollowers: %{profile.%uuid of arg-1%.followers}%||&eFollowing: %{profile.%uuid of arg-1%.following}%" to close
- else:
- if {profile.%uuid of arg-1%.followers} is set:
- if {profile.%uuid of arg-1%.following} is not set:
- set {_profilerank} to text from "http://pastebin.com/raw/t20tCBFR"
- set {_profilerank} to text from "http://pastebin.com/raw/t20tCBFR"
- format slot 4 of player with arg-1's skull named "&a%arg-1% ✪" with lore "&5&l%{_profilerank}%||&eFollowers: %{profile.%uuid of arg-1%.followers}%||&eFollowing: 0" to close
- else:
- set {_profilerank} to text from "http://pastebin.com/raw/t20tCBFR"
- format slot 4 of player with arg-1's skull named "&a%arg-1% ✪" with lore "&5&l%{_profilerank}%||&eFollowers: %{profile.%uuid of arg-1%.followers}%||&eFollowing: %{profile.%uuid of arg-1%.following}%" to close
- else:
- if {profile.%uuid of arg-1%.followers} is not set:
- if {profile.%uuid of arg-1%.following} is set:
- set {_profilerank} to text from "http://pastebin.com/raw/t20tCBFR"
- format slot 4 of player with arg-1's skull named "&a%arg-1% ✪" with lore "&5&l%{_profilerank}%||&eFollowers: 0||&eFollowing: %{profile.%uuid of arg-1%.following}%" to close
- else:
- set {_profilerank} to text from "http://pastebin.com/raw/t20tCBFR"
- format slot 4 of player with arg-1's skull named "&a%arg-1% ✪" with lore "&5&l%{_profilerank}%||&eFollowers: 0||&eFollowing: 0" to close
- else:
- if text from "http://pastebin.com/raw/ULZ5N0uX" contains "%arg-1%":
- if {profile.%uuid of arg-1%.followers} is set:
- if {profile.%uuid of arg-1%.following} is set:
- format slot 4 of player with arg-1's skull named "&a%arg-1% ✪" with lore "&5&lVIP||&eFollowers: %{profile.%uuid of arg-1%.followers}%||&eFollowing: %{profile.%uuid of arg-1%.following}%" to close
- else:
- if {profile.%uuid of arg-1%.followers} is set:
- if {profile.%uuid of arg-1%.following} is not set:
- format slot 4 of player with arg-1's skull named "&a%arg-1% ✪" with lore "&5&lVIP||&eFollowers: %{profile.%uuid of arg-1%.followers}%||&eFollowing: 0" to close
- else:
- format slot 4 of player with arg-1's skull named "&a%arg-1% ✪" with lore "&5&lVIP||&eFollowers: %{profile.%uuid of arg-1%.followers}%||&eFollowing: %{profile.%uuid of arg-1%.following}%" to close
- else:
- if {profile.%uuid of arg-1%.followers} is not set:
- if {profile.%uuid of arg-1%.following} is set:
- format slot 4 of player with arg-1's skull named "&a%arg-1% ✪" with lore "&5&lVIP||&eFollowers: 0||&eFollowing: %{profile.%uuid of arg-1%.following}%" to close
- else:
- format slot 4 of player with arg-1's skull named "&a%arg-1% ✪" with lore "&5&lVIP||&eFollowers: 0||&eFollowing: 0" to close
- else:
- if {profile.%uuid of arg-1%.followers} is set:
- if {profile.%uuid of arg-1%.following} is set:
- format slot 4 of player with arg-1's skull named "&a%arg-1%" with lore "&eFollowers: %{profile.%uuid of arg-1%.followers}%||&eFollowing: %{profile.%uuid of arg-1%.following}%" to close
- else:
- if {profile.%uuid of arg-1%.followers} is set:
- if {profile.%uuid of arg-1%.following} is not set:
- format slot 4 of player with arg-1's skull named "&a%arg-1%" with lore "&eFollowers: %{profile.%uuid of arg-1%.followers}%||&eFollowing: 0" to close
- else:
- format slot 4 of player with arg-1's skull named "&a%arg-1%" with lore "&eFollowers: %{profile.%uuid of arg-1%.followers}%||&eFollowing: %{profile.%uuid of arg-1%.following}%" to close
- else:
- if {profile.%uuid of arg-1%.followers} is not set:
- if {profile.%uuid of arg-1%.following} is set:
- format slot 4 of player with arg-1's skull named "&a%arg-1%" with lore "&eFollowers: 0||&eFollowing: %{profile.%uuid of arg-1%.following}%" to close
- else:
- format slot 4 of player with arg-1's skull named "&a%arg-1%" with lore "&eFollowers: 0||&eFollowing: 0" to close
- if {profile.%uuid of player%.following.%uuid of arg-1%} is not set:
- format slot 3 of player with dye:8 named "&aFollow" with lore "&eNot Following||&eClick to follow" to close then run [make player execute command "profile follow %arg-1%"]->[make player execute command "/profile %arg-1%"]
- else:
- format slot 3 of player with dye:10 named "&aUnfollow" with lore "&eFollowing||&eClick to unfollow" to close then run [make player execute command "profile unfollow %arg-1%"]->[make player execute command "/profile %arg-1%"]
- if {profile.%uuid of player%.block.%uuid of arg-1%} is not set:
- format slot 5 of player with dye:8 named "&aBlock" with lore "&eNot Blocked||&eClick to block" to close then run [make player execute command "profile block %arg-1%"]->[make player execute command "/profile %arg-1%"]
- else:
- format slot 5 of player with dye:10 named "&aUnblock" with lore "&eBlocked||&eClick to unblock" to close then run [make player execute command "profile unblock %arg-1%"]->[make player execute command "/profile %arg-1%"]
- if {profile.%uuid of arg-1%.age} is set:
- format slot 20 of player with {_profile.%player%.id} named "&aAge" with lore "&e%{profile.%uuid of arg-1%.age}%" to close
- else:
- format slot 20 of player with {_profile.%player%.id} named "&aAge" with lore "&eNot Set" to close
- if {profile.%uuid of arg-1%.gender} is set:
- format slot 21 of player with {_profile.%player%.id} named "&aGender" with lore "&e%{profile.%uuid of arg-1%.gender}%" to close
- else:
- format slot 21 of player with {_profile.%player%.id} named "&aGender" with lore "&eNot Set" to close
- if {profile.%uuid of arg-1%.country} is set:
- format slot 22 of player with {_profile.%player%.id} named "&aCountry" with lore "&e%{profile.%uuid of arg-1%.country}%" to close
- else:
- format slot 22 of player with {_profile.%player%.id} named "&aCountry" with lore "&eNot Set" to close
- if {profile.%uuid of arg-1%.bio} is set:
- format slot 23 of player with {_profile.%player%.id} named "&aBio" with lore "&e%{profile.%uuid of arg-1%.bio}%" to close
- else:
- format slot 23 of player with {_profile.%player%.id} named "&aBio" with lore "&eNot Set" to close
- if {profile.%uuid of arg-1%.nickname} is set:
- format slot 24 of player with {_profile.%player%.id} named "&aNickname" with lore "&e%{profile.%uuid of arg-1%.nickname}%" to close
- else:
- format slot 24 of player with {_profile.%player%.id} named "&aNickname" with lore "&eNot Set" to close
- if {profile.%uuid of arg-1%.likes} is set:
- format slot 29 of player with {_profile.%player%.id} named "&aLikes" with lore "&e%{profile.%uuid of arg-1%.likes}%" to close
- else:
- format slot 29 of player with {_profile.%player%.id} named "&aLikes" with lore "&eNot Set" to close
- if {profile.%uuid of arg-1%.dislikes} is set:
- format slot 30 of player with {_profile.%player%.id} named "&aDislikes" with lore "&e%{profile.%uuid of arg-1%.dislikes}%" to close
- else:
- format slot 30 of player with {_profile.%player%.id} named "&aDislikes" with lore "&eNot Set" to close
- if {profile.%uuid of arg-1%.mob} is set:
- format slot 31 of player with {_profile.%player%.id} named "&aFavorite Mob" with lore "&e%{profile.%uuid of arg-1%.mob}%" to close
- else:
- format slot 31 of player with {_profile.%player%.id} named "&aFavorite Mob" with lore "&eNot Set" to close
- if {profile.%uuid of arg-1%.ore} is set:
- format slot 32 of player with {_profile.%player%.id} named "&aFavorite Ore" with lore "&e%{profile.%uuid of arg-1%.ore}%" to close
- else:
- format slot 32 of player with {_profile.%player%.id} named "&aFavorite Ore" with lore "&eNot Set" to close
- if {profile.%uuid of arg-1%.gamemode} is set:
- format slot 33 of player with {_profile.%player%.id} named "&aFavorite Gamemode" with lore "&e%{profile.%uuid of arg-1%.gamemode}%" to close
- else:
- format slot 33 of player with {_profile.%player%.id} named "&aFavorite Gamemode" with lore "&eNot Set" to close
- if player has permission "profile.staff":
- format slot 45 of player with block of redstone named "&aClear %arg-1%'s Profile" with lore "&eClick to clear %arg-1%'s profile||&4You can't undo clears!" to close then run [make player execute command "/profile staffclear %arg-1%"]
- if {profile.%uuid of arg-1%.banned} is not set:
- format slot 53 of player with dye:8 named "&aBan %arg-1%'s Profile" with lore "&eClick to ban %arg-1%'s profile" to close then run [make player execute command "/profile ban %arg-1%"]
- else:
- format slot 53 of player with dye:8 named "&aUnban %arg-1%'s Profile" with lore "&eClick to unban %arg-1%'s profile" to close then run [make player execute command "/profile unban %arg-1%"]
- format slot 49 of player with {_profile.%player%.id} named "&4Report Player" with lore "&eClick to report this user's profile" to close then run [make player execute command "/profile report %arg-1%"]
- if "%{profile.%uuid of arg-1%.color}%" is "4":
- if {profile.%uuid of arg-1%.color2} is not set:
- set {_item.%player%} to "red stained glass pane" parsed as item
- set {_item.%player%.2} to "red stained glass pane" parsed as item
- else:
- set {_item.%player%} to "red stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "1":
- if {profile.%uuid of arg-1%.color2} is not set:
- set {_item.%player%} to "blue stained glass pane" parsed as item
- set {_item.%player%.2} to "blue stained glass pane" parsed as item
- else:
- set {_item.%player%} to "blue stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "2":
- if {profile.%uuid of arg-1%.color2} is not set:
- set {_item.%player%} to "green stained glass pane" parsed as item
- set {_item.%player%.2} to "green stained glass pane" parsed as item
- else:
- set {_item.%player%} to "green stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "d":
- if {profile.%uuid of arg-1%.color2} is not set:
- set {_item.%player%} to "pink stained glass pane" parsed as item
- set {_item.%player%.2} to "pink stained glass pane" parsed as item
- else:
- set {_item.%player%} to "pink stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "e":
- if {profile.%uuid of arg-1%.color2} is not set:
- set {_item.%player%} to "yellow stained glass pane" parsed as item
- set {_item.%player%.2} to "yellow stained glass pane" parsed as item
- else:
- set {_item.%player%} to "yellow stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "5":
- if {profile.%uuid of arg-1%.color2} is not set:
- set {_item.%player%} to "purple stained glass pane" parsed as item
- set {_item.%player%.2} to "purple stained glass pane" parsed as item
- else:
- set {_item.%player%} to "purple stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "6":
- if {profile.%uuid of arg-1%.color2} is not set:
- set {_item.%player%} to "orange stained glass pane" parsed as item
- set {_item.%player%.2} to "orange stained glass pane" parsed as item
- else:
- set {_item.%player%} to "orange stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "8":
- if {profile.%uuid of arg-1%.color2} is not set:
- set {_item.%player%} to "brown stained glass pane" parsed as item
- set {_item.%player%.2} to "brown stained glass pane" parsed as item
- else:
- set {_item.%player%} to "brown stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "a":
- if {profile.%uuid of arg-1%.color2} is not set:
- set {_item.%player%} to "stained glass pane:5" parsed as item
- set {_item.%player%.2} to "stained glass pane:5" parsed as item
- else:
- set {_item.%player%} to "stained glass pane:5" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
- format slot 0 of player with {_item.%player%} named "&0" to close
- format slot 1 of player with {_item.%player%} named "&0" to close
- format slot 2 of player with {_item.%player%} named "&0" to close
- format slot 6 of player with {_item.%player%} named "&0" to close
- format slot 7 of player with {_item.%player%} named "&0" to close
- if {profile.economy} is set:
- if {profile.economy} is "Essentials":
- format slot 8 of player with sunflower named "&2Balance" with lore "&a%balance of arg-1%" to close
- else:
- if {profile.economy} is "UEP":
- if {balance.list::%arg-1%} is set:
- format slot 8 of player with sunflower named "&2Balance" with lore "&a%{balance.list::%arg-1%}%" to close
- else:
- format slot 8 of player with sunflower named "&2Balance" with lore "&a$0" to close
- else:
- format slot 8 of player with {_item.%player%} named "&0" to close
- loop 26 times:
- add 1 to {_num}
- if {_num} is not 4 or 20 or 21 or 22 or 23 or 24 or 29 or 30 or 31 or 32 or 33:
- format slot {_num} of player with {_item.%player%} named "&0" to close
- add 26 to {_num2}
- loop 26 times:
- add 1 to {_num2}
- if {_num2} is not 20 or 21 or 22 or 23 or 24 or 29 or 30 or 31 or 32 or 33:
- format slot {_num2} of player with {_item.%player%.2} named "&0" to close
- if player does not have permission "profile.staff":
- format slot 45 of player with {_item.%player%.2} named "&0" to close
- format slot 46 of player with {_item.%player%.2} named "&0" to close
- format slot 47 of player with {_item.%player%.2} named "&0" to close
- format slot 48 of player with {_item.%player%.2} named "&0" to close
- format slot 50 of player with {_item.%player%.2} named "&0" to close
- format slot 51 of player with {_item.%player%.2} named "&0" to close
- format slot 52 of player with {_item.%player%.2} named "&0" to close
- if player does not have permission "profile.staff":
- format slot 53 of player with {_item.%player%.2} named "&0" to close
- else:
- set {_profile.%player%.id} to "%{profile.ID}%" parsed as item
- if {profile.%uuid of arg-1%.private} is set:
- if {profile.%uuid of player%.following.%uuid of arg-1%} is set:
- set {profile.%uuid of player%.menu} to true
- if "%{profile.%uuid of arg-1%.color}%" is "red":
- open chest with 6 rows named "&4&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "blue":
- open chest with 6 rows named "&1&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "green":
- open chest with 6 rows named "&2&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "pink":
- open chest with 6 rows named "&d&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "yellow":
- open chest with 6 rows named "&e&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "5":
- open chest with 6 rows named "&5&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "6":
- open chest with 6 rows named "&6&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "8":
- open chest with 6 rows named "&8&l ● Profile ●" to player
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "a":
- open chest with 6 rows named "&a&l ● Profile ●" to player
- else:
- open chest with 6 rows named "&f&l ● Profile ●" to player
- if {profile.%uuid of arg-1%.banned} is not set:
- if arg-1 is online:
- format slot 4 of player with arg-1's skull named "&a%argument 1%" with lore "&eFollowers: %{profile.%uuid of arg-1%.followers}%||&eFollowing %{profile.%uuid of arg-1%.following}%||&aPlayer is online" to close
- else:
- if arg-1 is not online:
- format slot 4 of player with arg-1's skull named "&a%argument 1%" with lore "&eFollowers: %{profile.%uuid of arg-1%.followers}%||&eFollowing %{profile.%uuid of arg-1%.following}%||&cPlayer is not online" to close
- if {profile.%uuid of player%.following.%uuid of arg-1%} is not set:
- format slot 3 of player with dye:8 named "&aFollow" with lore "&eNot Following||&eClick to follow" to close then run [make player execute command "profile follow %arg-1%"]->[make player execute command "/profile %arg-1%"]
- else:
- format slot 3 of player with dye:10 named "&aUnfollow" with lore "&eFollowing||&eClick to unfollow" to close then run [make player execute command "profile unfollow %arg-1%"]->[make player execute command "/profile %arg-1%"]
- if {profile.%uuid of player%.block.%uuid of arg-1%} is not set:
- format slot 5 of player with dye:8 named "&aBlock" with lore "&eNot Blocked||&eClick to block" to close then run [make player execute command "profile block %arg-1%"]->[make player execute command "/profile %arg-1%"]
- else:
- format slot 5 of player with dye:10 named "&aUnblock" with lore "&eBlocked||&eClick to unblock" to close then run [make player execute command "profile unblock %arg-1%"]->[make player execute command "/profile %arg-1%"]
- if {profile.%uuid of arg-1%.age} is set:
- format slot 20 of player with {_profile.%player%.id} named "&aAge" with lore "&e%{profile.%uuid of arg-1%.age}%" to close
- else:
- format slot 20 of player with {_profile.%player%.id} named "&aAge" with lore "&eNot Set" to close
- if {profile.%uuid of arg-1%.gender} is set:
- format slot 21 of player with {_profile.%player%.id} named "&aGender" with lore "&e%{profile.%uuid of arg-1%.gender}%" to close
- else:
- format slot 21 of player with {_profile.%player%.id} named "&aGender" with lore "&eNot Set" to close
- if {profile.%uuid of arg-1%.country} is set:
- format slot 22 of player with {_profile.%player%.id} named "&aCountry" with lore "&e%{profile.%uuid of arg-1%.country}%" to close
- else:
- format slot 22 of player with {_profile.%player%.id} named "&aCountry" with lore "&eNot Set" to close
- if {profile.%uuid of arg-1%.bio} is set:
- format slot 23 of player with {_profile.%player%.id} named "&aBio" with lore "&e%{profile.%uuid of arg-1%.bio}%" to close
- else:
- format slot 23 of player with {_profile.%player%.id} named "&aBio" with lore "&eNot Set" to close
- if {profile.%uuid of arg-1%.nickname} is set:
- format slot 24 of player with {_profile.%player%.id} named "&aNickname" with lore "&e%{profile.%uuid of arg-1%.nickname}%" to close
- else:
- format slot 24 of player with {_profile.%player%.id} named "&aNickname" with lore "&eNot Set" to close
- if {profile.%uuid of arg-1%.likes} is set:
- format slot 29 of player with {_profile.%player%.id} named "&aLikes" with lore "&e%{profile.%uuid of arg-1%.likes}%" to close
- else:
- format slot 29 of player with {_profile.%player%.id} named "&aLikes" with lore "&eNot Set" to close
- if {profile.%uuid of arg-1%.dislikes} is set:
- format slot 30 of player with {_profile.%player%.id} named "&aDislikes" with lore "&e%{profile.%uuid of arg-1%.dislikes}%" to close
- else:
- format slot 30 of player with {_profile.%player%.id} named "&aDislikes" with lore "&eNot Set" to close
- if {profile.%uuid of arg-1%.mob} is set:
- format slot 31 of player with {_profile.%player%.id} named "&aFavorite Mob" with lore "&e%{profile.%uuid of arg-1%.mob}%" to close
- else:
- format slot 31 of player with {_profile.%player%.id} named "&aFavorite Mob" with lore "&eNot Set" to close
- if {profile.%uuid of arg-1%.ore} is set:
- format slot 32 of player with {_profile.%player%.id} named "&aFavorite Ore" with lore "&e%{profile.%uuid of arg-1%.ore}%" to close
- else:
- format slot 32 of player with {_profile.%player%.id} named "&aFavorite Ore" with lore "&eNot Set" to close
- if {profile.%uuid of arg-1%.gamemode} is set:
- format slot 33 of player with {_profile.%player%.id} named "&aFavorite Gamemode" with lore "&e%{profile.%uuid of arg-1%.gamemode}%" to close
- else:
- format slot 33 of player with {_profile.%player%.id} named "&aFavorite Gamemode" with lore "&eNot Set" to close
- format slot 49 of player with {_profile.%player%.id} named "&4Report Player" with lore "&eClick to report this user's profile" to close then run [make player execute command "/profile report %arg-1%"]
- if "%{profile.%uuid of arg-1%.color}%" is "4":
- if {profile.%uuid of arg-1%.color2} is not set:
- set {_item.%player%} to "red stained glass pane" parsed as item
- set {_item.%player%.2} to "red stained glass pane" parsed as item
- else:
- set {_item.%player%} to "red stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "1":
- if {profile.%uuid of arg-1%.color2} is not set:
- set {_item.%player%} to "blue stained glass pane" parsed as item
- set {_item.%player%.2} to "blue stained glass pane" parsed as item
- else:
- set {_item.%player%} to "blue stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "2":
- if {profile.%uuid of arg-1%.color2} is not set:
- set {_item.%player%} to "green stained glass pane" parsed as item
- set {_item.%player%.2} to "green stained glass pane" parsed as item
- else:
- set {_item.%player%} to "green stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "d":
- if {profile.%uuid of arg-1%.color2} is not set:
- set {_item.%player%} to "pink stained glass pane" parsed as item
- set {_item.%player%.2} to "pink stained glass pane" parsed as item
- else:
- set {_item.%player%} to "pink stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "e":
- if {profile.%uuid of arg-1%.color2} is not set:
- set {_item.%player%} to "yellow stained glass pane" parsed as item
- set {_item.%player%.2} to "yellow stained glass pane" parsed as item
- else:
- set {_item.%player%} to "yellow stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "5":
- if {profile.%uuid of arg-1%.color2} is not set:
- set {_item.%player%} to "purple stained glass pane" parsed as item
- set {_item.%player%.2} to "purple stained glass pane" parsed as item
- else:
- set {_item.%player%} to "purple stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "6":
- if {profile.%uuid of arg-1%.color2} is not set:
- set {_item.%player%} to "orange stained glass pane" parsed as item
- set {_item.%player%.2} to "orange stained glass pane" parsed as item
- else:
- set {_item.%player%} to "orange stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "8":
- if {profile.%uuid of arg-1%.color2} is not set:
- set {_item.%player%} to "brown stained glass pane" parsed as item
- set {_item.%player%.2} to "brown stained glass pane" parsed as item
- else:
- set {_item.%player%} to "brown stained glass pane" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
- else:
- if "%{profile.%uuid of arg-1%.color}%" is "a":
- if {profile.%uuid of arg-1%.color2} is not set:
- set {_item.%player%} to "stained glass pane:5" parsed as item
- set {_item.%player%.2} to "stained glass pane:5" parsed as item
- else:
- set {_item.%player%} to "stained glass pane:5" parsed as item
- set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
- format slot 0 of player with {_item.%player%} named "&0" to close
- format slot 1 of player with {_item.%player%} named "&0" to close
- format slot 2 of player with {_item.%player%} named "&0" to close
- format slot 6 of player with {_item.%player%} named "&0" to close
- format slot 7 of player with {_item.%player%} named "&0" to close
- if {profile.economy} is set:
- if {profile.economy} is "Essentials":
- format slot 8 of player with sunflower named "&2Balance" with lore "&a%balance of arg-1%" to close
- else:
- if {profile.economy} is "UEP":
- if {balance.list::%arg-1%} is set:
- format slot 8 of player with sunflower named "&2Balance" with lore "&a%{balance.list::%arg-1%}%" to close
- else:
- format slot 8 of player with sunflower named "&2Balance" with lore "&a$0" to close
- else:
- format slot 8 of player with {_item.%player%} named "&0" to close
- loop 26 times:
- add 1 to {_num}
- if {_num} is not 4 or 20 or 21 or 22 or 23 or 24 or 29 or 30 or 31 or 32 or 33:
- format slot {_num} of player with {_item.%player%} named "&0" to close
- add 26 to {_num2}
- loop 26 times:
- add 1 to {_num2}
- if {_num2} is not 20 or 21 or 22 or 23 or 24 or 29 or 30 or 31 or 32 or 33:
- format slot {_num2} of player with {_item.%player%.2} named "&0" to close
- else:
- open chest with 1 row named "&4&lProfile - Banned" to player
- format slot 0 of player with red stained glass pane named "&0" to close
- loop 8 times:
- add 1 to {_num}
- if {_num} is not 4:
- format slot {_num} of player with red stained glass pane named "&0" to close
- format slot 4 of player with arg 1's skull named "&4%arg-1%" with lore "&4&lBanned||&cReason: %{profile.%uuid of arg-1%.banned}%" to close
- else:
- if {profile.%uuid of arg-1%.banned} is not set:
- set {profile.%uuid of player%.menu} to true
- open chest with 2 rows named "&4&l%arg 1%'s Profile" to player
- format slot 0 of player with arg-1's skull named "&a%argument 1%" with lore "&4Private Profile" to close
- if {profile.%uuid of player%.following.%uuid of arg-1%} is not set:
- format slot 1 of player with dye:8 named "&aSend Follow Request" with lore "&eNot Following||&eClick to send follow request" to close then run [make player execute command "profile reqfollow %arg-1%"]
- else:
- format slot 1 of player with dye:10 named "&aUnfollow" with lore "&eFollowing||&eClick to unfollow" to close then run [make player execute command "profile unfollow %arg-1%"]
- if {profile.%uuid of player%.block.%uuid of arg-1%} is not set:
- format slot 2 of player with dye:8 named "&aBlock" with lore "&eNot Blocked||&eClick to block" to close then run [make player execute command "profile block %arg-1%"]
- else:
- format slot 2 of player with dye:10 named "&aUnblock" with lore "&eBlocked||&eClick to unblock" to close then run [make player execute command "profile unblock %arg-1%"]
- if player has permission "profile.staff":
- format slot 3 of player with clock named "&aView in Staff Mode" with lore "&eClick to view profile" to close then run [make player execute command "profile staff %arg-1%"]
- else:
- open chest with 1 row named "&4&lProfile - Banned" to player
- format slot 0 of player with red stained glass pane named "&0" to close
- loop 8 times:
- add 1 to {_num}
- if {_num} is not 4:
- format slot {_num} of player with red stained glass pane named "&0" to close
- format slot 4 of player with arg 1's skull named "&4%arg-1%" with lore "&4&lBanned||&cReason: %{profile.%uuid of arg-1%.banned}%" to close
- else:
- if {profile.%uuid of arg-1%.block.%uuid of player%} is set:
- open chest with 1 rows named "&4&l%arg 1%'s Profile" to player
- format slot 0 of player with arg-1's skull named "&a%argument 1%" with lore "&4Currently Blocked" to close
- if {profile.%uuid of player%.block.%uuid of arg-1%} is not set:
- format slot 1 of player with dye:8 named "&aBlock" with lore "&eNot Blocked||&eClick to block" to close then run [make player execute command "profile block %arg-1%"]
- stop
- else:
- format slot 1 of player with dye:10 named "&aUnblock" with lore "&eBlocked||&eClick to unblock" to close then run [make player execute command "profile unblock %arg-1%"]
- stop
- else:
- if {profile.%uuid of player%.block.%uuid of arg-1%} is set:
- open chest with 1 rows named "&4&l%arg 1%'s Profile" to player
- format slot 0 of player with arg-1's skull named "&a%argument 1%" with lore "&4Currently Blocked" to close
- if {profile.%uuid of player%.block.%uuid of arg-1%} is not set:
- format slot 1 of player with dye:8 named "&aBlock" with lore "&eNot Blocked||&eClick to block" to close then run [make player execute command "profile block %arg-1%"]
- stop
- else:
- format slot 1 of player with dye:10 named "&aUnblock" with lore "&eBlocked||&eClick to unblock" to close then run [make player execute command "profile unblock %arg-1%"]
- stop
- else:
- message "%{profile.prefix}% &cThe user &4%arg-1% &chas not created a profile!" to player
- stop
- else:
- open chest with 1 row named "&4&lProfile - Banned" to player
- format slot 0 of player with red stained glass pane named "&0" to close
- loop 8 times:
- add 1 to {_num}
- if {_num} is not 4:
- format slot {_num} of player with red stained glass pane named "&0" to close
- format slot 4 of player with arg 1's skull named "&4%arg-1%" with lore "&4&lBanned||&cReason: %{profile.%uuid of arg-1%.banned}%" to close
- else:
- message "%{profile.prefix}% &aPlease do /profile to view your own profile!"
- stop
- if arg 1 is "color" or "colour":
- if arg 2 is not set:
- wait 0.2 seconds
- open chest with 3 rows named "&5&lProfile - Color" to player
- if player has permission "profile.color.red":
- format slot 0 of player with red stained glass pane named "&4Red Layout" with lore "&ePermission: &aTrue" to close then run [make player execute command "/profile color red"]->[delete {profile.%uuid of player%.color2}]
- else:
- format slot 0 of player with red stained glass pane named "&4Red Layout" with lore "&ePermission: &cFalse" to close
- if player has permission "profile.color.purple":
- format slot 1 of player with purple stained glass pane named "&5Purple Layout" with lore "&ePermission: &aTrue" to close then run [make player execute command "/profile color purple"]->[delete {profile.%uuid of player%.color2}]
- else:
- format slot 1 of player with purple stained glass pane named "&5Purple Layout" with lore "&ePermission: &cFalse" to close
- if player has permission "profile.color.blue":
- format slot 2 of player with blue stained glass pane named "&1Blue Layout" with lore "&ePermission: &aTrue" to close then run [make player execute command "/profile color blue"]->[delete {profile.%uuid of player%.color2}]
- else:
- format slot 2 of player with blue stained glass pane named "&1Blue Layout" with lore "&ePermission: &cFalse" to close
- if player has permission "profile.color.orange":
- format slot 3 of player with orange stained glass pane named "&6Orange Layout" with lore "&ePermission: &aTrue" to close then run [make player execute command "/profile color orange"]->[delete {profile.%uuid of player%.color2}]
- else:
- format slot 3 of player with orange stained glass pane named "&6Orange Layout" with lore "&ePermission: &cFalse" to close
- if player has permission "profile.color.green":
- format slot 4 of player with green stained glass pane named "&2Green Layout" with lore "&ePermission: &aTrue" to close then run [make player execute command "/profile color green"]->[delete {profile.%uuid of player%.color2}]
- else:
- format slot 4 of player with green stained glass pane named "&2Green Layout" with lore "&ePermission: &cFalse" to close
- if player has permission "profile.color.brown":
- format slot 5 of player with brown stained glass pane named "&8Brown Layout" with lore "&ePermission: &aTrue" to close then run [make player execute command "/profile color brown"]->[delete {profile.%uuid of player%.color2}]
- else:
- format slot 5 of player with brown stained glass pane named "&8Brown Layout" with lore "&ePermission: &cFalse" to close
- if player has permission "profile.color.green":
- format slot 6 of player with pink stained glass pane named "&dPink Layout" with lore "&ePermission: &aTrue" to close then run [make player execute command "/profile color pink"]->[delete {profile.%uuid of player%.color2}]
- else:
- format slot 6 of player with pink stained glass pane named "&dPink Layout" with lore "&ePermission: &cFalse" to close
- if player has permission "profile.color.lime":
- format slot 7 of player with light green stained glass pane named "&aLime Layout" with lore "&ePermission: &aTrue" to close then run [make player execute command "/profile color lime"]->[delete {profile.%uuid of player%.color2}]
- else:
- format slot 7 of player with light green stained glass pane named "&aLime Layout" with lore "&ePermission: &cFalse" to close
- if player has permission "profile.color.yellow":
- format slot 8 of player with yellow stained glass pane named "&eYellow Layout" with lore "&ePermission: &aTrue" to close then run [make player execute command "/profile color yellow"]->[delete {profile.%uuid of player%.color2}]
- else:
- format slot 8 of player with yellow stained glass pane named "&eYellow Layout" with lore "&ePermission: &cFalse" to close
- if {profile.%uuid of player%.color} is set:
- format slot 18 of player with light green dye named "&4Clear Profile Color" with lore "&eProfile color: %{profile.%uuid of player%.color}%" to close then run [message "%{profile.prefix}% &aYou have removed your profile color!" to player]->[delete {profile.%uuid of player%.color}]->[delete {profile.%uuid of player%.color2}]
- else:
- format slot 18 of player with gray dye named "&cClear Profile Color" with lore "&cYour profile color is not set" to close
- if player has permission "profile.color.custom":
- format slot 26 of player with bucket named "&5Custom Color" with lore "&ePermission: &aTrue" to close then run [make player execute command "/profile color custom"]
- else:
- format slot 26 of player with bucket named "&5Custom Color" with lore "&ePermission: &cFalse" to close
- format slot 22 of player with arrow named "&cMain menu" with lore "&cClick to go back" to close then run [make player execute command "/profile"]
- else:
- if arg 2 is "red":
- if player has permission "profile.color.red":
- set {profile.%uuid of player%.color} to "4"
- message "%{profile.prefix}% &aYour profile color is now &4red"
- stop
- else:
- message "%{profile.prefix}% &cYou do not have permission to do this!"
- stop
- else:
- if arg 2 is "blue":
- if player has permission "profile.color.blue":
- set {profile.%uuid of player%.color} to "1"
- message "%{profile.prefix}% &aYour profile color is now &1blue"
- stop
- else:
- message "%{profile.prefix}% &cYou do not have permission to do this!"
- stop
- else:
- if arg 2 is "green":
- if player has permission "profile.color.blue":
- set {profile.%uuid of player%.color} to "2"
- message "%{profile.prefix}% &aYour profile color is now &2green"
- stop
- else:
- message "%{profile.prefix}% &cYou do not have permission to do this!"
- stop
- else:
- if arg 2 is "pink":
- if player has permission "profile.color.pink":
- set {profile.%uuid of player%.color} to "d"
- message "%{profile.prefix}% &aYour profile color is now &dpink"
- stop
- else:
- message "%{profile.prefix}% &cYou do not have permission to do this!"
- stop
- else:
- if arg 2 is "yellow":
- if player has permission "profile.color.yellow":
- set {profile.%uuid of player%.color} to "e"
- message "%{profile.prefix}% &aYour profile color is now &eyellow"
- stop
- else:
- message "%{profile.prefix}% &cYou do not have permission to do this!"
- stop
- else:
- if arg 2 is "purple":
- if player has permission "profile.color.purple":
- set {profile.%uuid of player%.color} to "5"
- message "%{profile.prefix}% &aYour profile color is now &5purple"
- stop
- else:
- message "%{profile.prefix}% &cYou do not have permission to do this!"
- stop
- else:
- if arg 2 is "orange":
- if player has permission "profile.color.orange":
- set {profile.%uuid of player%.color} to "6"
- message "%{profile.prefix}% &aYour profile color is now &6orange"
- stop
- else:
- message "%{profile.prefix}% &cYou do not have permission to do this!"
- stop
- else:
- if arg 2 is "brown":
- if player has permission "profile.color.brown":
- set {profile.%uuid of player%.color} to "8"
- message "%{profile.prefix}% &aYour profile color is now &8brown"
- stop
- else:
- message "%{profile.prefix}% &cYou do not have permission to do this!"
- stop
- else:
- if arg 2 is "lime":
- if player has permission "profile.color.lime":
- set {profile.%uuid of player%.color} to "a"
- message "%{profile.prefix}% &aYour profile color is now &alime"
- stop
- else:
- message "%{profile.prefix}% &cYou do not have permission to do this!"
- stop
- else:
- if arg 2 is "custom":
- if player has permission "profile.color.custom":
- wait 0.3 seconds
- open chest with 2 rows named "&8Custom Colors" to player
- format slot 0 of player with red stained glass pane named "&4Red Top Layout" to close then run [set {profile.%uuid of player%.color} to "4"]
- format slot 1 of player with blue stained glass pane named "&1Blue Top Layout" to close then run [set {profile.%uuid of player%.color} to "1"]
- format slot 2 of player with green stained glass pane named "&2Green Top Layout" to close then run [set {profile.%uuid of player%.color} to "2"]
- format slot 3 of player with pink stained glass pane named "&dPink Top Layout" to close then run [set {profile.%uuid of player%.color} to "d"]
- format slot 4 of player with yellow stained glass pane named "&eYellow Top Layout" to close then run [set {profile.%uuid of player%.color} to "e"]
- format slot 5 of player with purple stained glass pane named "&5Purple Top Layout" to close then run [set {profile.%uuid of player%.color} to "5"]
- format slot 6 of player with orange stained glass pane named "&6Orange Top Layout" to close then run [set {profile.%uuid of player%.color} to "6"]
- format slot 7 of player with brown stained glass pane named "&8Brown Top Layout" to close then run [set {profile.%uuid of player%.color} to "8"]
- format slot 8 of player with light green stained glass pane named "&aLime Top Layout" to close then run [set {profile.%uuid of player%.color} to "a"]
- format slot 9 of player with red stained glass pane named "&4Red Bottom Layout" to close then run [set {profile.%uuid of player%.color2} to "red"]
- format slot 10 of player with blue stained glass pane named "&1Blue Bottom Layout" to close then run [set {profile.%uuid of player%.color2} to "blue"]
- format slot 11 of player with green stained glass pane named "&2Green Bottom Layout" to close then run [set {profile.%uuid of player%.color2} to "green"]
- format slot 12 of player with pink stained glass pane named "&dPink Bottom Layout" to close then run [set {profile.%uuid of player%.color2} to "pink"]
- format slot 13 of player with yellow stained glass pane named "&eYellow Bottom Layout" to close then run [set {profile.%uuid of player%.color2} to "yellow"]
- format slot 14 of player with purple stained glass pane named "&5Purple Bottom Layout" to close then run [set {profile.%uuid of player%.color2} to "purple"]
- format slot 15 of player with orange stained glass pane named "&6Orange Bottom Layout" to close then run [set {profile.%uuid of player%.color2} to "orange"]
- format slot 16 of player with brown stained glass pane named "&8Brown Bottom Layout" to close then run [set {profile.%uuid of player%.color2} to "brown"]
- format slot 17 of player with light green stained glass pane named "&aLime Bottom Layout" to close then run [set {profile.%uuid of player%.color2} to "lime"]
- else:
- message "%{profile.prefix}% &cYou do not have permission to do this!"
- stop
- if arg 1 is "settings":
- if arg 2 is not set:
- wait 0.2 seconds
- set {profile.%uuid of player%.menu} to true
- open chest with 1 rows named "&4&lProfile Settings" to player
- if {profile.%uuid of player%.private} is not set:
- format slot 0 of player with dye:8 named "&ePrivate Profile" with lore "&cFalse" to close then run [make player execute command "/profile private toggle"]
- else:
- if {profile.%uuid of player%.private} is set:
- format slot 0 of player with dye:10 named "&ePrivate Profile" with lore "&aTrue" to close then run [make player execute command "/profile private toggle"]
- if {profile.%uuid of player%.color} is set:
- format slot 1 of player with light green dye named "&eProfile Color" to close then run [make player execute command "/profile color"]
- else:
- format slot 1 of player with gray dye named "&eProfile Color" to close then run [make player execute command "/profile color"]
- format slot 8 of player with arrow named "&cMain menu" with lore "&cClick to go back" to close then run [make player execute command "/profile"]
- if arg 1 is "private":
- if arg 2 is "toggle":
- if {profile.%uuid of player%.private} is set:
- delete {profile.%uuid of player%.private}
- message "%{profile.prefix}% &cYour profile is no longer private!"
- stop
- else:
- if {profile.%uuid of player%.private} is not set:
- set {profile.%uuid of player%.private} to true
- message "%{profile.prefix}% &aYour profile is now private!"
- stop
- if arg 1 is "follow":
- if arg 2 is set:
- if arg 2 is not "%player%":
- if {profile.%uuid of player%.following.%uuid of arg-2%} is not set:
- if {blocked.%uuid of player%.%uuid of arg-2%} is not set:
- if {blocked.%uuid of arg-2%.%uuid of player%} is not set:
- if {profile.%uuid of arg-2%.private} is not set:
- set {profile.%uuid of player%.following.%uuid of arg-2%} to true
- add 1 to {profile.%uuid of arg-2%.followers}
- add 1 to {profile.%uuid of player%.following}
- if {profile.%uuid of arg-2%.notifications} is not set:
- set {profile.%uuid of arg-2%.notifications} to "0"
- wait 0.2 seconds
- add 1 to {profile.%uuid of arg-2%.notifications}
- else:
- add 1 to {profile.%uuid of arg-2%.notifications}
- message "%{profile.prefix}% &aYou have successfully followed &a%arg-2%" to player
- message "%{profile.prefix}% &a%player% has followed you!" to arg-2
- stop
- else:
- message "%{profile.prefix}% &aPlease use /profile reqfollow <player> instead (Private Profile)"
- else:
- message "%{profile.prefix}% &cYou are either blocked, or have this player blocked!"
- stop
- else:
- message "%{profile.prefix}% &cYou are either blocked, or have this player blocked!"
- stop
- else:
- message "%{profile.prefix}% &cYou are already following this player!"
- stop
- else:
- message "%{profile.prefix}% &cYou can not follow yourself!"
- stop
- else:
- message "%{profile.prefix}% &cYou must specify a player name!"
- if arg 1 is "accept":
- if arg 2 is set:
- if {profile.%uuid of player%.pendingfollow::%uuid of arg-2%} is set:
- set {profile.%uuid of arg-2%.following.%uuid of player%} to true
- delete {profile.%uuid of player%.pendingfollow::%uuid of arg-2%}
- message "%{profile.prefix}% &a%arg-2% is now following you!" to player
- message "%{profile.prefix}% &aYour follow request has been accepted by %player%" to arg-2
- else:
- message "%{profile.prefix}% &cThis user has not requested to follow you!"
- stop
- else:
- message "%{profile.prefix}% &cYou must specify a player name!"
- stop
- if arg 1 is "reqfollow":
- if arg 2 is set:
- if {profile.%uuid of arg-2%.private} is set:
- if {profile.%uuid of arg-2%.pendingfollow::%uuid of player%} is set:
- message "%{profile.prefix}% &cYou have already requested to follow this person!"
- stop
- else:
- if {profile.%uuid of arg-2%.pendingfollow::*} is not set:
- if arg-2 is online:
- set {profile.%uuid of arg-2%.pendingfollow::%uuid of player%} to true
- message "%{profile.prefix}% &aYou have reqested to follow %arg-2%" to player
- message "%{profile.prefix}% &aYou have a follow request from %player%" to arg-2
- stop
- else:
- message "%{profile.prefix}% &cThis player is not currently online!"
- stop
- else:
- message "%{profile.prefix}% &cThis profile is not private! (Use /profile follow)"
- stop
- else:
- message "%{profile.prefix}% &cYou must specify a player name!"
- stop
- if arg 1 is "ban":
- if arg 2 is set:
- if player has permission "profile.ban":
- if {profile.%uuid of arg-2%.banned} is not set:
- set {profile.%uuid of player%.playerban} to "%arg-2%"
- set {profile.%{profile.%uuid of player%.playerban}%.setban} to true
- add uuid of arg-2 to {profile.bans::*}
- message "%{profile.prefix}% &aPlease type a reason to ban this user, or type 'cancel' to cancel the ban!"
- stop
- else:
- message "%{profile.prefix}% &cThis player is already banned from profiles!"
- stop
- else:
- message "%{profile.prefix}% &cYou do not have permission to ban profiles!"
- stop
- else:
- message "%{profile.prefix}% &cYou must specify a player name!"
- stop
- if arg 1 is "unban":
- if arg 2 is set:
- if player has permission "profile.ban":
- if {profile.%uuid of arg-2%.banned} is set:
- delete {profile.%uuid of arg-2%.banned}
- remove arg-2 from {profile.bans::*}
- message "%{profile.prefix}% &aYou have unbanned %arg-2% from using profiles!"
- message "%{profile.prefix}% &aYou have been unbanned from using profiles!" to arg-2
- stop
- else:
- message "%{profile.prefix}% &cThis player is not banned from profiles!"
- stop
- else:
- message "%{profile.prefix}% &cYou do not have permission to unban profiles!"
- stop
- else:
- message "%{profile.prefix}% &cYou must specify a player name!"
- stop
- if arg 1 is "deny":
- if arg 2 is set:
- if {profile.%uuid of player%.pendingfollow::%uuid of arg-2%} is set:
- delete {profile.%uuid of player%.pendingfollow::%uuid of arg-2%}
- message "%{profile.prefix}% &a%arg-2%'s follow request has been denied!" to player
- message "%{profile.prefix}% &cYour follow request has been denied by %player%" to arg-2
- else:
- message "%{profile.prefix}% &cThis user has not requested to follow you!"
- stop
- else:
- message "%{profile.prefix}% &cYou must specify a player name!"
- stop
- if arg 1 is "unfollow":
- if arg 2 is set:
- if arg 2 is not "%player%":
- if {profile.%uuid of player%.following.%uuid of arg-2%} is set:
- if {blocked.%uuid of player%.%uuid of arg-1%} is not set:
- if {blocked.%uuid of arg-1%.%uuid of player%} is not set:
- delete {profile.%uuid of player%.following.%uuid of arg-2%}
- remove 1 from {profile.%uuid of arg-2%.followers}
- remove 1 from {profile.%uuid of player%.following}
- message "%{profile.prefix}% &aYou have successfully unfollowed &a%arg-2%" to player
- message "%{profile.prefix}% &a%player% has unfollowed you!" to arg-2
- stop
- else:
- message "%{profile.prefix}% &cYou are either blocked, or have this player blocked!"
- stop
- else:
- message "%{profile.prefix}% &cYou are either blocked, or have this player blocked!"
- stop
- else:
- message "%{profile.prefix}% &cYou are not following this player!"
- stop
- else:
- message "%{profile.prefix}% &cYou can unnot follow yourself!"
- stop
- else:
- message "%{profile.prefix}% &cYou must specify a player name!"
- stop
- if arg 1 is "block":
- if arg 2 is set:
- if arg 2 is not "%player%":
- if {profile.%uuid of player%.following.%uuid of arg-2%} is not set:
- if {blocked.%uuid of player%.%uuid of arg-2%} is not set:
- if {profile.%uuid of arg-2%.following.%uuid of player%} is not set:
- set {blocked.%uuid of player%.%uuid of arg-2%} to true
- set {profile.%uuid of player%.block.%uuid of arg-2%} to true
- message "%{profile.prefix}% &aYou have successfully blocked %arg-2%" to player
- message "%{profile.prefix}% &aYou have been blocked by %player%" to arg-2
- else:
- set {blocked.%uuid of player%.%uuid of arg-2%} to true
- delete {profile.%uuid of arg-2%.following.%uuid of player%}
- set {profile.%uuid of player%.block.%uuid of arg-2%} to true
- remove 1 from {profile.%uuid of player%.following}
- remove 1 from {profile.%uuid of arg-2%.followers}
- message "%{profile.prefix}% &aYou have successfully blocked %arg-2%" to player
- message "%{profile.prefix}% &aYou have been blocked by %player%" to arg-2
- stop
- else:
- message "%{profile.prefix}% &cYou already have this player blocked!"
- stop
- else:
- message "%{profile.prefix}% &cYou must unfollow this user first!"
- stop
- else:
- message "%{profile.prefix}% &cYou can not block yourself!"
- stop
- else:
- message "%{profile.prefix}% &cYou must specify a player name!"
- stop
- if arg 1 is "unblock":
- if arg 2 is set:
- if arg 2 is not "%player%":
- if {blocked.%uuid of player%.%uuid of arg-2%} is set:
- delete {blocked.%uuid of player%.%uuid of arg-2%}
- delete {profile.%uuid of player%.block.%uuid of arg-2%}
- message "%{profile.prefix}% &aYou have successfully unblocked %arg-2%" to player
- message "%{profile.prefix}% &aYou have been unblocked by %player%" to arg-2
- else:
- message "%{profile.prefix}% &cYou do not have this player blocked!"
- stop
- else:
- message "%{profile.prefix}% &cYou can not block yourself!"
- stop
- else:
- message "%{profile.prefix}% &cYou must specify a player name!"
- stop
- if arg 1 is "age":
- if arg 2 is set:
- set {profile.%uuid of player%.age} to arg-2
- message "%{profile.prefix}% &aYour age has been set!"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- else:
- wait 0.3 seconds
- open chest with 3 rows named "&8Profile Age" to player
- if "%{profile.%uuid of player%.age}%" is not "9":
- format slot 0 of player with gray dye named "&99" with lore "&eClick to set your age to &29" to close then run [make player execute command "/profile"]->[set {profile.%uuid of player%.age} to 9]
- else:
- format slot 0 of player with dye:10 named "&99" with lore "&aYour age is currently set to &29" to close
- if "%{profile.%uuid of player%.age}%" is not "10":
- format slot 1 of player with gray dye named "&910" with lore "&eClick to set your age to &210" to close then run [make player execute command "/profile"]->[set {profile.%uuid of player%.age} to 10]
- else:
- format slot 1 of player with dye:10 named "&910" with lore "&aYour age is currently set to &210" to close
- if "%{profile.%uuid of player%.age}%" is not "11":
- format slot 2 of player with gray dye named "&911" with lore "&eClick to set your age to &211" to close then run [make player execute command "/profile"]->[set {profile.%uuid of player%.age} to 11]
- else:
- format slot 2 of player with dye:10 named "&911" with lore "&aYour age is currently set to &211" to close
- if "%{profile.%uuid of player%.age}%" is not "12":
- format slot 3 of player with gray dye named "&912" with lore "&eClick to set your age to &212" to close then run [make player execute command "/profile"]->[set {profile.%uuid of player%.age} to 12]
- else:
- format slot 3 of player with dye:10 named "&912" with lore "&aYour age is currently set to &212" to close
- if "%{profile.%uuid of player%.age}%" is not "13":
- format slot 4 of player with gray dye named "&913" with lore "&eClick to set your age to &213" to close then run [make player execute command "/profile"]->[set {profile.%uuid of player%.age} to 13]
- else:
- format slot 4 of player with dye:10 named "&913" with lore "&aYour age is currently set to &213" to close
- if "%{profile.%uuid of player%.age}%" is not "14":
- format slot 5 of player with gray dye named "&914" with lore "&eClick to set your age to &214" to close then run [make player execute command "/profile"]->[set {profile.%uuid of player%.age} to 14]
- else:
- format slot 5 of player with dye:10 named "&914" with lore "&aYour age is currently set to &214" to close
- if "%{profile.%uuid of player%.age}%" is not "15":
- format slot 6 of player with gray dye named "&915" with lore "&eClick to set your age to &215" to close then run [make player execute command "/profile"]->[set {profile.%uuid of player%.age} to 15]
- else:
- format slot 6 of player with dye:10 named "&915" with lore "&aYour age is currently set to &215" to close
- if "%{profile.%uuid of player%.age}%" is not "16":
- format slot 7 of player with gray dye named "&916" with lore "&eClick to set your age to &216" to close then run [make player execute command "/profile"]->[set {profile.%uuid of player%.age} to 16]
- else:
- format slot 7 of player with dye:10 named "&916" with lore "&aYour age is currently set to &216" to close
- if "%{profile.%uuid of player%.age}%" is not "17":
- format slot 8 of player with gray dye named "&917" with lore "&eClick to set your age to &217" to close then run [make player execute command "/profile"]->[set {profile.%uuid of player%.age} to 17]
- else:
- format slot 8 of player with dye:10 named "&917" with lore "&aYour age is currently set to &217" to close
- if "%{profile.%uuid of player%.age}%" is not "18":
- format slot 9 of player with gray dye named "&918" with lore "&eClick to set your age to &218" to close then run [make player execute command "/profile"]->[set {profile.%uuid of player%.age} to 18]
- else:
- format slot 9 of player with dye:10 named "&918" with lore "&aYour age is currently set to &218" to close
- if "%{profile.%uuid of player%.age}%" is not "19":
- format slot 10 of player with gray dye named "&919" with lore "&eClick to set your age to &219" to close then run [make player execute command "/profile"]->[set {profile.%uuid of player%.age} to 19]
- else:
- format slot 10 of player with dye:10 named "&919" with lore "&aYour age is currently set to &219" to close
- if "%{profile.%uuid of player%.age}%" is not "20":
- format slot 11 of player with gray dye named "&920" with lore "&eClick to set your age to &220" to close then run [make player execute command "/profile"]->[set {profile.%uuid of player%.age} to 20]
- else:
- format slot 11 of player with dye:10 named "&920" with lore "&aYour age is currently set to &220" to close
- if "%{profile.%uuid of player%.age}%" is not "21":
- format slot 12 of player with gray dye named "&921" with lore "&eClick to set your age to &221" to close then run [make player execute command "/profile"]->[set {profile.%uuid of player%.age} to 21]
- else:
- format slot 12 of player with dye:10 named "&921" with lore "&aYour age is currently set to &221" to close
- if "%{profile.%uuid of player%.age}%" is not "22":
- format slot 13 of player with gray dye named "&922" with lore "&eClick to set your age to &222" to close then run [make player execute command "/profile"]->[set {profile.%uuid of player%.age} to 22]
- else:
- format slot 13 of player with dye:10 named "&922" with lore "&aYour age is currently set to &222" to close
- if "%{profile.%uuid of player%.age}%" is not "23":
- format slot 14 of player with gray dye named "&923" with lore "&eClick to set your age to &223" to close then run [make player execute command "/profile"]->[set {profile.%uuid of player%.age} to 23]
- else:
- format slot 14 of player with dye:10 named "&923" with lore "&aYour age is currently set to &223" to close
- if "%{profile.%uuid of player%.age}%" is not "24":
- format slot 15 of player with gray dye named "&924" with lore "&eClick to set your age to &224" to close then run [make player execute command "/profile"]->[set {profile.%uuid of player%.age} to 24]
- else:
- format slot 15 of player with dye:10 named "&924" with lore "&aYour age is currently set to &224" to close
- if "%{profile.%uuid of player%.age}%" is not "25":
- format slot 16 of player with gray dye named "&925" with lore "&eClick to set your age to &225" to close then run [make player execute command "/profile"]->[set {profile.%uuid of player%.age} to 25]
- else:
- format slot 16 of player with dye:10 named "&925" with lore "&aYour age is currently set to &225" to close
- if "%{profile.%uuid of player%.age}%" is not "25+":
- format slot 17 of player with gray dye named "&925+" with lore "&eClick to set your age to &225+" to close then run [make player execute command "/profile"]->[set {profile.%uuid of player%.age} to "25+"]
- else:
- format slot 17 of player with dye:10 named "&925+" with lore "&aYour age is currently set to &225+" to close
- format slot 22 of player with paper named "&9Clear Age" with lore "&cClick to clear your age" to close then run [delete {profile.%uuid of player%.age}]->[message "%{profile.prefix}% &aYou have cleared you age!"]
- format slot 26 of player with arrow named "&cMain menu" with lore "&cClick to go back" to close then run [make player execute command "/profile"]
- set {profiles::inactive::%uuid of player%} to 0
- stop
- if arg 1 is "ore":
- if arg 2 is set:
- if arg 2 is "%player%":
- set {profile.%uuid of player%.setore} to true
- message "%{profile.prefix}% &a&oPlease type your favorite ore in chat (Or type 'cancel' to cancel!) (Or type 'delete' to delete!)"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- if arg 1 is "gamemode":
- if arg 2 is set:
- if arg 2 is "%player%":
- set {profile.%uuid of player%.setgamemode} to true
- message "%{profile.prefix}% &a&oPlease type your favorite gamemode in chat (Or type 'cancel' to cancel!) (Or type 'delete' to delete!)"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- if arg 1 is "gender":
- if arg 2 is "male":
- set {profile.%uuid of player%.gender} to arg-2
- message "%{profile.prefix}% &aYou have set your profile gender to male!"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- else:
- if arg 2 is "female":
- set {profile.%uuid of player%.gender} to arg-2
- message "%{profile.prefix}% &aYou have set your profile gender to female!"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- else:
- if arg 2 is "other":
- set {profile.%uuid of player%.gender} to arg-2
- message "%{profile.prefix}% &aYou have set your profile gender to other!"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- else:
- if arg 2 is not set:
- if "%{profile.%uuid of player%.age}%" is not "25+":
- wait 0.3 seconds
- open chest with 3 rows named "&8Profile Gender" to player
- if "%{profile.%uuid of player%.gender}%" is not "Male":
- format slot 2 of player with gray dye named "&9Male" with lore "&eClick to set your gender to &2Male" to close then run [set {profile.%uuid of player%.gender} to "Male"]->[make player execute command "/profile gender"]->[message "%{profile.prefix}% &aYour gender has been set to &2%{profile.%uuid of player%.gender}%"]
- else:
- format slot 2 of player with dye:10 named "&9Male" with lore "&aYour gender is currently set to &2Male" to close
- if "%{profile.%uuid of player%.gender}%" is not "Female":
- format slot 4 of player with gray dye named "&9Female" with lore "&eClick to set your gender to &2Female" to close then run [set {profile.%uuid of player%.gender} to "Female"]->[make player execute command "/profile gender"]->[message "%{profile.prefix}% &aYour gender has been set to &2%{profile.%uuid of player%.gender}%"]
- else:
- format slot 4 of player with dye:10 named "&9Female" with lore "&aYour gender is currently set to &2Female" to close
- if "%{profile.%uuid of player%.gender}%" is not "Unspecified":
- format slot 6 of player with gray dye named "&9Unspecified" with lore "&eClick to set your gender to &2Unspecified" to close then run [set {profile.%uuid of player%.gender} to "Unspecified"]->[make player execute command "/profile gender"]->[message "%{profile.prefix}% &aYour gender has been set to &2%{profile.%uuid of player%.gender}%"]
- else:
- format slot 6 of player with dye:10 named "&9Unspecified" with lore "&aYour gender is currently set to &2Unspecified" to close
- format slot 22 of player with paper named "&9Clear Gender" with lore "&cClick to clear your gender" to close then run [delete {profile.%uuid of player%.gender}]->[message "%{profile.prefix}% &aYou have cleared you gender!"]
- format slot 26 of player with arrow named "&cMain menu" with lore "&cClick to go back" to close then run [make player execute command "/profile"]
- set {profiles::inactive::%uuid of player%} to 0
- stop
- if arg 1 is "country":
- if arg 2 is set:
- set {profile.%uuid of player%.country} to arg-2
- message "%{profile.prefix}% &aYour country has been set to %arg-2%"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- else:
- set {profile.%uuid of player%.setcountry} to true
- message "%{profile.prefix}% &a&oPlease type your country in chat (Or type 'cancel' to cancel!) (Or type 'delete' to delete!)"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- if arg 1 is "bio":
- if arg 2 is set:
- set {profile.%uuid of player%.bio} to arg-2
- message "%{profile.prefix}% &aYour bio has been set!"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- else:
- set {profile.%uuid of player%.setbio} to true
- message "%{profile.prefix}% &a&oPlease type your bio in chat (Or type 'cancel' to cancel!) (Or type 'delete' to delete!)"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- if arg 1 is "nickname":
- if arg 2 is set:
- set {profile.%uuid of player%.nickname} to arg-2
- message "%{profile.prefix}% &aYour nickname has been set to %arg 2%"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- else:
- set {profile.%uuid of player%.setnickname} to true
- message "%{profile.prefix}% &a&oPlease type your nickname in chat (Or type 'cancel' to cancel!) (Or type 'delete' to delete!)"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- if arg 1 is "likes":
- if arg 2 is set:
- set {profile.%uuid of player%.likes} to arg-2
- message "%{profile.prefix}% &aYour likes have been set!"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- else:
- set {profile.%uuid of player%.setlikes} to true
- message "%{profile.prefix}% &a&oPlease type your interests/likes in chat (Or type 'cancel' to cancel!) (Separate by commas!) (Or type 'delete' to delete!)"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- if arg 1 is "dislikes":
- if arg 2 is set:
- set {profile.%uuid of player%.dislikes} to arg-2
- message "%{profile.prefix}% &aYour dislikes have been set!"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- else:
- set {profile.%uuid of player%.setdislikes} to true
- message "%{profile.prefix}% &a&oPlease type your dislikes in chat (Or type 'cancel' to cancel!) (Separate by commas!) (Or type 'delete' to delete!)"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- if arg 1 is "updates":
- if player has permission "profile.staff.notifications" or "profile.staff.*":
- if arg 2 is "on":
- if {update.notify.off} is set:
- delete {update.notify.off}
- message "%{profile.prefix}% &aTurned on update notifications!"
- stop
- else:
- message "%{profile.prefix}% &cUpdate notifications are already on!"
- stop
- else:
- if arg 2 is "off":
- if {update.notify.off} is not set:
- set {update.notify.off} to true
- message "%{profile.prefix}% &aTurned off update notifications!"
- stop
- else:
- message "%{profile.prefix}% &cUpdate notifications are already off!"
- stop
- else:
- message "%{profile.prefix}% &cInvalid usage: /profile updates on/off"
- stop
- else:
- message "%{profile.prefix}% &cYou do not have permission to do this!"
- stop
- if arg 1 is "mob":
- if arg 2 is "%player%":
- set {profile.%uuid of player%.setmob} to true
- message "%{profile.prefix}% &a&oPlease type your favorite mob in chat (Or type 'cancel' to cancel!) (Or type 'delete' to delete!)"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- if arg 1 is "report":
- if arg 2 is set:
- if "%{profile.reported::*}%" does not contain "%uuid of arg-2%":
- wait 0.2 seconds
- open chest with 1 row named "&4&lReport Player" to player
- format slot 1 of player with redstone named "&4Inappropriate" with lore "&cClick to report inappropriate profile" to close then run [message "%{profile.prefix}% &aYou have successfully reported this profile for being inappropriate!"]->[set {profile.reported::%arg-2%} to "%arg-2%"]->[set {profile.%uuid of arg-2%.reported} to "Inappropriate"]
- format slot 3 of player with redstone named "&4Advertising" with lore "&cClick to report for advertising" to close then run [message "%{profile.prefix}% &aYou have successfully reported this profile for advertising!"]->[set {profile.reported::%arg-2%} to "%arg-2%"]->[set {profile.%uuid of arg-2%.reported} to "Advertising"]
- format slot 5 of player with redstone named "&4Harassment" with lore "&cClick to report for harassment" to close then run [message "%{profile.prefix}% &aYou have successfully reported this profile for harassment!"]->[set {profile.reported::%arg-2%} to "%arg-2%"]->[set {profile.%uuid of arg-2%.reported} to "Harassment"]
- format slot 7 of player with redstone named "&4Other" with lore "&cClick to report for other" to close then run [message "%{profile.prefix}% &aYou have successfully reported this profile for being other!"]->[set {profile.reported::%arg-2%} to "%arg-2%"]->[set {profile.%uuid of arg-2%.reported} to "Other"]
- else:
- message "%{profile.prefix}% &cThis player has already been reported!"
- stop
- else:
- message "%{profile.prefix}% &cYou must specify a player's name!"
- stop
- if arg 1 is "reports":
- if player has permission "profile.staff.reports" or "profile.staff.*":
- message "&5&lProfile Reports"
- loop {profile.reported::*}:
- message "&c%{profile.reported::*}%"
- message "&4/profile viewreport <player>"
- stop
- else:
- message "%{profile.prefix}% &cYou do not have permission to view reports!"
- if arg 1 is "viewreport":
- if player has permission "profile.staff.reports" or "profile.staff.*":
- if arg 2 is set:
- if {profile.reported::%arg-2%} is set:
- open chest with 1 row named "&4&l%arg-2%'s Report" to player
- format slot 0 of player with red dye named "&cDeny Report" to close then run [delete {profile.reported::%arg-2%}]->[message "%{profile.prefix}% &aYou have denied the report!"]->[delete {profile.%uuid of arg-2%.reported}]
- format slot 4 of player with arg-2's skull named "&3Report Reason" with lore "&9%{profile.%uuid of arg-2%.reported}%||&aClick to view user's profile" to close then run [make player execute command "/profile %arg-2%"]
- format slot 7 of player with light green dye named "&aAccept Report (Clear Profile)" with lore "&aClick to clear user's profile!" to close then run [delete {profile.reported::%arg-2%}]->[message "%{profile.prefix}% &aYou have accepted the report!"]->[make player execute command "/profile staffclear %arg-2%"]->[delete {profile.%uuid of arg-2%.reported}]
- format slot 8 of player with light green dye named "&aAccept Report (Ban Profile)" with lore "&aClick to ban user's profile!" to close then run [delete {profile.reported::%arg-2%}]->[message "%{profile.prefix}% &aYou have accepted the report!"]->[make player execute command "/profile ban %arg-2%"]->[delete {profile.%uuid of arg-2%.reported}]
- else:
- message "%{profile.prefix}% &cThis player has not been reported!"
- stop
- else:
- message "%{profile.prefix}% &cYou must specify a player name!"
- stop
- else:
- message "%{profile.prefix}% &cYou do not have permission to manage reports!"
- stop
- if arg 1 is "config":
- if player has permission "profile.staff.config" or "profile.staff.*":
- open chest with 1 row named "&5&lConfig" to player
- format slot 0 of player with paper named "&aPlugin Prefix" with lore "&eClick to change!||&7Prefix: &e%{profile.prefix}%" to close then run [message "%{profile.prefix}% &aType the new prefix in chat. Or type ''cancel'' to cancel or ''delete'' to reset."]->[set {profile.%player%.prefix} to true]
- format slot 1 of player with paper named "&aProfile Item ID" with lore "&eClick to change!||&7Item: &e%{profile.ID}%" to close then run [message "%{profile.prefix}% &aType the item ID in chat. (Must be valid ID or plugin may break!) Or type ''cancel'' to cancel or ''delete'' to reset."]->[set {profile.%player%.ID} to true]
- if {update.notify.off} is set:
- format slot 2 of player with paper named "&aUpdate Notifications" with lore "&eClick to change!||&cDisabled" to close then run [delete {update.notify.off}]->[message "%{profile.prefix}% &aUpdate notifications turned on!"]
- else:
- format slot 2 of player with paper named "&aUpdate Notifications" with lore "&eClick to change!||&aEnabled" to close then run [set {update.notify.off} to true]->[message "%{profile.prefix}% &cUpdate notifications turned off!"]
- if arg 1 is "help":
- if arg 2 is not set:
- message "&5&l● Profile Help ●"
- message "&e/profile - Main command"
- message "&e/profile follow <player> - Follow a player"
- message "&e/profile unfollow <player> - Unfollow a player"
- message "&e/profile block <player> - Block a player"
- message "&e/profile unblock <player> - Unblock a player"
- message "&e/profile age <number> - Set profile age"
- message "&e/profile gender <gender> - Set profile gender"
- message "&5&oFor more commands, use /profile help 2 (Page 1/5)"
- stop
- if arg 2 is "2":
- message "&5&l● Profile Help ●"
- message "&e/profile country <country> - Set profile country"
- message "&e/profile bio <bio> - Set profile bio"
- message "&e/profile nickname <nickname> - Set profile nickname"
- message "&e/profile likes <likes> - Set profile likes"
- message "&e/profile dislikes <dislikes> - Set profile dislikes"
- message "&e/profile private toggle - Make profile private"
- message "&e/profile followreq <player> - Request to follow private players"
- message "&5&oFor more commands, use /profile help 3 (Page 2/5)"
- stop
- if arg 2 is "3":
- message "&5&l● Profile Help ●"
- message "&e/profile accept <player> - Accept follow request"
- message "&e/profile deny <player> - Deny follow request"
- message "&e/profile updates <on/off> - Turn on/off profile notifications on join"
- message "&e/profile mob <player> - Set favorite mob"
- message "&e/profile ore <player> - Set favorite ore"
- message "&e/profile gamemode <player> - Set favorite gamemode"
- message "&e/profile color - Choose your color"
- message "&5&oFor more commands, use /profile help 4 (Page 3/5)"
- stop
- if arg 2 is "4":
- message "&5&l● Profile Help ●"
- message "&e/profile ban <player> - Ban a player from setting profile"
- message "&e/profile unban <player> - Unban a banned player from setting profile"
- message "&e/profile chat <player> - Request to chat"
- message "&e/profile chat leave - Leave a chat"
- message "&e/profile chat - Toggle private chat"
- message "&e/profile version - View your current version"
- message "&e/profile clear - Clear profile"
- message "&5&oFor more commands, use /profile help 5 (Page 3/5))"
- stop
- if arg 2 is "5":
- message "&5&l● Profile Help ●"
- message "&e/profile staffclear <player> - Clear a player's profile"
- message "&e/profile report <player> - Report a player"
- message "&e/profile reports - View reports"
- message "&e/profile viewreport <player> - View a player report"
- message "&e/profile bans - View all banned profiles"
- message "&5&oTo go back to page one, use /profile help (Page 5/5))"
- stop
- if arg 1 is "version":
- if arg 2 is not set:
- if player has permission "profile.version":
- message "&5&l● Profile Version ●"
- message "&7Version: &a{@version}"
- if text from "http://pastebin.com/raw/LniMP1n0" is not "{@version}":
- message "&7Update Availible: &aYes"
- stop
- else:
- if text from "http://pastebin.com/raw/LniMP1n0" is "{@version}":
- message "&7Update Availible: &cNo"
- stop
- else:
- message "%{profile.prefix}% &cYou do not have permission to view the version!"
- stop
- if arg 1 is "clear":
- if arg 2 is not set:
- wait 0.5 seconds
- open chest with 1 row named "&9&lAre you sure?" to player
- format slot 2 of player with light green wool block named "&a&lYes" with lore "&eClick to clear profile" to close then run [delete {profile.%uuid of player%.bio}]->[delete {profile.%uuid of player%.country}]->[delete {profile.%uuid of player%.age}]->[delete {profile.%uuid of player%.gender}]->[delete {profile.%player%.rank}]->[delete {profile.%uuid of player%.nickname}]->[delete {profile.%uuid of player%.likes}]->[delete {profile.%uuid of player%.dislikes}]->[delete {profile.%uuid of player%.pendingfollow}]->[delete {profile.%uuid of player%.pendingfollow::*}]->[delete {profile.%uuid of player%.mob}]->[delete {profile.%uuid of player%.ore}]->[delete {profile.%uuid of player%.gamemode}]->[delete {profile.%uuid of player%.toggle}]->[delete {profile.%uuid of player%.color}]->[message "%{profile.prefix}% &aYour profile has been cleared!"]
- format slot 6 of player with red wool block named "&c&lNo" with lore "&eClick to cancel" to close
- stop
- else:
- message "%{profile.prefix}% &Incorrect usage: /profile clear"
- stop
- if arg 1 is "staffclear":
- if arg 2 is set:
- if player has permission "profile.staff.clear" or "profile.staff.*":
- wait 0.2 seconds
- open chest with 1 row named "&4&l● Are you sure? ●" to player
- format slot 0 of player with emerald block named "&aYes, clear %arg-2%'s profile" with lore "&eClick to clear" to close then run [delete {profile.%arg-2%.age}]->[delete {profile.%arg-2%.gender}]->[delete {profile.%arg-2%.country}]->[delete {profile.%arg-2%.bio}]->[delete {profile.%arg-2%.nickname}]->[delete {profile.%arg-2%.likes}]->[delete {profile.%arg-2%.dislikes}]->[delete {profile.%arg-2%.mob}]->[delete {profile.%arg-2%.ore}]->[delete {profile.%arg-2%.gamemode}]->[delete {profile.%arg-2%.color}]->[message "%{profile.prefix}% &aYou have cleared %arg-2%'s profile!"]->[message "%{profile.prefix}% &aYour profile has been cleared by staff!" to arg-2]
- format slot 8 of player with redstone block named "&cNo, do not clear %arg-2%'s profile" with lore "&eClick to cancel clear" to close then run [message "%{profile.prefix}% &aYou have cancelled the clear of %arg-2%'s profile!"]
- stop
- else:
- message "%{profile.prefix}% &cYou do not have permission to clear profiles!"
- stop
- if arg 1 is "bans":
- if player has permission "profile.staff.bans" or "profile.staff.*":
- message "&5&lBanned Profiles:" to player
- message "%{profile.bans::*}%" to player
- stop
- else:
- message "%{profile.prefix}% &cYou do not have permission to view bans!"
- stop
- if arg 1 is "economy":
- if player has permission "profile.economy":
- wait 0.2 seconds
- open chest with 1 row named "&5&lEconomy" to player
- if {profile.economy} is "Essentials":
- format slot 0 of player with paper named "&6Essentials" with lore "&a&oSelected" to close
- format slot 1 of player with paper named "&6Ultimate Essentials Pro" with lore "&c&oNot Selected" to close then run [set {profile.economy} to "UEP"]->[make player execute command "/profile economy"]
- format slot 8 of player with red stained glass pane named "&4Disable Economy" with lore "&c&oClick to disable economy" to close then run [delete {profile.economy}]->[make player execute command "/profile economy"]
- else:
- if {profile.economy} is "UEP":
- format slot 0 of player with paper named "&6Essentials" with lore "&c&oNot Selected" to close then run [set {profile.economy} to "Essentials"]->[make player execute command "/profile economy"]
- format slot 1 of player with paper named "&6Ultimate Essentials Pro" with lore "&a&oSelected" to close
- format slot 8 of player with red stained glass pane named "&4Disable Economy" with lore "&c&oClick to disable economy" to close then run [delete {profile.economy}]->[make player execute command "/profile economy"]
- else:
- if {profile.economy} is not set:
- format slot 0 of player with paper named "&6Essentials" with lore "&c&oNot Selected" to close then run [set {profile.economy} to "Essentials"]->[make player execute command "/profile economy"]
- format slot 1 of player with paper named "&6Ultimate Essentials Pro" with lore "&c&oNot Selected" to close then run [set {profile.economy} to "UEP"]->[make player execute command "/profile economy"]
- format slot 8 of player with red stained glass pane named "&4Disable Economy" with lore "&c&oClick to disable economy" to close then run [delete {profile.economy}]->[make player execute command "/profile economy"]
- on chat:
- if {profile.%{profile.%uuid of player%.playerban}%.setban} is set:
- if message does not contain "cancel":
- replace all "&0" and "&1" and "&2" and "&3" and "&4" and "&5" and "&6" and "&7" and "&8" and "&9" and "&a" and "&b" and "&c" and "&d" and "&e" and "&f" and "&k" and "&l" and "&m" and "&n" and "&o" with "&f" in message
- cancel event
- set {profile.%{profile.%uuid of player%.playerban}%.banned} to message
- delete {profile.%uuid of player%.setplayerban}
- delete {profile.%{profile.%uuid of player%.playerban}%.setban}
- message "%{profile.prefix}% &aYou have banned this player's profile for '%message%'"
- wait 0.1 seconds
- loop all players:
- if "%{profile.%uuid of player%.playerban}%" contains name of loop-player:
- message "&aYou have been banned for &2%message%" to loop-player
- wait 0.1 seconds
- delete {profile.%uuid of player%.playerban}
- stop
- else:
- cancel event
- delete {profile.%uuid of player%.setplayerban}
- delete {profile.%{profile.%uuid of player%.playerban}%.setban}
- wait 0.1 seconds
- delete {profile.%uuid of player%.playerban}
- message "%{profile.prefix}% &aCancelled player ban!"
- stop
- if {profile.%uuid of player%.setcountry} is set:
- if message does not contain "_" or "-" or ".":
- if message does not contain "cancel":
- if message does not contain "delete":
- cancel event
- replace all "&0" and "&1" and "&2" and "&3" and "&4" and "&5" and "&6" and "&7" and "&8" and "&9" and "&a" and "&b" and "&c" and "&d" and "&e" and "&f" and "&k" and "&l" and "&m" and "&n" and "&o" with "&f" in message
- set {profile.%uuid of player%.country} to message
- delete {profile.%uuid of player%.setcountry}
- message "%{profile.prefix}% &aYour country has been set to %message%"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- else:
- delete {profile.%uuid of player%.country}
- delete {profile.%uuid of player%.setcountry}
- message "%{profile.prefix}% &a&oYou have deleted your country from your profile"
- cancel event
- stop
- else:
- delete {profile.%uuid of player%.setcountry}
- message "%{profile.prefix}% &a&oExited profile country editor"
- cancel event
- stop
- else:
- message "&cPlease do not use symbols in your country!"
- delete {profile.%uuid of player%.setcountry}
- message "%{profile.prefix}% &c&oExited profile country editor"
- cancel event
- stop
- if {profile.%uuid of player%.setbio} is set:
- if message does not contain "cancel":
- if message does not contain "delete":
- cancel event
- replace all "&0" and "&1" and "&2" and "&3" and "&4" and "&5" and "&6" and "&7" and "&8" and "&9" and "&a" and "&b" and "&c" and "&d" and "&e" and "&f" and "&k" and "&l" and "&m" and "&n" and "&o" with "&f" in message
- set {profile.%uuid of player%.bio} to message
- delete {profile.%uuid of player%.setbio}
- message "%{profile.prefix}% &aYour bio has been set to %message%"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- else:
- delete {profile.%uuid of player%.bio}
- delete {profile.%uuid of player%.setbio}
- message "%{profile.prefix}% &a&oYou have deleted your bio from your profile"
- cancel event
- stop
- else:
- delete {profile.%uuid of player%.setbio}
- message "%{profile.prefix}% &a&oExited profile country editor"
- cancel event
- stop
- if {profile.%uuid of player%.setore} is set:
- if message does not contain "cancel":
- if message does not contain "delete":
- cancel event
- replace all "&0" and "&1" and "&2" and "&3" and "&4" and "&5" and "&6" and "&7" and "&8" and "&9" and "&a" and "&b" and "&c" and "&d" and "&e" and "&f" and "&k" and "&l" and "&m" and "&n" and "&o" with "&f" in message
- set {profile.%uuid of player%.ore} to message
- delete {profile.%uuid of player%.setore}
- message "%{profile.prefix}% &aYour favorite ore has been set to %message%"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- else:
- delete {profile.%uuid of player%.ore}
- delete {profile.%uuid of player%.setore}
- message "%{profile.prefix}% &a&oYou have deleted your favorite ore from your profile"
- cancel event
- stop
- else:
- delete {profile.%uuid of player%.setore}
- message "%{profile.prefix}% &a&oExited profile favorite ore editor"
- cancel event
- stop
- if {profile.%uuid of player%.setgamemode} is set:
- if message does not contain "cancel":
- if message does not contain "delete":
- cancel event
- replace all "&0" and "&1" and "&2" and "&3" and "&4" and "&5" and "&6" and "&7" and "&8" and "&9" and "&a" and "&b" and "&c" and "&d" and "&e" and "&f" and "&k" and "&l" and "&m" and "&n" and "&o" with "&f" in message
- set {profile.%uuid of player%.gamemode} to message
- delete {profile.%uuid of player%.setgamemode}
- message "%{profile.prefix}% &aYour favorite gamemode has been set to %message%"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- else:
- delete {profile.%uuid of player%.gamemode}
- delete {profile.%uuid of player%.setgamemode}
- message "%{profile.prefix}% &a&oYou have deleted your favorite gamemode from your profile"
- cancel event
- stop
- else:
- delete {profile.%uuid of player%.setgamemode}
- message "%{profile.prefix}% &a&oExited profile favorite gamemode editor"
- cancel event
- stop
- if {profile.%uuid of player%.setnickname} is set:
- if message does not contain "cancel":
- if message does not contain "delete":
- cancel event
- replace all "&0" and "&1" and "&2" and "&3" and "&4" and "&5" and "&6" and "&7" and "&8" and "&9" and "&a" and "&b" and "&c" and "&d" and "&e" and "&f" and "&k" and "&l" and "&m" and "&n" and "&o" with "&f" in message
- set {profile.%uuid of player%.nickname} to message
- delete {profile.%uuid of player%.setnickname}
- message "%{profile.prefix}% &aYour nickname has been set to %message%"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- else:
- delete {profile.%uuid of player%.setnickname}
- delete {profile.%uuid of player%.nickname}
- message "%{profile.prefix}% &a&oYou have deleted your nickname from your profile"
- cancel event
- stop
- else:
- delete {profile.%uuid of player%.setnickname}
- message "%{profile.prefix}% &a&oExited profile nickname editor"
- cancel event
- stop
- if {profile.%uuid of player%.setlikes} is set:
- if message does not contain "cancel":
- if message does not contain "delete":
- cancel event
- replace all "&0" and "&1" and "&2" and "&3" and "&4" and "&5" and "&6" and "&7" and "&8" and "&9" and "&a" and "&b" and "&c" and "&d" and "&e" and "&f" and "&k" and "&l" and "&m" and "&n" and "&o" with "&f" in message
- set {profile.%uuid of player%.likes} to message
- delete {profile.%uuid of player%.setlikes}
- message "%{profile.prefix}% &aYour likes have been set"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- else:
- delete {profile.%uuid of player%.likes}
- delete {profile.%uuid of player%.setlikes}
- message "%{profile.prefix}% &a&oYou have deleted your likes from your profile"
- cancel event
- stop
- else:
- delete {profile.%uuid of player%.setlikes}
- message "&a&oExited profile likes editor"
- cancel event
- stop
- if {profile.%uuid of player%.setdislikes} is set:
- if message does not contain "cancel":
- if message does not contain "delete":
- cancel event
- replace all "&0" and "&1" and "&2" and "&3" and "&4" and "&5" and "&6" and "&7" and "&8" and "&9" and "&a" and "&b" and "&c" and "&d" and "&e" and "&f" and "&k" and "&l" and "&m" and "&n" and "&o" with "&f" in message
- set {profile.%uuid of player%.dislikes} to message
- delete {profile.%uuid of player%.setdislikes}
- message "%{profile.prefix}% &aYour dislikes have been set"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- else:
- delete {profile.%uuid of player%.dislikes}
- delete {profile.%uuid of player%.setdislikes}
- message "%{profile.prefix}% &a&oYou have deleted your dislikes from your profile"
- cancel event
- stop
- else:
- delete {profile.%uuid of player%.setdislikes}
- message "%{profile.prefix}% &a&oExited profile nickname editor"
- cancel event
- stop
- if {profile.%uuid of player%.setmob} is set:
- if message does not contain "cancel":
- if message does not contain "delete":
- cancel event
- replace all "&0" and "&1" and "&2" and "&3" and "&4" and "&5" and "&6" and "&7" and "&8" and "&9" and "&a" and "&b" and "&c" and "&d" and "&e" and "&f" and "&k" and "&l" and "&m" and "&n" and "&o" with "&f" in message
- set {profile.%uuid of player%.mob} to message
- delete {profile.%uuid of player%.setmob}
- message "%{profile.prefix}% &aYour favorite mob has been set"
- set {profiles::inactive::%uuid of player%} to 0
- stop
- else:
- delete {profile.%uuid of player%.mob}
- delete {profile.%uuid of player%.setmob}
- message "%{profile.prefix}% &a&oYou have deleted your favorite mob from your profile"
- cancel event
- stop
- else:
- delete {profile.%uuid of player%.setmob}
- message "%{profile.prefix}% &a&oExited profile favorite mob editor"
- cancel event
- stop
- if {profile.%player%.prefix} is set:
- if message does not contain "cancel":
- if message does not contain "delete":
- cancel event
- set {profile.prefix} to message
- delete {profile.%player%.prefix}
- message "%{profile.prefix}% &aThe plugin prefix has been set!"
- stop
- else:
- set {profile.prefix} to "&3&oProfiles &9&o>>"
- cancel event
- delete {profile.%player%.prefix}
- message "%{profile.prefix}% &aThe profile prefix has been set to default!"
- stop
- else:
- cancel event
- delete {profile.%player%.prefix}
- message "%{profile.prefix}% &aExited prefix editior."
- stop
- if {profile.%player%.ID} is set:
- if message does not contain "cancel":
- if message does not contain "delete":
- cancel event
- delete {profile.%player%.ID}
- replace all "&0" and "&1" and "&2" and "&3" and "&4" and "&5" and "&6" and "&7" and "&8" and "&9" and "&a" and "&b" and "&c" and "&d" and "&e" and "&f" and "&k" and "&l" and "&m" and "&n" and "&o" with "" in message
- message "%{profile.prefix}% &aThe profile item ID has been set to &2%message%"
- set {profile.ID} to message
- stop
- else:
- set {profile.ID} to "book"
- cancel event
- delete {profile.%player%.ID}
- message "%{profile.prefix}% &aThe profile item ID has been set to default! (Books)"
- stop
- else:
- cancel event
- delete {profile.%player%.ID}
- message "%{profile.prefix}% &aExited profile item ID editior."
- stop
- on command "/profile":
- if {profile.%uuid of player%.setbio} is set:
- delete {profile.%uuid of player%.setbio}
- message "%{profile.prefix}% &c&oExited profile bio editor"
- if {profile.%uuid of player%.setcountry} is set:
- delete {profile.%uuid of player%.setcountry}
- message "%{profile.prefix}% &c&oExited profile country editor"
- if {profile.%uuid of player%.setage} is set:
- delete {profile.%uuid of player%.setage}
- message "%{profile.prefix}% &c&oExited profile age editor"
- if {profile.%uuid of player%.setgender} is set:
- delete {profile.%uuid of player%.setgender}
- message "%{profile.prefix}% &c&oExited profile gender editor"
- if {profile.%uuid of player%.setnickname} is set:
- delete {profile.%uuid of player%.setnickname}
- message "%{profile.prefix}% &c&oExited profile nickname editor"
- if {profile.%uuid of player%.setlikes} is set:
- delete {profile.%uuid of player%.setlikes}
- message "%{profile.prefix}% &c&oExited profile likes editor"
- if {profile.%uuid of player%.setdislikes} is set:
- delete {profile.%uuid of player%.setdislikes}
- message "%{profile.prefix}% &c&oExited profile dislikes editor"
- if {profile.%uuid of player%.setore} is set:
- delete {profile.%uuid of player%.setore}
- message "%{profile.prefix}% &c&oExited profile favorite ore editor"
- if {profile.%uuid of player%.setgamemode} is set:
- delete {profile.%uuid of player%.setgamemode}
- message "%{profile.prefix}% &c&oExited profile favorite gamemode editor"
- if {profile.%uuid of player%.setban} is set:
- delete {profile.%uuid of player%.playerban}
- delete {profile.%uuid of player%.setplayerban}
- delete {profile.%{profile.%uuid of player%.playerban}%.setban}
- message "%{profile.prefix}% &c&oExited profile ban reason editor"
- if {profile.%uuid of player%.setclear} is set:
- delete {profile.%uuid of player%.setclear}
- message "%{profile.prefix}% &c&lExited profile clear editior"
- if {profile.%player%.prefix} is set:
- delete {profile.%player%.prefix}
- message "%{profile.prefix}% &c&lExited profile prefix editior"
- if {profile.%player%.ID} is set:
- delete {profile.%player%.ID}
- message "%{profile.prefix}% &c&lExited profile item ID editior"
- on quit:
- delete {profile.%uuid of player%.setbio}
- delete {profile.%uuid of player%.setcountry}
- delete {profile.%uuid of player%.setage}
- delete {profile.%uuid of player%.setgender}
- delete {profile.%uuid of player%.setrank}
- delete {profile.%uuid of player%.setnickname}
- delete {profile.%uuid of player%.setlikes}
- delete {profile.%uuid of player%.setdislikes}
- delete {profile.%uuid of player%.pendingfollow}
- delete {profile.%uuid of player%.pendingfollow::*}
- delete {profile.%uuid of player%.setore}
- delete {profile.%uuid of player%.setgamemode}
- delete {profile.%uuid of player%.toggle}
- delete {profile.%uuid of player%.setban}
- delete {profile.%uuid of player%.playerban}
- delete {profile.%uuid of player%.setplayerban}
- delete {profile.%uuid of player%.setclear}
- delete {profile.%uuid of player%.setmob}
- delete {profile.%uuid of player%.menu}
- delete {profile.%player%.prefix}
- delete {profile.%player%.ID}
- loop all players:
- if "%{profile.%player%.chat}%" is "%loop-player%":
- message "%{profile.prefix}% &cYour chat with %{profile.%loop-player%.chat}% has been cancelled (Player left the server)" to loop-player
- delete {profile.%loop-player%.toggle}
- wait 0.1 seconds
- delete {profile.%loop-player%.chat}
- wait 0.1 seconds
- delete {profile.%player%.chat}
- on inventory close:
- if {profile.%uuid of player%.menu} is set:
- delete {profile.%uuid of player%.menu}
- on inventory click:
- if {profile.%uuid of player%.menu} is set:
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement