Advertisement
yozora_1202

Untitled

Jul 15th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 128.19 KB | None | 0 0
  1. options:
  2. ChatHUB: &3Hub >
  3. ChatTheTower: &3TheTower >
  4. prefixWorld: &36moon >
  5.  
  6. tabHeaderHub: "&3&lTabList du Hub"
  7. tabHeaderTheTower: "&3&lTabList du TheTower"
  8. tabHeaderWorld: "&3&lTabList du Monde World"
  9.  
  10. on chat: # Chat par monde !
  11. cancel event
  12. if player is in world "HUB":
  13. broadcast "{@ChatHUB} &b%player%&f: %message%"
  14. if player is in world "TheTower"
  15. broadcast "{@ChatTheTower} &b%player%&f: %message%"
  16. if player is in world "World"
  17. broadcast "{@prefixWorld} &b%player%&f: %message%"
  18.  
  19. on join:
  20. execute player command "/tablist refresh"
  21.  
  22. on kick:
  23.  
  24. execute player command "/tablist refresh"
  25.  
  26. on quit:
  27. execute player command "/tablist refresh"
  28.  
  29. every 60 seconds:
  30. execute console command "/tablist refresh"
  31.  
  32. on teleport:
  33. execute console command "/tablist refresh"
  34.  
  35. command /tablist refresh: # TabList par Monde !
  36. aliases: btl
  37. description: Permet de rafraichir les tabLists de tous les joueurs. Requis en cas modification des messages.
  38. executable by: console and players
  39. trigger:
  40. loop all players:
  41. if loop-player is in world "HUB":
  42. set tab header to {@tabHeaderHub} and footer to {@tabFooter} for loop-player
  43. wait 1 tick
  44. if loop-player is in world "TheTower":
  45. set tab header to {@tabHeaderTheTower} and footer to {@tabFooter} for loop-player
  46. wait 1 tick
  47. if loop-player is in world "World":
  48. set tab header to {@tabHeaderworld} and footer to {@tabFooter} for loop-player
  49. wait 1 tick
  50.  
  51. every 5 second: # ScoreBoard par Monde !
  52. loop all players:
  53. if loop-player is in world "HUB":
  54. wipe loop-player's sidebar
  55. wait 1 tick
  56. set name of sidebar of loop-player to " &3&lVotre Serveur "
  57. set score " " in sidebar of loop-player to 7
  58. set score "&7Monde: &a%player's world%" in sidebar of loop-player to 6
  59. set score "&7Ping: &a%player's ping%" in sidebar of loop-player to 5
  60. set score "&7Coins: &b0" in sidebar of loop-player to 4
  61. set score " " in sidebar of loop-player to 3
  62. set score "&7Connectés: &b%amount of players%" in sidebar of loop-player to 2
  63. set score " " in sidebar of loop-player to 1
  64. if loop-player is in world "TheTower":
  65. wipe loop-player's sidebar
  66. wait 1 tick
  67. set name of sidebar of loop-player to " &3&l適当なSK鯖 "
  68. set score " " in sidebar of loop-player to 7
  69. set score "&7Monde: &a%player's world%" in sidebar of loop-player to 6
  70. set score "&7Ping: &a%player's ping%" in sidebar of loop-player to 5
  71. set score "&7Coins: &b0" in sidebar of loop-player to 4
  72. set score " " in sidebar of loop-player to 3
  73. set score "&7Connectés: &b%amount of players%" in sidebar of loop-player to 2
  74. set score " " in sidebar of loop-player to 1
  75. if loop-player is in world "World":
  76. wipe loop-player's sidebar
  77. wait 1 tick
  78. set name of sidebar of loop-player to " &3&lVotre Serveur "
  79. set score " " in sidebar of loop-player to 7
  80. set score "&7Monde: &a%player's world%" in sidebar of loop-player to 6
  81. set score "&7Ping: &a%player's ping%" in sidebar of loop-player to 5
  82. set score "&7Coins: &b0" in sidebar of loop-player to 4
  83. set score " " in sidebar of loop-player to 3
  84. set score "&7Connectés: &b%amount of players%" in sidebar of loop-player to 2
  85. set score " " in sidebar of loop-player to 1
  86. else:
  87. wipe loop-player's sidebar
  88.  
  89. # Profiles Skript - Developed By ItsSniper #
  90. # Do not steal or reupload! #
  91. # Wanna support me? Subscribe to my channel: http://youtube.com/c/ItsSniper #
  92. # Do not modify code below! #
  93.  
  94. options:
  95. version: Release 1.9
  96.  
  97. on load:
  98. if {profile.prefix} is not set:
  99. set {profile.prefix} to "&3&oProfiles &9&o>>"
  100. if {profile.ID} is not set:
  101. set {profile.ID} to "book"
  102.  
  103. on join:
  104. if text from "http://pastebin.com/raw/LniMP1n0" is not "{@version}":
  105. if player has permission "profile.update.notify" or "profile.staff.*":
  106. if {update.notify.off} is not set:
  107. set {profiles.newversion} to text from "http://pastebin.com/raw/LniMP1n0"
  108. wait 3 seconds
  109. message "%{profile.prefix}% &cCurrent Version: {@version} - New Version: %{profiles.newversion}%"
  110. message "%{profile.prefix}% &chttp://bit.ly/ProfileSkript"
  111. if {profiles::inactive::%uuid of player%} is set:
  112. set {profiles::inactive::%uuid of player%} to 0
  113. stop
  114. else:
  115. stop
  116.  
  117. every hour:
  118. loop {profiles::inactive::*}:
  119. set {_player} to "%loop-index%" parsed as a player
  120. if {profiles::inactive::%loop-index%} is greater than 336:
  121. delete {profile.%loop-index%.age}
  122. delete {profile.%loop-index%.gender}
  123. delete {profile.%loop-index%.country}
  124. delete {profile.%loop-index%.bio}
  125. delete {profile.%loop-index%.nickname}
  126. delete {profile.%loop-index%.likes}
  127. delete {profile.%loop-index%.dislikes}
  128. delete {profile.%loop-index%.mob}
  129. delete {profile.%loop-index%.ore}
  130. delete {profile.%loop-index%.gamemode}
  131. delete {profile.%loop-index%.private}
  132. delete {profile.%loop-index%.color}
  133. delete {profile.%loop-index%.color2}
  134. wait 1 second
  135. delete {profiles::inactive::%loop-index%}
  136. stop
  137. else:
  138. add 1 to {profiles::inactive::%loop-index%}
  139. stop
  140.  
  141. command /profile [<offline player>] [<offline player>]:
  142. trigger:
  143. if arg 1 is not set:
  144. if arg 2 is not set:
  145. if {profiles::inactive::%uuid of player%} is set:
  146. set {_profile.%player%.id} to "%{profile.ID}%" parsed as item
  147. wait 0.5 seconds
  148. set {profile.%uuid of player%.menu} to true
  149. if {profile.%uuid of player%.banned} is not set:
  150. if "%{profile.%uuid of player%.color}%" is "4":
  151. open chest with 6 rows named "&4&l ● Profile ●" to player
  152. else:
  153. if "%{profile.%uuid of player%.color}%" is "1":
  154. open chest with 6 rows named "&1&l ● Profile ●" to player
  155. else:
  156. if "%{profile.%uuid of player%.color}%" is "2":
  157. open chest with 6 rows named "&2&l ● Profile ●" to player
  158. else:
  159. if "%{profile.%uuid of player%.color}%" is "d":
  160. open chest with 6 rows named "&d&l ● Profile ●" to player
  161. else:
  162. if "%{profile.%uuid of player%.color}%" is "e":
  163. open chest with 6 rows named "&e&l ● Profile ●" to player
  164. else:
  165. if "%{profile.%uuid of player%.color}%" is "5":
  166. open chest with 6 rows named "&5&l ● Profile ●" to player
  167. else:
  168. if "%{profile.%uuid of player%.color}%" is "6":
  169. open chest with 6 rows named "&6&l ● Profile ●" to player
  170. else:
  171. if "%{profile.%uuid of player%.color}%" is "8":
  172. open chest with 6 rows named "&8&l ● Profile ●" to player
  173. else:
  174. if "%{profile.%uuid of player%.color}%" is "a":
  175. open chest with 6 rows named "&a&l ● Profile ●" to player
  176. else:
  177. if "%{profile.%uuid of player%.color}%" is "holiday":
  178. open chest with 6 rows named "&a&l ● Profile ●" to player
  179. else:
  180. if "%{profile.%uuid of player%.color}%" is "ocean":
  181. open chest with 6 rows named "&b&l ● Profile ●" to player
  182. else:
  183. if "%{profile.%uuid of player%.color}%" is "lava":
  184. open chest with 6 rows named "&4&l ● Profile ●" to player
  185. else:
  186. open chest with 6 rows named "&f&l ● Profile ●" to player
  187. if text from "http://pastebin.com/raw/z2d2RQrM" contains "%player%":
  188. if {profile.%uuid of player%.followers} is set:
  189. if {profile.%uuid of player%.following} is set:
  190. 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
  191. else:
  192. if {profile.%uuid of player%.followers} is set:
  193. if {profile.%uuid of player%.following} is not set:
  194. 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
  195. else:
  196. 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
  197. else:
  198. if {profile.%uuid of player%.followers} is not set:
  199. if {profile.%uuid of player%.following} is set:
  200. 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
  201. else:
  202. format slot 4 of player with player's skull named "&a%player% ✪" with lore "&5&lSupporter||&eFollowers: 0||&eFollowing: 0" to close
  203. else:
  204. if text from "http://pastebin.com/raw/Szk7nq60" contains "%player%":
  205. if {profile.%uuid of player%.followers} is set:
  206. if {profile.%uuid of player%.following} is set:
  207. set {_profilerank} to text from "http://pastebin.com/raw/t20tCBFR"
  208. 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
  209. else:
  210. if {profile.%uuid of player%.followers} is set:
  211. if {profile.%uuid of player%.following} is not set:
  212. set {_profilerank} to text from "http://pastebin.com/raw/t20tCBFR"
  213. 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
  214. else:
  215. set {_profilerank} to text from "http://pastebin.com/raw/t20tCBFR"
  216. 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
  217. else:
  218. if {profile.%uuid of player%.followers} is not set:
  219. if {profile.%uuid of player%.following} is set:
  220. set {_profilerank} to text from "http://pastebin.com/raw/t20tCBFR"
  221. 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
  222. else:
  223. set {_profilerank} to text from "http://pastebin.com/raw/t20tCBFR"
  224. format slot 4 of player with player's skull named "&a%player% ✪" with lore "&5&l%{_profilerank}%||&eFollowers: 0||&eFollowing: 0" to close
  225. else:
  226. if text from "http://pastebin.com/raw/ULZ5N0uX" contains "%player%":
  227. if {profile.%uuid of player%.followers} is set:
  228. if {profile.%uuid of player%.following} is set:
  229. 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
  230. else:
  231. if {profile.%uuid of player%.followers} is set:
  232. if {profile.%uuid of player%.following} is not set:
  233. 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
  234. else:
  235. 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
  236. else:
  237. if {profile.%uuid of player%.followers} is not set:
  238. if {profile.%uuid of player%.following} is set:
  239. 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
  240. else:
  241. format slot 4 of player with player's skull named "&a%player% ✪" with lore "&5&lVIP||&eFollowers: 0||&eFollowing: 0" to close
  242. else:
  243. if {profile.%uuid of player%.followers} is set:
  244. if {profile.%uuid of player%.following} is set:
  245. 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
  246. else:
  247. if {profile.%uuid of player%.followers} is set:
  248. if {profile.%uuid of player%.following} is not set:
  249. format slot 4 of player with player's skull named "&a%player%" with lore "&eFollowers: %{profile.%uuid of player%.followers}%||&eFollowing: 0" to close
  250. else:
  251. 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
  252. else:
  253. if {profile.%uuid of player%.followers} is not set:
  254. if {profile.%uuid of player%.following} is set:
  255. format slot 4 of player with player's skull named "&a%player%" with lore "&eFollowers: 0||&eFollowing: %{profile.%uuid of player%.following}%" to close
  256. else:
  257. format slot 4 of player with player's skull named "&a%player%" with lore "&eFollowers: 0||&eFollowing: 0" to close
  258. 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"]
  259. if {profile.%uuid of player%.age} is set:
  260. 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"]
  261. else:
  262. 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"]
  263. if {profile.%uuid of player%.gender} is set:
  264. 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"]
  265. else:
  266. 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"]
  267. if {profile.%uuid of player%.country} is set:
  268. 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"]
  269. else:
  270. 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"]
  271. if {profile.%uuid of player%.bio} is set:
  272. 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"]
  273. else:
  274. 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"]
  275. if {profile.%uuid of player%.nickname} is set:
  276. 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"]
  277. else:
  278. 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"]
  279. if {profile.%uuid of player%.likes} is set:
  280. 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"]
  281. else:
  282. 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"]
  283. if {profile.%uuid of player%.dislikes} is set:
  284. 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"]
  285. else:
  286. 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"]
  287. if {profile.%uuid of player%.mob} is set:
  288. 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%"]
  289. else:
  290. 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%"]
  291. if {profile.%uuid of player%.ore} is set:
  292. 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%"]
  293. else:
  294. 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%"]
  295. if {profile.%uuid of player%.gamemode} is set:
  296. 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%"]
  297. else:
  298. 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%"]
  299. 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"]
  300. if "%{profile.%uuid of player%.color}%" is "4":
  301. if {profile.%uuid of player%.color2} is not set:
  302. set {_item.%player%} to "red stained glass pane" parsed as item
  303. set {_item.%player%.2} to "red stained glass pane" parsed as item
  304. else:
  305. set {_item.%player%} to "red stained glass pane" parsed as item
  306. set {_item.%player%.2} to "%{profile.%uuid of player%.color2}% stained glass pane" parsed as item
  307. else:
  308. if "%{profile.%uuid of player%.color}%" is "1":
  309. if {profile.%uuid of player%.color2} is not set:
  310. set {_item.%player%} to "blue stained glass pane" parsed as item
  311. set {_item.%player%.2} to "blue stained glass pane" parsed as item
  312. else:
  313. set {_item.%player%} to "blue stained glass pane" parsed as item
  314. set {_item.%player%.2} to "%{profile.%uuid of player%.color2}% stained glass pane" parsed as item
  315. else:
  316. if "%{profile.%uuid of player%.color}%" is "2":
  317. if {profile.%uuid of player%.color2} is not set:
  318. set {_item.%player%} to "green stained glass pane" parsed as item
  319. set {_item.%player%.2} to "green stained glass pane" parsed as item
  320. else:
  321. set {_item.%player%} to "green stained glass pane" parsed as item
  322. set {_item.%player%.2} to "%{profile.%uuid of player%.color2}% stained glass pane" parsed as item
  323. else:
  324. if "%{profile.%uuid of player%.color}%" is "d":
  325. if {profile.%uuid of player%.color2} is not set:
  326. set {_item.%player%} to "pink stained glass pane" parsed as item
  327. set {_item.%player%.2} to "pink stained glass pane" parsed as item
  328. else:
  329. set {_item.%player%} to "pink stained glass pane" parsed as item
  330. set {_item.%player%.2} to "%{profile.%uuid of player%.color2}% stained glass pane" parsed as item
  331. else:
  332. if "%{profile.%uuid of player%.color}%" is "e":
  333. if {profile.%uuid of player%.color2} is not set:
  334. set {_item.%player%} to "yellow stained glass pane" parsed as item
  335. set {_item.%player%.2} to "yellow stained glass pane" parsed as item
  336. else:
  337. set {_item.%player%} to "yellow stained glass pane" parsed as item
  338. set {_item.%player%.2} to "%{profile.%uuid of player%.color2}% stained glass pane" parsed as item
  339. else:
  340. if "%{profile.%uuid of player%.color}%" is "5":
  341. if {profile.%uuid of player%.color2} is not set:
  342. set {_item.%player%} to "purple stained glass pane" parsed as item
  343. set {_item.%player%.2} to "purple stained glass pane" parsed as item
  344. else:
  345. set {_item.%player%} to "purple stained glass pane" parsed as item
  346. set {_item.%player%.2} to "%{profile.%uuid of player%.color2}% stained glass pane" parsed as item
  347. else:
  348. if "%{profile.%uuid of player%.color}%" is "6":
  349. if {profile.%uuid of player%.color2} is not set:
  350. set {_item.%player%} to "orange stained glass pane" parsed as item
  351. set {_item.%player%.2} to "orange stained glass pane" parsed as item
  352. else:
  353. set {_item.%player%} to "orange stained glass pane" parsed as item
  354. set {_item.%player%.2} to "%{profile.%uuid of player%.color2}% stained glass pane" parsed as item
  355. else:
  356. if "%{profile.%uuid of player%.color}%" is "8":
  357. if {profile.%uuid of player%.color2} is not set:
  358. set {_item.%player%} to "brown stained glass pane" parsed as item
  359. set {_item.%player%.2} to "brown stained glass pane" parsed as item
  360. else:
  361. set {_item.%player%} to "brown stained glass pane" parsed as item
  362. set {_item.%player%.2} to "%{profile.%uuid of player%.color2}% stained glass pane" parsed as item
  363. else:
  364. if "%{profile.%uuid of player%.color}%" is "a":
  365. if {profile.%uuid of player%.color2} is not set:
  366. set {_item.%player%} to "stained glass pane:5" parsed as item
  367. set {_item.%player%.2} to "stained glass pane:5" parsed as item
  368. else:
  369. set {_item.%player%} to "stained glass pane:5" parsed as item
  370. set {_item.%player%.2} to "%{profile.%uuid of player%.color2}% stained glass pane" parsed as item
  371. format slot 0 of player with {_item.%player%} named "&0" to close
  372. format slot 1 of player with {_item.%player%} named "&0" to close
  373. format slot 2 of player with {_item.%player%} named "&0" to close
  374. format slot 3 of player with {_item.%player%} named "&0" to close
  375. format slot 5 of player with {_item.%player%} named "&0" to close
  376. format slot 6 of player with {_item.%player%} named "&0" to close
  377. format slot 7 of player with {_item.%player%} named "&0" to close
  378. if {profile.economy} is set:
  379. if {profile.economy} is "Essentials":
  380. format slot 8 of player with sunflower named "&2Balance" with lore "&a%balance of player%" to close
  381. else:
  382. if {profile.economy} is "UEP":
  383. if {balance.list::%player%} is set:
  384. format slot 8 of player with sunflower named "&2Balance" with lore "&a%{balance.list::%player%}%" to close
  385. else:
  386. format slot 8 of player with sunflower named "&2Balance" with lore "&a$0" to close
  387. else:
  388. format slot 8 of player with {_item.%player%} named "&0" to close
  389. loop 26 times:
  390. add 1 to {_num}
  391. 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:
  392. format slot {_num} of player with {_item.%player%} named "&0" to close
  393. add 26 to {_num2}
  394. loop 26 times:
  395. add 1 to {_num2}
  396. 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:
  397. format slot {_num2} of player with {_item.%player%.2} named "&0" to close
  398. else:
  399. open chest with 1 row named "&4&lProfile - Banned" to player
  400. format slot 0 of player with red stained glass pane named "&0" to close
  401. format slot 1 of player with red stained glass pane named "&0" to close
  402. format slot 2 of player with red stained glass pane named "&0" to close
  403. format slot 3 of player with red stained glass pane named "&0" to close
  404. format slot 4 of player with player's skull named "&4&lProfile Banned||&4&lReason: %{profile.%uuid of player%.banned}%" to close
  405. format slot 5 of player with red stained glass pane named "&0" to close
  406. format slot 6 of player with red stained glass pane named "&0" to close
  407. format slot 7 of player with red stained glass pane named "&0" to close
  408. format slot 8 of player with red stained glass pane named "&0" to close
  409. else:
  410. open chest with 3 rows named " &9&lCreate Profile" to player
  411. 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"]
  412. 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!"]
  413.  
  414. if arg 1 is set:
  415. if arg 2 is not set:
  416. wait 0.3 seconds
  417. 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":
  418. if arg 1 is not "%player%":
  419. if {profile.%uuid of arg-1%.banned} is not set:
  420. if {profiles::inactive::%uuid of arg-1%} is set:
  421. if {profile.%uuid of player%.block.%uuid of arg-1%} is not set:
  422. if {profile.%uuid of arg-1%.block.%uuid of player%} is not set:
  423. if {profile.%uuid of arg-1%.private} is not set:
  424. set {profile.%uuid of player%.menu} to true
  425. set {_profile.%player%.id} to "%{profile.ID}%" parsed as item
  426. wait 0.2 seconds
  427. if "%{profile.%uuid of arg-1%.color}%" is "4":
  428. open chest with 6 rows named "&4&l ● Profile ●" to player
  429. else:
  430. if "%{profile.%uuid of arg-1%.color}%" is "1":
  431. open chest with 6 rows named "&1&l ● Profile ●" to player
  432. else:
  433. if "%{profile.%uuid of arg-1%.color}%" is "2":
  434. open chest with 6 rows named "&2&l ● Profile ●" to player
  435. else:
  436. if "%{profile.%uuid of arg-1%.color}%" is "d":
  437. open chest with 6 rows named "&d&l ● Profile ●" to player
  438. else:
  439. if "%{profile.%uuid of arg-1%.color}%" is "e":
  440. open chest with 6 rows named "&e&l ● Profile ●" to player
  441. else:
  442. if "%{profile.%uuid of arg-1%.color}%" is "5":
  443. open chest with 6 rows named "&5&l ● Profile ●" to player
  444. else:
  445. if "%{profile.%uuid of arg-1%.color}%" is "6":
  446. open chest with 6 rows named "&6&l ● Profile ●" to player
  447. else:
  448. if "%{profile.%uuid of arg-1%.color}%" is "8":
  449. open chest with 6 rows named "&8&l ● Profile ●" to player
  450. else:
  451. if "%{profile.%uuid of arg-1%.color}%" is "a":
  452. open chest with 6 rows named "&a&l ● Profile ●" to player
  453. else:
  454. open chest with 6 rows named "&f&l ● Profile ●" to player
  455.  
  456. if text from "http://pastebin.com/raw/z2d2RQrM" contains "%arg-1%":
  457. if {profile.%uuid of arg-1%.followers} is set:
  458. if {profile.%uuid of arg-1%.following} is set:
  459. 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
  460. else:
  461. if {profile.%uuid of arg-1%.followers} is set:
  462. if {profile.%uuid of arg-1%.following} is not set:
  463. 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
  464. else:
  465. 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
  466. else:
  467. if {profile.%uuid of arg-1%.followers} is not set:
  468. if {profile.%uuid of arg-1%.following} is set:
  469. 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
  470. else:
  471. format slot 4 of player with arg-1's skull named "&a%arg-1% ✪" with lore "&5&lSupporter||&eFollowers: 0||&eFollowing: 0" to close
  472. else:
  473. if text from "http://pastebin.com/raw/Szk7nq60" contains "%arg-1%":
  474. if {profile.%uuid of arg-1%.followers} is set:
  475. if {profile.%uuid of arg-1%.following} is set:
  476. set {_profilerank} to text from "http://pastebin.com/raw/t20tCBFR"
  477. 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
  478. else:
  479. if {profile.%uuid of arg-1%.followers} is set:
  480. if {profile.%uuid of arg-1%.following} is not set:
  481. set {_profilerank} to text from "http://pastebin.com/raw/t20tCBFR"
  482. set {_profilerank} to text from "http://pastebin.com/raw/t20tCBFR"
  483. 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
  484. else:
  485. set {_profilerank} to text from "http://pastebin.com/raw/t20tCBFR"
  486. 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
  487. else:
  488. if {profile.%uuid of arg-1%.followers} is not set:
  489. if {profile.%uuid of arg-1%.following} is set:
  490. set {_profilerank} to text from "http://pastebin.com/raw/t20tCBFR"
  491. 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
  492. else:
  493. set {_profilerank} to text from "http://pastebin.com/raw/t20tCBFR"
  494. 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
  495. else:
  496. if text from "http://pastebin.com/raw/ULZ5N0uX" contains "%arg-1%":
  497. if {profile.%uuid of arg-1%.followers} is set:
  498. if {profile.%uuid of arg-1%.following} is set:
  499. 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
  500. else:
  501. if {profile.%uuid of arg-1%.followers} is set:
  502. if {profile.%uuid of arg-1%.following} is not set:
  503. 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
  504. else:
  505. 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
  506. else:
  507. if {profile.%uuid of arg-1%.followers} is not set:
  508. if {profile.%uuid of arg-1%.following} is set:
  509. 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
  510. else:
  511. format slot 4 of player with arg-1's skull named "&a%arg-1% ✪" with lore "&5&lVIP||&eFollowers: 0||&eFollowing: 0" to close
  512. else:
  513. if {profile.%uuid of arg-1%.followers} is set:
  514. if {profile.%uuid of arg-1%.following} is set:
  515. 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
  516. else:
  517. if {profile.%uuid of arg-1%.followers} is set:
  518. if {profile.%uuid of arg-1%.following} is not set:
  519. 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
  520. else:
  521. 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
  522. else:
  523. if {profile.%uuid of arg-1%.followers} is not set:
  524. if {profile.%uuid of arg-1%.following} is set:
  525. 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
  526. else:
  527. format slot 4 of player with arg-1's skull named "&a%arg-1%" with lore "&eFollowers: 0||&eFollowing: 0" to close
  528. if {profile.%uuid of player%.following.%uuid of arg-1%} is not set:
  529. 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%"]
  530. else:
  531. 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%"]
  532. if {profile.%uuid of player%.block.%uuid of arg-1%} is not set:
  533. 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%"]
  534. else:
  535. 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%"]
  536. if {profile.%uuid of arg-1%.age} is set:
  537. format slot 20 of player with {_profile.%player%.id} named "&aAge" with lore "&e%{profile.%uuid of arg-1%.age}%" to close
  538. else:
  539. format slot 20 of player with {_profile.%player%.id} named "&aAge" with lore "&eNot Set" to close
  540. if {profile.%uuid of arg-1%.gender} is set:
  541. format slot 21 of player with {_profile.%player%.id} named "&aGender" with lore "&e%{profile.%uuid of arg-1%.gender}%" to close
  542. else:
  543. format slot 21 of player with {_profile.%player%.id} named "&aGender" with lore "&eNot Set" to close
  544. if {profile.%uuid of arg-1%.country} is set:
  545. format slot 22 of player with {_profile.%player%.id} named "&aCountry" with lore "&e%{profile.%uuid of arg-1%.country}%" to close
  546. else:
  547. format slot 22 of player with {_profile.%player%.id} named "&aCountry" with lore "&eNot Set" to close
  548. if {profile.%uuid of arg-1%.bio} is set:
  549. format slot 23 of player with {_profile.%player%.id} named "&aBio" with lore "&e%{profile.%uuid of arg-1%.bio}%" to close
  550. else:
  551. format slot 23 of player with {_profile.%player%.id} named "&aBio" with lore "&eNot Set" to close
  552. if {profile.%uuid of arg-1%.nickname} is set:
  553. format slot 24 of player with {_profile.%player%.id} named "&aNickname" with lore "&e%{profile.%uuid of arg-1%.nickname}%" to close
  554. else:
  555. format slot 24 of player with {_profile.%player%.id} named "&aNickname" with lore "&eNot Set" to close
  556. if {profile.%uuid of arg-1%.likes} is set:
  557. format slot 29 of player with {_profile.%player%.id} named "&aLikes" with lore "&e%{profile.%uuid of arg-1%.likes}%" to close
  558. else:
  559. format slot 29 of player with {_profile.%player%.id} named "&aLikes" with lore "&eNot Set" to close
  560. if {profile.%uuid of arg-1%.dislikes} is set:
  561. format slot 30 of player with {_profile.%player%.id} named "&aDislikes" with lore "&e%{profile.%uuid of arg-1%.dislikes}%" to close
  562. else:
  563. format slot 30 of player with {_profile.%player%.id} named "&aDislikes" with lore "&eNot Set" to close
  564. if {profile.%uuid of arg-1%.mob} is set:
  565. format slot 31 of player with {_profile.%player%.id} named "&aFavorite Mob" with lore "&e%{profile.%uuid of arg-1%.mob}%" to close
  566. else:
  567. format slot 31 of player with {_profile.%player%.id} named "&aFavorite Mob" with lore "&eNot Set" to close
  568. if {profile.%uuid of arg-1%.ore} is set:
  569. format slot 32 of player with {_profile.%player%.id} named "&aFavorite Ore" with lore "&e%{profile.%uuid of arg-1%.ore}%" to close
  570. else:
  571. format slot 32 of player with {_profile.%player%.id} named "&aFavorite Ore" with lore "&eNot Set" to close
  572. if {profile.%uuid of arg-1%.gamemode} is set:
  573. format slot 33 of player with {_profile.%player%.id} named "&aFavorite Gamemode" with lore "&e%{profile.%uuid of arg-1%.gamemode}%" to close
  574. else:
  575. format slot 33 of player with {_profile.%player%.id} named "&aFavorite Gamemode" with lore "&eNot Set" to close
  576. if player has permission "profile.staff":
  577. 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%"]
  578. if {profile.%uuid of arg-1%.banned} is not set:
  579. 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%"]
  580. else:
  581. 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%"]
  582. 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%"]
  583. if "%{profile.%uuid of arg-1%.color}%" is "4":
  584. if {profile.%uuid of arg-1%.color2} is not set:
  585. set {_item.%player%} to "red stained glass pane" parsed as item
  586. set {_item.%player%.2} to "red stained glass pane" parsed as item
  587. else:
  588. set {_item.%player%} to "red stained glass pane" parsed as item
  589. set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
  590. else:
  591. if "%{profile.%uuid of arg-1%.color}%" is "1":
  592. if {profile.%uuid of arg-1%.color2} is not set:
  593. set {_item.%player%} to "blue stained glass pane" parsed as item
  594. set {_item.%player%.2} to "blue stained glass pane" parsed as item
  595. else:
  596. set {_item.%player%} to "blue stained glass pane" parsed as item
  597. set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
  598. else:
  599. if "%{profile.%uuid of arg-1%.color}%" is "2":
  600. if {profile.%uuid of arg-1%.color2} is not set:
  601. set {_item.%player%} to "green stained glass pane" parsed as item
  602. set {_item.%player%.2} to "green stained glass pane" parsed as item
  603. else:
  604. set {_item.%player%} to "green stained glass pane" parsed as item
  605. set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
  606. else:
  607. if "%{profile.%uuid of arg-1%.color}%" is "d":
  608. if {profile.%uuid of arg-1%.color2} is not set:
  609. set {_item.%player%} to "pink stained glass pane" parsed as item
  610. set {_item.%player%.2} to "pink stained glass pane" parsed as item
  611. else:
  612. set {_item.%player%} to "pink stained glass pane" parsed as item
  613. set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
  614. else:
  615. if "%{profile.%uuid of arg-1%.color}%" is "e":
  616. if {profile.%uuid of arg-1%.color2} is not set:
  617. set {_item.%player%} to "yellow stained glass pane" parsed as item
  618. set {_item.%player%.2} to "yellow stained glass pane" parsed as item
  619. else:
  620. set {_item.%player%} to "yellow stained glass pane" parsed as item
  621. set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
  622. else:
  623. if "%{profile.%uuid of arg-1%.color}%" is "5":
  624. if {profile.%uuid of arg-1%.color2} is not set:
  625. set {_item.%player%} to "purple stained glass pane" parsed as item
  626. set {_item.%player%.2} to "purple stained glass pane" parsed as item
  627. else:
  628. set {_item.%player%} to "purple stained glass pane" parsed as item
  629. set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
  630. else:
  631. if "%{profile.%uuid of arg-1%.color}%" is "6":
  632. if {profile.%uuid of arg-1%.color2} is not set:
  633. set {_item.%player%} to "orange stained glass pane" parsed as item
  634. set {_item.%player%.2} to "orange stained glass pane" parsed as item
  635. else:
  636. set {_item.%player%} to "orange stained glass pane" parsed as item
  637. set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
  638. else:
  639. if "%{profile.%uuid of arg-1%.color}%" is "8":
  640. if {profile.%uuid of arg-1%.color2} is not set:
  641. set {_item.%player%} to "brown stained glass pane" parsed as item
  642. set {_item.%player%.2} to "brown stained glass pane" parsed as item
  643. else:
  644. set {_item.%player%} to "brown stained glass pane" parsed as item
  645. set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
  646. else:
  647. if "%{profile.%uuid of arg-1%.color}%" is "a":
  648. if {profile.%uuid of arg-1%.color2} is not set:
  649. set {_item.%player%} to "stained glass pane:5" parsed as item
  650. set {_item.%player%.2} to "stained glass pane:5" parsed as item
  651. else:
  652. set {_item.%player%} to "stained glass pane:5" parsed as item
  653. set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
  654. format slot 0 of player with {_item.%player%} named "&0" to close
  655. format slot 1 of player with {_item.%player%} named "&0" to close
  656. format slot 2 of player with {_item.%player%} named "&0" to close
  657. format slot 6 of player with {_item.%player%} named "&0" to close
  658. format slot 7 of player with {_item.%player%} named "&0" to close
  659. if {profile.economy} is set:
  660. if {profile.economy} is "Essentials":
  661. format slot 8 of player with sunflower named "&2Balance" with lore "&a%balance of arg-1%" to close
  662. else:
  663. if {profile.economy} is "UEP":
  664. if {balance.list::%arg-1%} is set:
  665. format slot 8 of player with sunflower named "&2Balance" with lore "&a%{balance.list::%arg-1%}%" to close
  666. else:
  667. format slot 8 of player with sunflower named "&2Balance" with lore "&a$0" to close
  668. else:
  669. format slot 8 of player with {_item.%player%} named "&0" to close
  670. loop 26 times:
  671. add 1 to {_num}
  672. 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:
  673. format slot {_num} of player with {_item.%player%} named "&0" to close
  674. add 26 to {_num2}
  675. loop 26 times:
  676. add 1 to {_num2}
  677. if {_num2} is not 20 or 21 or 22 or 23 or 24 or 29 or 30 or 31 or 32 or 33:
  678. format slot {_num2} of player with {_item.%player%.2} named "&0" to close
  679. if player does not have permission "profile.staff":
  680. format slot 45 of player with {_item.%player%.2} named "&0" to close
  681. format slot 46 of player with {_item.%player%.2} named "&0" to close
  682. format slot 47 of player with {_item.%player%.2} named "&0" to close
  683. format slot 48 of player with {_item.%player%.2} named "&0" to close
  684. format slot 50 of player with {_item.%player%.2} named "&0" to close
  685. format slot 51 of player with {_item.%player%.2} named "&0" to close
  686. format slot 52 of player with {_item.%player%.2} named "&0" to close
  687. if player does not have permission "profile.staff":
  688. format slot 53 of player with {_item.%player%.2} named "&0" to close
  689. else:
  690. set {_profile.%player%.id} to "%{profile.ID}%" parsed as item
  691. if {profile.%uuid of arg-1%.private} is set:
  692. if {profile.%uuid of player%.following.%uuid of arg-1%} is set:
  693. set {profile.%uuid of player%.menu} to true
  694. if "%{profile.%uuid of arg-1%.color}%" is "red":
  695. open chest with 6 rows named "&4&l ● Profile ●" to player
  696. else:
  697. if "%{profile.%uuid of arg-1%.color}%" is "blue":
  698. open chest with 6 rows named "&1&l ● Profile ●" to player
  699. else:
  700. if "%{profile.%uuid of arg-1%.color}%" is "green":
  701. open chest with 6 rows named "&2&l ● Profile ●" to player
  702. else:
  703. if "%{profile.%uuid of arg-1%.color}%" is "pink":
  704. open chest with 6 rows named "&d&l ● Profile ●" to player
  705. else:
  706. if "%{profile.%uuid of arg-1%.color}%" is "yellow":
  707. open chest with 6 rows named "&e&l ● Profile ●" to player
  708. else:
  709. if "%{profile.%uuid of arg-1%.color}%" is "5":
  710. open chest with 6 rows named "&5&l ● Profile ●" to player
  711. else:
  712. if "%{profile.%uuid of arg-1%.color}%" is "6":
  713. open chest with 6 rows named "&6&l ● Profile ●" to player
  714. else:
  715. if "%{profile.%uuid of arg-1%.color}%" is "8":
  716. open chest with 6 rows named "&8&l ● Profile ●" to player
  717. else:
  718. if "%{profile.%uuid of arg-1%.color}%" is "a":
  719. open chest with 6 rows named "&a&l ● Profile ●" to player
  720. else:
  721. open chest with 6 rows named "&f&l ● Profile ●" to player
  722. if {profile.%uuid of arg-1%.banned} is not set:
  723. if arg-1 is online:
  724. 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
  725. else:
  726. if arg-1 is not online:
  727. 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
  728. if {profile.%uuid of player%.following.%uuid of arg-1%} is not set:
  729. 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%"]
  730. else:
  731. 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%"]
  732. if {profile.%uuid of player%.block.%uuid of arg-1%} is not set:
  733. 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%"]
  734. else:
  735. 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%"]
  736. if {profile.%uuid of arg-1%.age} is set:
  737. format slot 20 of player with {_profile.%player%.id} named "&aAge" with lore "&e%{profile.%uuid of arg-1%.age}%" to close
  738. else:
  739. format slot 20 of player with {_profile.%player%.id} named "&aAge" with lore "&eNot Set" to close
  740. if {profile.%uuid of arg-1%.gender} is set:
  741. format slot 21 of player with {_profile.%player%.id} named "&aGender" with lore "&e%{profile.%uuid of arg-1%.gender}%" to close
  742. else:
  743. format slot 21 of player with {_profile.%player%.id} named "&aGender" with lore "&eNot Set" to close
  744. if {profile.%uuid of arg-1%.country} is set:
  745. format slot 22 of player with {_profile.%player%.id} named "&aCountry" with lore "&e%{profile.%uuid of arg-1%.country}%" to close
  746. else:
  747. format slot 22 of player with {_profile.%player%.id} named "&aCountry" with lore "&eNot Set" to close
  748. if {profile.%uuid of arg-1%.bio} is set:
  749. format slot 23 of player with {_profile.%player%.id} named "&aBio" with lore "&e%{profile.%uuid of arg-1%.bio}%" to close
  750. else:
  751. format slot 23 of player with {_profile.%player%.id} named "&aBio" with lore "&eNot Set" to close
  752. if {profile.%uuid of arg-1%.nickname} is set:
  753. format slot 24 of player with {_profile.%player%.id} named "&aNickname" with lore "&e%{profile.%uuid of arg-1%.nickname}%" to close
  754. else:
  755. format slot 24 of player with {_profile.%player%.id} named "&aNickname" with lore "&eNot Set" to close
  756. if {profile.%uuid of arg-1%.likes} is set:
  757. format slot 29 of player with {_profile.%player%.id} named "&aLikes" with lore "&e%{profile.%uuid of arg-1%.likes}%" to close
  758. else:
  759. format slot 29 of player with {_profile.%player%.id} named "&aLikes" with lore "&eNot Set" to close
  760. if {profile.%uuid of arg-1%.dislikes} is set:
  761. format slot 30 of player with {_profile.%player%.id} named "&aDislikes" with lore "&e%{profile.%uuid of arg-1%.dislikes}%" to close
  762. else:
  763. format slot 30 of player with {_profile.%player%.id} named "&aDislikes" with lore "&eNot Set" to close
  764. if {profile.%uuid of arg-1%.mob} is set:
  765. format slot 31 of player with {_profile.%player%.id} named "&aFavorite Mob" with lore "&e%{profile.%uuid of arg-1%.mob}%" to close
  766. else:
  767. format slot 31 of player with {_profile.%player%.id} named "&aFavorite Mob" with lore "&eNot Set" to close
  768. if {profile.%uuid of arg-1%.ore} is set:
  769. format slot 32 of player with {_profile.%player%.id} named "&aFavorite Ore" with lore "&e%{profile.%uuid of arg-1%.ore}%" to close
  770. else:
  771. format slot 32 of player with {_profile.%player%.id} named "&aFavorite Ore" with lore "&eNot Set" to close
  772. if {profile.%uuid of arg-1%.gamemode} is set:
  773. format slot 33 of player with {_profile.%player%.id} named "&aFavorite Gamemode" with lore "&e%{profile.%uuid of arg-1%.gamemode}%" to close
  774. else:
  775. format slot 33 of player with {_profile.%player%.id} named "&aFavorite Gamemode" with lore "&eNot Set" to close
  776. 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%"]
  777. if "%{profile.%uuid of arg-1%.color}%" is "4":
  778. if {profile.%uuid of arg-1%.color2} is not set:
  779. set {_item.%player%} to "red stained glass pane" parsed as item
  780. set {_item.%player%.2} to "red stained glass pane" parsed as item
  781. else:
  782. set {_item.%player%} to "red stained glass pane" parsed as item
  783. set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
  784. else:
  785. if "%{profile.%uuid of arg-1%.color}%" is "1":
  786. if {profile.%uuid of arg-1%.color2} is not set:
  787. set {_item.%player%} to "blue stained glass pane" parsed as item
  788. set {_item.%player%.2} to "blue stained glass pane" parsed as item
  789. else:
  790. set {_item.%player%} to "blue stained glass pane" parsed as item
  791. set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
  792. else:
  793. if "%{profile.%uuid of arg-1%.color}%" is "2":
  794. if {profile.%uuid of arg-1%.color2} is not set:
  795. set {_item.%player%} to "green stained glass pane" parsed as item
  796. set {_item.%player%.2} to "green stained glass pane" parsed as item
  797. else:
  798. set {_item.%player%} to "green stained glass pane" parsed as item
  799. set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
  800. else:
  801. if "%{profile.%uuid of arg-1%.color}%" is "d":
  802. if {profile.%uuid of arg-1%.color2} is not set:
  803. set {_item.%player%} to "pink stained glass pane" parsed as item
  804. set {_item.%player%.2} to "pink stained glass pane" parsed as item
  805. else:
  806. set {_item.%player%} to "pink stained glass pane" parsed as item
  807. set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
  808. else:
  809. if "%{profile.%uuid of arg-1%.color}%" is "e":
  810. if {profile.%uuid of arg-1%.color2} is not set:
  811. set {_item.%player%} to "yellow stained glass pane" parsed as item
  812. set {_item.%player%.2} to "yellow stained glass pane" parsed as item
  813. else:
  814. set {_item.%player%} to "yellow stained glass pane" parsed as item
  815. set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
  816. else:
  817. if "%{profile.%uuid of arg-1%.color}%" is "5":
  818. if {profile.%uuid of arg-1%.color2} is not set:
  819. set {_item.%player%} to "purple stained glass pane" parsed as item
  820. set {_item.%player%.2} to "purple stained glass pane" parsed as item
  821. else:
  822. set {_item.%player%} to "purple stained glass pane" parsed as item
  823. set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
  824. else:
  825. if "%{profile.%uuid of arg-1%.color}%" is "6":
  826. if {profile.%uuid of arg-1%.color2} is not set:
  827. set {_item.%player%} to "orange stained glass pane" parsed as item
  828. set {_item.%player%.2} to "orange stained glass pane" parsed as item
  829. else:
  830. set {_item.%player%} to "orange stained glass pane" parsed as item
  831. set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
  832. else:
  833. if "%{profile.%uuid of arg-1%.color}%" is "8":
  834. if {profile.%uuid of arg-1%.color2} is not set:
  835. set {_item.%player%} to "brown stained glass pane" parsed as item
  836. set {_item.%player%.2} to "brown stained glass pane" parsed as item
  837. else:
  838. set {_item.%player%} to "brown stained glass pane" parsed as item
  839. set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
  840. else:
  841. if "%{profile.%uuid of arg-1%.color}%" is "a":
  842. if {profile.%uuid of arg-1%.color2} is not set:
  843. set {_item.%player%} to "stained glass pane:5" parsed as item
  844. set {_item.%player%.2} to "stained glass pane:5" parsed as item
  845. else:
  846. set {_item.%player%} to "stained glass pane:5" parsed as item
  847. set {_item.%player%.2} to "%{profile.%uuid of arg-1%.color2}% stained glass pane" parsed as item
  848. format slot 0 of player with {_item.%player%} named "&0" to close
  849. format slot 1 of player with {_item.%player%} named "&0" to close
  850. format slot 2 of player with {_item.%player%} named "&0" to close
  851. format slot 6 of player with {_item.%player%} named "&0" to close
  852. format slot 7 of player with {_item.%player%} named "&0" to close
  853. if {profile.economy} is set:
  854. if {profile.economy} is "Essentials":
  855. format slot 8 of player with sunflower named "&2Balance" with lore "&a%balance of arg-1%" to close
  856. else:
  857. if {profile.economy} is "UEP":
  858. if {balance.list::%arg-1%} is set:
  859. format slot 8 of player with sunflower named "&2Balance" with lore "&a%{balance.list::%arg-1%}%" to close
  860. else:
  861. format slot 8 of player with sunflower named "&2Balance" with lore "&a$0" to close
  862. else:
  863. format slot 8 of player with {_item.%player%} named "&0" to close
  864. loop 26 times:
  865. add 1 to {_num}
  866. 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:
  867. format slot {_num} of player with {_item.%player%} named "&0" to close
  868. add 26 to {_num2}
  869. loop 26 times:
  870. add 1 to {_num2}
  871. if {_num2} is not 20 or 21 or 22 or 23 or 24 or 29 or 30 or 31 or 32 or 33:
  872. format slot {_num2} of player with {_item.%player%.2} named "&0" to close
  873. else:
  874. open chest with 1 row named "&4&lProfile - Banned" to player
  875. format slot 0 of player with red stained glass pane named "&0" to close
  876. loop 8 times:
  877. add 1 to {_num}
  878. if {_num} is not 4:
  879. format slot {_num} of player with red stained glass pane named "&0" to close
  880. 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
  881. else:
  882. if {profile.%uuid of arg-1%.banned} is not set:
  883. set {profile.%uuid of player%.menu} to true
  884. open chest with 2 rows named "&4&l%arg 1%'s Profile" to player
  885. format slot 0 of player with arg-1's skull named "&a%argument 1%" with lore "&4Private Profile" to close
  886. if {profile.%uuid of player%.following.%uuid of arg-1%} is not set:
  887. 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%"]
  888. else:
  889. 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%"]
  890. if {profile.%uuid of player%.block.%uuid of arg-1%} is not set:
  891. 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%"]
  892. else:
  893. 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%"]
  894. if player has permission "profile.staff":
  895. 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%"]
  896. else:
  897. open chest with 1 row named "&4&lProfile - Banned" to player
  898. format slot 0 of player with red stained glass pane named "&0" to close
  899. loop 8 times:
  900. add 1 to {_num}
  901. if {_num} is not 4:
  902. format slot {_num} of player with red stained glass pane named "&0" to close
  903. 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
  904.  
  905. else:
  906. if {profile.%uuid of arg-1%.block.%uuid of player%} is set:
  907. open chest with 1 rows named "&4&l%arg 1%'s Profile" to player
  908. format slot 0 of player with arg-1's skull named "&a%argument 1%" with lore "&4Currently Blocked" to close
  909. if {profile.%uuid of player%.block.%uuid of arg-1%} is not set:
  910. 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%"]
  911. stop
  912. else:
  913. 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%"]
  914. stop
  915. else:
  916. if {profile.%uuid of player%.block.%uuid of arg-1%} is set:
  917. open chest with 1 rows named "&4&l%arg 1%'s Profile" to player
  918. format slot 0 of player with arg-1's skull named "&a%argument 1%" with lore "&4Currently Blocked" to close
  919. if {profile.%uuid of player%.block.%uuid of arg-1%} is not set:
  920. 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%"]
  921. stop
  922. else:
  923. 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%"]
  924. stop
  925. else:
  926. message "%{profile.prefix}% &cThe user &4%arg-1% &chas not created a profile!" to player
  927. stop
  928. else:
  929. open chest with 1 row named "&4&lProfile - Banned" to player
  930. format slot 0 of player with red stained glass pane named "&0" to close
  931. loop 8 times:
  932. add 1 to {_num}
  933. if {_num} is not 4:
  934. format slot {_num} of player with red stained glass pane named "&0" to close
  935. 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
  936. else:
  937. message "%{profile.prefix}% &aPlease do /profile to view your own profile!"
  938. stop
  939.  
  940. if arg 1 is "color" or "colour":
  941. if arg 2 is not set:
  942. wait 0.2 seconds
  943. open chest with 3 rows named "&5&lProfile - Color" to player
  944. if player has permission "profile.color.red":
  945. 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}]
  946. else:
  947. format slot 0 of player with red stained glass pane named "&4Red Layout" with lore "&ePermission: &cFalse" to close
  948. if player has permission "profile.color.purple":
  949. 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}]
  950. else:
  951. format slot 1 of player with purple stained glass pane named "&5Purple Layout" with lore "&ePermission: &cFalse" to close
  952. if player has permission "profile.color.blue":
  953. 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}]
  954. else:
  955. format slot 2 of player with blue stained glass pane named "&1Blue Layout" with lore "&ePermission: &cFalse" to close
  956. if player has permission "profile.color.orange":
  957. 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}]
  958. else:
  959. format slot 3 of player with orange stained glass pane named "&6Orange Layout" with lore "&ePermission: &cFalse" to close
  960. if player has permission "profile.color.green":
  961. 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}]
  962. else:
  963. format slot 4 of player with green stained glass pane named "&2Green Layout" with lore "&ePermission: &cFalse" to close
  964. if player has permission "profile.color.brown":
  965. 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}]
  966. else:
  967. format slot 5 of player with brown stained glass pane named "&8Brown Layout" with lore "&ePermission: &cFalse" to close
  968. if player has permission "profile.color.green":
  969. 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}]
  970. else:
  971. format slot 6 of player with pink stained glass pane named "&dPink Layout" with lore "&ePermission: &cFalse" to close
  972.  
  973. if player has permission "profile.color.lime":
  974. 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}]
  975. else:
  976. format slot 7 of player with light green stained glass pane named "&aLime Layout" with lore "&ePermission: &cFalse" to close
  977. if player has permission "profile.color.yellow":
  978. 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}]
  979. else:
  980. format slot 8 of player with yellow stained glass pane named "&eYellow Layout" with lore "&ePermission: &cFalse" to close
  981. if {profile.%uuid of player%.color} is set:
  982. 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}]
  983. else:
  984. format slot 18 of player with gray dye named "&cClear Profile Color" with lore "&cYour profile color is not set" to close
  985. if player has permission "profile.color.custom":
  986. 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"]
  987. else:
  988. format slot 26 of player with bucket named "&5Custom Color" with lore "&ePermission: &cFalse" to close
  989. 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"]
  990. else:
  991. if arg 2 is "red":
  992. if player has permission "profile.color.red":
  993. set {profile.%uuid of player%.color} to "4"
  994. message "%{profile.prefix}% &aYour profile color is now &4red"
  995. stop
  996. else:
  997. message "%{profile.prefix}% &cYou do not have permission to do this!"
  998. stop
  999. else:
  1000. if arg 2 is "blue":
  1001. if player has permission "profile.color.blue":
  1002. set {profile.%uuid of player%.color} to "1"
  1003. message "%{profile.prefix}% &aYour profile color is now &1blue"
  1004. stop
  1005. else:
  1006. message "%{profile.prefix}% &cYou do not have permission to do this!"
  1007. stop
  1008. else:
  1009. if arg 2 is "green":
  1010. if player has permission "profile.color.blue":
  1011. set {profile.%uuid of player%.color} to "2"
  1012. message "%{profile.prefix}% &aYour profile color is now &2green"
  1013. stop
  1014. else:
  1015. message "%{profile.prefix}% &cYou do not have permission to do this!"
  1016. stop
  1017. else:
  1018. if arg 2 is "pink":
  1019. if player has permission "profile.color.pink":
  1020. set {profile.%uuid of player%.color} to "d"
  1021. message "%{profile.prefix}% &aYour profile color is now &dpink"
  1022. stop
  1023. else:
  1024. message "%{profile.prefix}% &cYou do not have permission to do this!"
  1025. stop
  1026. else:
  1027. if arg 2 is "yellow":
  1028. if player has permission "profile.color.yellow":
  1029. set {profile.%uuid of player%.color} to "e"
  1030. message "%{profile.prefix}% &aYour profile color is now &eyellow"
  1031. stop
  1032. else:
  1033. message "%{profile.prefix}% &cYou do not have permission to do this!"
  1034. stop
  1035. else:
  1036. if arg 2 is "purple":
  1037. if player has permission "profile.color.purple":
  1038. set {profile.%uuid of player%.color} to "5"
  1039. message "%{profile.prefix}% &aYour profile color is now &5purple"
  1040. stop
  1041. else:
  1042. message "%{profile.prefix}% &cYou do not have permission to do this!"
  1043. stop
  1044. else:
  1045. if arg 2 is "orange":
  1046. if player has permission "profile.color.orange":
  1047. set {profile.%uuid of player%.color} to "6"
  1048. message "%{profile.prefix}% &aYour profile color is now &6orange"
  1049. stop
  1050. else:
  1051. message "%{profile.prefix}% &cYou do not have permission to do this!"
  1052. stop
  1053. else:
  1054. if arg 2 is "brown":
  1055. if player has permission "profile.color.brown":
  1056. set {profile.%uuid of player%.color} to "8"
  1057. message "%{profile.prefix}% &aYour profile color is now &8brown"
  1058. stop
  1059. else:
  1060. message "%{profile.prefix}% &cYou do not have permission to do this!"
  1061. stop
  1062. else:
  1063. if arg 2 is "lime":
  1064. if player has permission "profile.color.lime":
  1065. set {profile.%uuid of player%.color} to "a"
  1066. message "%{profile.prefix}% &aYour profile color is now &alime"
  1067. stop
  1068. else:
  1069. message "%{profile.prefix}% &cYou do not have permission to do this!"
  1070. stop
  1071. else:
  1072. if arg 2 is "custom":
  1073. if player has permission "profile.color.custom":
  1074. wait 0.3 seconds
  1075. open chest with 2 rows named "&8Custom Colors" to player
  1076. 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"]
  1077. 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"]
  1078. 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"]
  1079. 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"]
  1080. 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"]
  1081. 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"]
  1082. 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"]
  1083. 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"]
  1084. 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"]
  1085. 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"]
  1086. 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"]
  1087. 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"]
  1088. 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"]
  1089. 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"]
  1090. 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"]
  1091. 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"]
  1092. 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"]
  1093. 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"]
  1094. else:
  1095. message "%{profile.prefix}% &cYou do not have permission to do this!"
  1096. stop
  1097. if arg 1 is "settings":
  1098. if arg 2 is not set:
  1099. wait 0.2 seconds
  1100. set {profile.%uuid of player%.menu} to true
  1101. open chest with 1 rows named "&4&lProfile Settings" to player
  1102. if {profile.%uuid of player%.private} is not set:
  1103. 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"]
  1104. else:
  1105. if {profile.%uuid of player%.private} is set:
  1106. 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"]
  1107. if {profile.%uuid of player%.color} is set:
  1108. format slot 1 of player with light green dye named "&eProfile Color" to close then run [make player execute command "/profile color"]
  1109. else:
  1110. format slot 1 of player with gray dye named "&eProfile Color" to close then run [make player execute command "/profile color"]
  1111. 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"]
  1112.  
  1113. if arg 1 is "private":
  1114. if arg 2 is "toggle":
  1115. if {profile.%uuid of player%.private} is set:
  1116. delete {profile.%uuid of player%.private}
  1117. message "%{profile.prefix}% &cYour profile is no longer private!"
  1118. stop
  1119. else:
  1120. if {profile.%uuid of player%.private} is not set:
  1121. set {profile.%uuid of player%.private} to true
  1122. message "%{profile.prefix}% &aYour profile is now private!"
  1123. stop
  1124.  
  1125. if arg 1 is "follow":
  1126. if arg 2 is set:
  1127. if arg 2 is not "%player%":
  1128. if {profile.%uuid of player%.following.%uuid of arg-2%} is not set:
  1129. if {blocked.%uuid of player%.%uuid of arg-2%} is not set:
  1130. if {blocked.%uuid of arg-2%.%uuid of player%} is not set:
  1131. if {profile.%uuid of arg-2%.private} is not set:
  1132. set {profile.%uuid of player%.following.%uuid of arg-2%} to true
  1133. add 1 to {profile.%uuid of arg-2%.followers}
  1134. add 1 to {profile.%uuid of player%.following}
  1135. if {profile.%uuid of arg-2%.notifications} is not set:
  1136. set {profile.%uuid of arg-2%.notifications} to "0"
  1137. wait 0.2 seconds
  1138. add 1 to {profile.%uuid of arg-2%.notifications}
  1139. else:
  1140. add 1 to {profile.%uuid of arg-2%.notifications}
  1141. message "%{profile.prefix}% &aYou have successfully followed &a%arg-2%" to player
  1142. message "%{profile.prefix}% &a%player% has followed you!" to arg-2
  1143. stop
  1144. else:
  1145. message "%{profile.prefix}% &aPlease use /profile reqfollow <player> instead (Private Profile)"
  1146. else:
  1147. message "%{profile.prefix}% &cYou are either blocked, or have this player blocked!"
  1148. stop
  1149. else:
  1150. message "%{profile.prefix}% &cYou are either blocked, or have this player blocked!"
  1151. stop
  1152. else:
  1153. message "%{profile.prefix}% &cYou are already following this player!"
  1154. stop
  1155. else:
  1156. message "%{profile.prefix}% &cYou can not follow yourself!"
  1157. stop
  1158. else:
  1159. message "%{profile.prefix}% &cYou must specify a player name!"
  1160.  
  1161. if arg 1 is "accept":
  1162. if arg 2 is set:
  1163. if {profile.%uuid of player%.pendingfollow::%uuid of arg-2%} is set:
  1164. set {profile.%uuid of arg-2%.following.%uuid of player%} to true
  1165. delete {profile.%uuid of player%.pendingfollow::%uuid of arg-2%}
  1166. message "%{profile.prefix}% &a%arg-2% is now following you!" to player
  1167. message "%{profile.prefix}% &aYour follow request has been accepted by %player%" to arg-2
  1168. else:
  1169. message "%{profile.prefix}% &cThis user has not requested to follow you!"
  1170. stop
  1171. else:
  1172. message "%{profile.prefix}% &cYou must specify a player name!"
  1173. stop
  1174.  
  1175. if arg 1 is "reqfollow":
  1176. if arg 2 is set:
  1177. if {profile.%uuid of arg-2%.private} is set:
  1178. if {profile.%uuid of arg-2%.pendingfollow::%uuid of player%} is set:
  1179. message "%{profile.prefix}% &cYou have already requested to follow this person!"
  1180. stop
  1181. else:
  1182. if {profile.%uuid of arg-2%.pendingfollow::*} is not set:
  1183. if arg-2 is online:
  1184. set {profile.%uuid of arg-2%.pendingfollow::%uuid of player%} to true
  1185. message "%{profile.prefix}% &aYou have reqested to follow %arg-2%" to player
  1186. message "%{profile.prefix}% &aYou have a follow request from %player%" to arg-2
  1187. stop
  1188. else:
  1189. message "%{profile.prefix}% &cThis player is not currently online!"
  1190. stop
  1191. else:
  1192. message "%{profile.prefix}% &cThis profile is not private! (Use /profile follow)"
  1193. stop
  1194. else:
  1195. message "%{profile.prefix}% &cYou must specify a player name!"
  1196. stop
  1197.  
  1198. if arg 1 is "ban":
  1199. if arg 2 is set:
  1200. if player has permission "profile.ban":
  1201. if {profile.%uuid of arg-2%.banned} is not set:
  1202. set {profile.%uuid of player%.playerban} to "%arg-2%"
  1203. set {profile.%{profile.%uuid of player%.playerban}%.setban} to true
  1204. add uuid of arg-2 to {profile.bans::*}
  1205. message "%{profile.prefix}% &aPlease type a reason to ban this user, or type 'cancel' to cancel the ban!"
  1206. stop
  1207. else:
  1208. message "%{profile.prefix}% &cThis player is already banned from profiles!"
  1209. stop
  1210. else:
  1211. message "%{profile.prefix}% &cYou do not have permission to ban profiles!"
  1212. stop
  1213. else:
  1214. message "%{profile.prefix}% &cYou must specify a player name!"
  1215. stop
  1216.  
  1217. if arg 1 is "unban":
  1218. if arg 2 is set:
  1219. if player has permission "profile.ban":
  1220. if {profile.%uuid of arg-2%.banned} is set:
  1221. delete {profile.%uuid of arg-2%.banned}
  1222. remove arg-2 from {profile.bans::*}
  1223. message "%{profile.prefix}% &aYou have unbanned %arg-2% from using profiles!"
  1224. message "%{profile.prefix}% &aYou have been unbanned from using profiles!" to arg-2
  1225. stop
  1226. else:
  1227. message "%{profile.prefix}% &cThis player is not banned from profiles!"
  1228. stop
  1229. else:
  1230. message "%{profile.prefix}% &cYou do not have permission to unban profiles!"
  1231. stop
  1232. else:
  1233. message "%{profile.prefix}% &cYou must specify a player name!"
  1234. stop
  1235.  
  1236. if arg 1 is "deny":
  1237. if arg 2 is set:
  1238. if {profile.%uuid of player%.pendingfollow::%uuid of arg-2%} is set:
  1239. delete {profile.%uuid of player%.pendingfollow::%uuid of arg-2%}
  1240. message "%{profile.prefix}% &a%arg-2%'s follow request has been denied!" to player
  1241. message "%{profile.prefix}% &cYour follow request has been denied by %player%" to arg-2
  1242. else:
  1243. message "%{profile.prefix}% &cThis user has not requested to follow you!"
  1244. stop
  1245. else:
  1246. message "%{profile.prefix}% &cYou must specify a player name!"
  1247. stop
  1248.  
  1249. if arg 1 is "unfollow":
  1250. if arg 2 is set:
  1251. if arg 2 is not "%player%":
  1252. if {profile.%uuid of player%.following.%uuid of arg-2%} is set:
  1253. if {blocked.%uuid of player%.%uuid of arg-1%} is not set:
  1254. if {blocked.%uuid of arg-1%.%uuid of player%} is not set:
  1255. delete {profile.%uuid of player%.following.%uuid of arg-2%}
  1256. remove 1 from {profile.%uuid of arg-2%.followers}
  1257. remove 1 from {profile.%uuid of player%.following}
  1258. message "%{profile.prefix}% &aYou have successfully unfollowed &a%arg-2%" to player
  1259. message "%{profile.prefix}% &a%player% has unfollowed you!" to arg-2
  1260. stop
  1261. else:
  1262. message "%{profile.prefix}% &cYou are either blocked, or have this player blocked!"
  1263. stop
  1264. else:
  1265. message "%{profile.prefix}% &cYou are either blocked, or have this player blocked!"
  1266. stop
  1267. else:
  1268. message "%{profile.prefix}% &cYou are not following this player!"
  1269. stop
  1270. else:
  1271. message "%{profile.prefix}% &cYou can unnot follow yourself!"
  1272. stop
  1273. else:
  1274. message "%{profile.prefix}% &cYou must specify a player name!"
  1275. stop
  1276.  
  1277. if arg 1 is "block":
  1278. if arg 2 is set:
  1279. if arg 2 is not "%player%":
  1280. if {profile.%uuid of player%.following.%uuid of arg-2%} is not set:
  1281. if {blocked.%uuid of player%.%uuid of arg-2%} is not set:
  1282. if {profile.%uuid of arg-2%.following.%uuid of player%} is not set:
  1283. set {blocked.%uuid of player%.%uuid of arg-2%} to true
  1284. set {profile.%uuid of player%.block.%uuid of arg-2%} to true
  1285. message "%{profile.prefix}% &aYou have successfully blocked %arg-2%" to player
  1286. message "%{profile.prefix}% &aYou have been blocked by %player%" to arg-2
  1287. else:
  1288. set {blocked.%uuid of player%.%uuid of arg-2%} to true
  1289. delete {profile.%uuid of arg-2%.following.%uuid of player%}
  1290. set {profile.%uuid of player%.block.%uuid of arg-2%} to true
  1291. remove 1 from {profile.%uuid of player%.following}
  1292. remove 1 from {profile.%uuid of arg-2%.followers}
  1293. message "%{profile.prefix}% &aYou have successfully blocked %arg-2%" to player
  1294. message "%{profile.prefix}% &aYou have been blocked by %player%" to arg-2
  1295. stop
  1296. else:
  1297. message "%{profile.prefix}% &cYou already have this player blocked!"
  1298. stop
  1299. else:
  1300. message "%{profile.prefix}% &cYou must unfollow this user first!"
  1301. stop
  1302. else:
  1303. message "%{profile.prefix}% &cYou can not block yourself!"
  1304. stop
  1305. else:
  1306. message "%{profile.prefix}% &cYou must specify a player name!"
  1307. stop
  1308.  
  1309. if arg 1 is "unblock":
  1310. if arg 2 is set:
  1311. if arg 2 is not "%player%":
  1312. if {blocked.%uuid of player%.%uuid of arg-2%} is set:
  1313. delete {blocked.%uuid of player%.%uuid of arg-2%}
  1314. delete {profile.%uuid of player%.block.%uuid of arg-2%}
  1315. message "%{profile.prefix}% &aYou have successfully unblocked %arg-2%" to player
  1316. message "%{profile.prefix}% &aYou have been unblocked by %player%" to arg-2
  1317. else:
  1318. message "%{profile.prefix}% &cYou do not have this player blocked!"
  1319. stop
  1320. else:
  1321. message "%{profile.prefix}% &cYou can not block yourself!"
  1322. stop
  1323. else:
  1324. message "%{profile.prefix}% &cYou must specify a player name!"
  1325. stop
  1326.  
  1327. if arg 1 is "age":
  1328. if arg 2 is set:
  1329. set {profile.%uuid of player%.age} to arg-2
  1330. message "%{profile.prefix}% &aYour age has been set!"
  1331. set {profiles::inactive::%uuid of player%} to 0
  1332. stop
  1333. else:
  1334. wait 0.3 seconds
  1335. open chest with 3 rows named "&8Profile Age" to player
  1336. if "%{profile.%uuid of player%.age}%" is not "9":
  1337. 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]
  1338. else:
  1339. format slot 0 of player with dye:10 named "&99" with lore "&aYour age is currently set to &29" to close
  1340. if "%{profile.%uuid of player%.age}%" is not "10":
  1341. 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]
  1342. else:
  1343. format slot 1 of player with dye:10 named "&910" with lore "&aYour age is currently set to &210" to close
  1344. if "%{profile.%uuid of player%.age}%" is not "11":
  1345. 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]
  1346. else:
  1347. format slot 2 of player with dye:10 named "&911" with lore "&aYour age is currently set to &211" to close
  1348. if "%{profile.%uuid of player%.age}%" is not "12":
  1349. 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]
  1350. else:
  1351. format slot 3 of player with dye:10 named "&912" with lore "&aYour age is currently set to &212" to close
  1352. if "%{profile.%uuid of player%.age}%" is not "13":
  1353. 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]
  1354. else:
  1355. format slot 4 of player with dye:10 named "&913" with lore "&aYour age is currently set to &213" to close
  1356. if "%{profile.%uuid of player%.age}%" is not "14":
  1357. 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]
  1358. else:
  1359. format slot 5 of player with dye:10 named "&914" with lore "&aYour age is currently set to &214" to close
  1360. if "%{profile.%uuid of player%.age}%" is not "15":
  1361. 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]
  1362. else:
  1363. format slot 6 of player with dye:10 named "&915" with lore "&aYour age is currently set to &215" to close
  1364. if "%{profile.%uuid of player%.age}%" is not "16":
  1365. 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]
  1366. else:
  1367. format slot 7 of player with dye:10 named "&916" with lore "&aYour age is currently set to &216" to close
  1368. if "%{profile.%uuid of player%.age}%" is not "17":
  1369. 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]
  1370. else:
  1371. format slot 8 of player with dye:10 named "&917" with lore "&aYour age is currently set to &217" to close
  1372. if "%{profile.%uuid of player%.age}%" is not "18":
  1373. 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]
  1374. else:
  1375. format slot 9 of player with dye:10 named "&918" with lore "&aYour age is currently set to &218" to close
  1376. if "%{profile.%uuid of player%.age}%" is not "19":
  1377. 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]
  1378. else:
  1379. format slot 10 of player with dye:10 named "&919" with lore "&aYour age is currently set to &219" to close
  1380. if "%{profile.%uuid of player%.age}%" is not "20":
  1381. 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]
  1382. else:
  1383. format slot 11 of player with dye:10 named "&920" with lore "&aYour age is currently set to &220" to close
  1384. if "%{profile.%uuid of player%.age}%" is not "21":
  1385. 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]
  1386. else:
  1387. format slot 12 of player with dye:10 named "&921" with lore "&aYour age is currently set to &221" to close
  1388. if "%{profile.%uuid of player%.age}%" is not "22":
  1389. 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]
  1390. else:
  1391. format slot 13 of player with dye:10 named "&922" with lore "&aYour age is currently set to &222" to close
  1392. if "%{profile.%uuid of player%.age}%" is not "23":
  1393. 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]
  1394. else:
  1395. format slot 14 of player with dye:10 named "&923" with lore "&aYour age is currently set to &223" to close
  1396. if "%{profile.%uuid of player%.age}%" is not "24":
  1397. 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]
  1398. else:
  1399. format slot 15 of player with dye:10 named "&924" with lore "&aYour age is currently set to &224" to close
  1400. if "%{profile.%uuid of player%.age}%" is not "25":
  1401. 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]
  1402. else:
  1403. format slot 16 of player with dye:10 named "&925" with lore "&aYour age is currently set to &225" to close
  1404. if "%{profile.%uuid of player%.age}%" is not "25+":
  1405. 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+"]
  1406. else:
  1407. format slot 17 of player with dye:10 named "&925+" with lore "&aYour age is currently set to &225+" to close
  1408. 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!"]
  1409. 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"]
  1410. set {profiles::inactive::%uuid of player%} to 0
  1411. stop
  1412.  
  1413. if arg 1 is "ore":
  1414. if arg 2 is set:
  1415. if arg 2 is "%player%":
  1416. set {profile.%uuid of player%.setore} to true
  1417. message "%{profile.prefix}% &a&oPlease type your favorite ore in chat (Or type 'cancel' to cancel!) (Or type 'delete' to delete!)"
  1418. set {profiles::inactive::%uuid of player%} to 0
  1419. stop
  1420.  
  1421. if arg 1 is "gamemode":
  1422. if arg 2 is set:
  1423. if arg 2 is "%player%":
  1424. set {profile.%uuid of player%.setgamemode} to true
  1425. message "%{profile.prefix}% &a&oPlease type your favorite gamemode in chat (Or type 'cancel' to cancel!) (Or type 'delete' to delete!)"
  1426. set {profiles::inactive::%uuid of player%} to 0
  1427. stop
  1428.  
  1429. if arg 1 is "gender":
  1430. if arg 2 is "male":
  1431. set {profile.%uuid of player%.gender} to arg-2
  1432. message "%{profile.prefix}% &aYou have set your profile gender to male!"
  1433. set {profiles::inactive::%uuid of player%} to 0
  1434. stop
  1435. else:
  1436. if arg 2 is "female":
  1437. set {profile.%uuid of player%.gender} to arg-2
  1438. message "%{profile.prefix}% &aYou have set your profile gender to female!"
  1439. set {profiles::inactive::%uuid of player%} to 0
  1440. stop
  1441. else:
  1442. if arg 2 is "other":
  1443. set {profile.%uuid of player%.gender} to arg-2
  1444. message "%{profile.prefix}% &aYou have set your profile gender to other!"
  1445. set {profiles::inactive::%uuid of player%} to 0
  1446. stop
  1447. else:
  1448. if arg 2 is not set:
  1449. if "%{profile.%uuid of player%.age}%" is not "25+":
  1450. wait 0.3 seconds
  1451. open chest with 3 rows named "&8Profile Gender" to player
  1452. if "%{profile.%uuid of player%.gender}%" is not "Male":
  1453. 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}%"]
  1454. else:
  1455. format slot 2 of player with dye:10 named "&9Male" with lore "&aYour gender is currently set to &2Male" to close
  1456. if "%{profile.%uuid of player%.gender}%" is not "Female":
  1457. 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}%"]
  1458. else:
  1459. format slot 4 of player with dye:10 named "&9Female" with lore "&aYour gender is currently set to &2Female" to close
  1460. if "%{profile.%uuid of player%.gender}%" is not "Unspecified":
  1461. 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}%"]
  1462. else:
  1463. format slot 6 of player with dye:10 named "&9Unspecified" with lore "&aYour gender is currently set to &2Unspecified" to close
  1464.  
  1465. 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!"]
  1466. 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"]
  1467. set {profiles::inactive::%uuid of player%} to 0
  1468. stop
  1469.  
  1470. if arg 1 is "country":
  1471. if arg 2 is set:
  1472. set {profile.%uuid of player%.country} to arg-2
  1473. message "%{profile.prefix}% &aYour country has been set to %arg-2%"
  1474. set {profiles::inactive::%uuid of player%} to 0
  1475. stop
  1476. else:
  1477. set {profile.%uuid of player%.setcountry} to true
  1478. message "%{profile.prefix}% &a&oPlease type your country in chat (Or type 'cancel' to cancel!) (Or type 'delete' to delete!)"
  1479. set {profiles::inactive::%uuid of player%} to 0
  1480. stop
  1481.  
  1482. if arg 1 is "bio":
  1483. if arg 2 is set:
  1484. set {profile.%uuid of player%.bio} to arg-2
  1485. message "%{profile.prefix}% &aYour bio has been set!"
  1486. set {profiles::inactive::%uuid of player%} to 0
  1487. stop
  1488. else:
  1489. set {profile.%uuid of player%.setbio} to true
  1490. message "%{profile.prefix}% &a&oPlease type your bio in chat (Or type 'cancel' to cancel!) (Or type 'delete' to delete!)"
  1491. set {profiles::inactive::%uuid of player%} to 0
  1492. stop
  1493.  
  1494. if arg 1 is "nickname":
  1495. if arg 2 is set:
  1496. set {profile.%uuid of player%.nickname} to arg-2
  1497. message "%{profile.prefix}% &aYour nickname has been set to %arg 2%"
  1498. set {profiles::inactive::%uuid of player%} to 0
  1499. stop
  1500. else:
  1501. set {profile.%uuid of player%.setnickname} to true
  1502. message "%{profile.prefix}% &a&oPlease type your nickname in chat (Or type 'cancel' to cancel!) (Or type 'delete' to delete!)"
  1503. set {profiles::inactive::%uuid of player%} to 0
  1504. stop
  1505.  
  1506. if arg 1 is "likes":
  1507. if arg 2 is set:
  1508. set {profile.%uuid of player%.likes} to arg-2
  1509. message "%{profile.prefix}% &aYour likes have been set!"
  1510. set {profiles::inactive::%uuid of player%} to 0
  1511. stop
  1512. else:
  1513. set {profile.%uuid of player%.setlikes} to true
  1514. message "%{profile.prefix}% &a&oPlease type your interests/likes in chat (Or type 'cancel' to cancel!) (Separate by commas!) (Or type 'delete' to delete!)"
  1515. set {profiles::inactive::%uuid of player%} to 0
  1516. stop
  1517.  
  1518. if arg 1 is "dislikes":
  1519. if arg 2 is set:
  1520. set {profile.%uuid of player%.dislikes} to arg-2
  1521. message "%{profile.prefix}% &aYour dislikes have been set!"
  1522. set {profiles::inactive::%uuid of player%} to 0
  1523. stop
  1524. else:
  1525. set {profile.%uuid of player%.setdislikes} to true
  1526. message "%{profile.prefix}% &a&oPlease type your dislikes in chat (Or type 'cancel' to cancel!) (Separate by commas!) (Or type 'delete' to delete!)"
  1527. set {profiles::inactive::%uuid of player%} to 0
  1528. stop
  1529.  
  1530. if arg 1 is "updates":
  1531. if player has permission "profile.staff.notifications" or "profile.staff.*":
  1532. if arg 2 is "on":
  1533. if {update.notify.off} is set:
  1534. delete {update.notify.off}
  1535. message "%{profile.prefix}% &aTurned on update notifications!"
  1536. stop
  1537. else:
  1538. message "%{profile.prefix}% &cUpdate notifications are already on!"
  1539. stop
  1540. else:
  1541. if arg 2 is "off":
  1542. if {update.notify.off} is not set:
  1543. set {update.notify.off} to true
  1544. message "%{profile.prefix}% &aTurned off update notifications!"
  1545. stop
  1546. else:
  1547. message "%{profile.prefix}% &cUpdate notifications are already off!"
  1548. stop
  1549. else:
  1550. message "%{profile.prefix}% &cInvalid usage: /profile updates on/off"
  1551. stop
  1552. else:
  1553. message "%{profile.prefix}% &cYou do not have permission to do this!"
  1554. stop
  1555.  
  1556. if arg 1 is "mob":
  1557. if arg 2 is "%player%":
  1558. set {profile.%uuid of player%.setmob} to true
  1559. message "%{profile.prefix}% &a&oPlease type your favorite mob in chat (Or type 'cancel' to cancel!) (Or type 'delete' to delete!)"
  1560. set {profiles::inactive::%uuid of player%} to 0
  1561. stop
  1562.  
  1563. if arg 1 is "report":
  1564. if arg 2 is set:
  1565. if "%{profile.reported::*}%" does not contain "%uuid of arg-2%":
  1566. wait 0.2 seconds
  1567. open chest with 1 row named "&4&lReport Player" to player
  1568. 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"]
  1569. 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"]
  1570. 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"]
  1571. 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"]
  1572. else:
  1573. message "%{profile.prefix}% &cThis player has already been reported!"
  1574. stop
  1575. else:
  1576. message "%{profile.prefix}% &cYou must specify a player's name!"
  1577. stop
  1578.  
  1579. if arg 1 is "reports":
  1580. if player has permission "profile.staff.reports" or "profile.staff.*":
  1581. message "&5&lProfile Reports"
  1582. loop {profile.reported::*}:
  1583. message "&c%{profile.reported::*}%"
  1584. message "&4/profile viewreport <player>"
  1585. stop
  1586. else:
  1587. message "%{profile.prefix}% &cYou do not have permission to view reports!"
  1588.  
  1589. if arg 1 is "viewreport":
  1590. if player has permission "profile.staff.reports" or "profile.staff.*":
  1591. if arg 2 is set:
  1592. if {profile.reported::%arg-2%} is set:
  1593. open chest with 1 row named "&4&l%arg-2%'s Report" to player
  1594. 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}]
  1595. 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%"]
  1596. 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}]
  1597. 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}]
  1598. else:
  1599. message "%{profile.prefix}% &cThis player has not been reported!"
  1600. stop
  1601. else:
  1602. message "%{profile.prefix}% &cYou must specify a player name!"
  1603. stop
  1604. else:
  1605. message "%{profile.prefix}% &cYou do not have permission to manage reports!"
  1606. stop
  1607.  
  1608. if arg 1 is "config":
  1609. if player has permission "profile.staff.config" or "profile.staff.*":
  1610. open chest with 1 row named "&5&lConfig" to player
  1611. 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]
  1612. 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]
  1613. if {update.notify.off} is set:
  1614. 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!"]
  1615. else:
  1616. 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!"]
  1617.  
  1618. if arg 1 is "help":
  1619. if arg 2 is not set:
  1620. message "&5&l● Profile Help ●"
  1621. message "&e/profile - Main command"
  1622. message "&e/profile follow <player> - Follow a player"
  1623. message "&e/profile unfollow <player> - Unfollow a player"
  1624. message "&e/profile block <player> - Block a player"
  1625. message "&e/profile unblock <player> - Unblock a player"
  1626. message "&e/profile age <number> - Set profile age"
  1627. message "&e/profile gender <gender> - Set profile gender"
  1628. message "&5&oFor more commands, use /profile help 2 (Page 1/5)"
  1629. stop
  1630. if arg 2 is "2":
  1631. message "&5&l● Profile Help ●"
  1632. message "&e/profile country <country> - Set profile country"
  1633. message "&e/profile bio <bio> - Set profile bio"
  1634. message "&e/profile nickname <nickname> - Set profile nickname"
  1635. message "&e/profile likes <likes> - Set profile likes"
  1636. message "&e/profile dislikes <dislikes> - Set profile dislikes"
  1637. message "&e/profile private toggle - Make profile private"
  1638. message "&e/profile followreq <player> - Request to follow private players"
  1639. message "&5&oFor more commands, use /profile help 3 (Page 2/5)"
  1640. stop
  1641. if arg 2 is "3":
  1642. message "&5&l● Profile Help ●"
  1643. message "&e/profile accept <player> - Accept follow request"
  1644. message "&e/profile deny <player> - Deny follow request"
  1645. message "&e/profile updates <on/off> - Turn on/off profile notifications on join"
  1646. message "&e/profile mob <player> - Set favorite mob"
  1647. message "&e/profile ore <player> - Set favorite ore"
  1648. message "&e/profile gamemode <player> - Set favorite gamemode"
  1649. message "&e/profile color - Choose your color"
  1650. message "&5&oFor more commands, use /profile help 4 (Page 3/5)"
  1651. stop
  1652. if arg 2 is "4":
  1653. message "&5&l● Profile Help ●"
  1654. message "&e/profile ban <player> - Ban a player from setting profile"
  1655. message "&e/profile unban <player> - Unban a banned player from setting profile"
  1656. message "&e/profile chat <player> - Request to chat"
  1657. message "&e/profile chat leave - Leave a chat"
  1658. message "&e/profile chat - Toggle private chat"
  1659. message "&e/profile version - View your current version"
  1660. message "&e/profile clear - Clear profile"
  1661. message "&5&oFor more commands, use /profile help 5 (Page 3/5))"
  1662. stop
  1663. if arg 2 is "5":
  1664. message "&5&l● Profile Help ●"
  1665. message "&e/profile staffclear <player> - Clear a player's profile"
  1666. message "&e/profile report <player> - Report a player"
  1667. message "&e/profile reports - View reports"
  1668. message "&e/profile viewreport <player> - View a player report"
  1669. message "&e/profile bans - View all banned profiles"
  1670. message "&5&oTo go back to page one, use /profile help (Page 5/5))"
  1671. stop
  1672.  
  1673. if arg 1 is "version":
  1674. if arg 2 is not set:
  1675. if player has permission "profile.version":
  1676. message "&5&l● Profile Version ●"
  1677. message "&7Version: &a{@version}"
  1678. if text from "http://pastebin.com/raw/LniMP1n0" is not "{@version}":
  1679. message "&7Update Availible: &aYes"
  1680. stop
  1681. else:
  1682. if text from "http://pastebin.com/raw/LniMP1n0" is "{@version}":
  1683. message "&7Update Availible: &cNo"
  1684. stop
  1685. else:
  1686. message "%{profile.prefix}% &cYou do not have permission to view the version!"
  1687. stop
  1688.  
  1689. if arg 1 is "clear":
  1690. if arg 2 is not set:
  1691. wait 0.5 seconds
  1692. open chest with 1 row named "&9&lAre you sure?" to player
  1693. 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!"]
  1694. format slot 6 of player with red wool block named "&c&lNo" with lore "&eClick to cancel" to close
  1695. stop
  1696. else:
  1697. message "%{profile.prefix}% &Incorrect usage: /profile clear"
  1698. stop
  1699.  
  1700. if arg 1 is "staffclear":
  1701. if arg 2 is set:
  1702. if player has permission "profile.staff.clear" or "profile.staff.*":
  1703. wait 0.2 seconds
  1704. open chest with 1 row named "&4&l● Are you sure? ●" to player
  1705. 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]
  1706. 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!"]
  1707. stop
  1708. else:
  1709. message "%{profile.prefix}% &cYou do not have permission to clear profiles!"
  1710. stop
  1711.  
  1712. if arg 1 is "bans":
  1713. if player has permission "profile.staff.bans" or "profile.staff.*":
  1714. message "&5&lBanned Profiles:" to player
  1715. message "%{profile.bans::*}%" to player
  1716. stop
  1717. else:
  1718. message "%{profile.prefix}% &cYou do not have permission to view bans!"
  1719. stop
  1720.  
  1721. if arg 1 is "economy":
  1722. if player has permission "profile.economy":
  1723. wait 0.2 seconds
  1724. open chest with 1 row named "&5&lEconomy" to player
  1725. if {profile.economy} is "Essentials":
  1726. format slot 0 of player with paper named "&6Essentials" with lore "&a&oSelected" to close
  1727. 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"]
  1728. 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"]
  1729. else:
  1730. if {profile.economy} is "UEP":
  1731. 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"]
  1732. format slot 1 of player with paper named "&6Ultimate Essentials Pro" with lore "&a&oSelected" to close
  1733. 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"]
  1734. else:
  1735. if {profile.economy} is not set:
  1736. 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"]
  1737. 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"]
  1738. 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"]
  1739.  
  1740. on chat:
  1741. if {profile.%{profile.%uuid of player%.playerban}%.setban} is set:
  1742. if message does not contain "cancel":
  1743. 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
  1744. cancel event
  1745. set {profile.%{profile.%uuid of player%.playerban}%.banned} to message
  1746. delete {profile.%uuid of player%.setplayerban}
  1747. delete {profile.%{profile.%uuid of player%.playerban}%.setban}
  1748. message "%{profile.prefix}% &aYou have banned this player's profile for '%message%'"
  1749. wait 0.1 seconds
  1750. loop all players:
  1751. if "%{profile.%uuid of player%.playerban}%" contains name of loop-player:
  1752. message "&aYou have been banned for &2%message%" to loop-player
  1753. wait 0.1 seconds
  1754. delete {profile.%uuid of player%.playerban}
  1755. stop
  1756. else:
  1757. cancel event
  1758. delete {profile.%uuid of player%.setplayerban}
  1759. delete {profile.%{profile.%uuid of player%.playerban}%.setban}
  1760. wait 0.1 seconds
  1761. delete {profile.%uuid of player%.playerban}
  1762. message "%{profile.prefix}% &aCancelled player ban!"
  1763. stop
  1764. if {profile.%uuid of player%.setcountry} is set:
  1765. if message does not contain "_" or "-" or ".":
  1766. if message does not contain "cancel":
  1767. if message does not contain "delete":
  1768. cancel event
  1769. 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
  1770. set {profile.%uuid of player%.country} to message
  1771. delete {profile.%uuid of player%.setcountry}
  1772. message "%{profile.prefix}% &aYour country has been set to %message%"
  1773. set {profiles::inactive::%uuid of player%} to 0
  1774. stop
  1775. else:
  1776. delete {profile.%uuid of player%.country}
  1777. delete {profile.%uuid of player%.setcountry}
  1778. message "%{profile.prefix}% &a&oYou have deleted your country from your profile"
  1779. cancel event
  1780. stop
  1781. else:
  1782. delete {profile.%uuid of player%.setcountry}
  1783. message "%{profile.prefix}% &a&oExited profile country editor"
  1784. cancel event
  1785. stop
  1786. else:
  1787. message "&cPlease do not use symbols in your country!"
  1788. delete {profile.%uuid of player%.setcountry}
  1789. message "%{profile.prefix}% &c&oExited profile country editor"
  1790. cancel event
  1791. stop
  1792. if {profile.%uuid of player%.setbio} is set:
  1793. if message does not contain "cancel":
  1794. if message does not contain "delete":
  1795. cancel event
  1796. 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
  1797. set {profile.%uuid of player%.bio} to message
  1798. delete {profile.%uuid of player%.setbio}
  1799. message "%{profile.prefix}% &aYour bio has been set to %message%"
  1800. set {profiles::inactive::%uuid of player%} to 0
  1801. stop
  1802. else:
  1803. delete {profile.%uuid of player%.bio}
  1804. delete {profile.%uuid of player%.setbio}
  1805. message "%{profile.prefix}% &a&oYou have deleted your bio from your profile"
  1806. cancel event
  1807. stop
  1808. else:
  1809. delete {profile.%uuid of player%.setbio}
  1810. message "%{profile.prefix}% &a&oExited profile country editor"
  1811. cancel event
  1812. stop
  1813. if {profile.%uuid of player%.setore} is set:
  1814. if message does not contain "cancel":
  1815. if message does not contain "delete":
  1816. cancel event
  1817. 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
  1818. set {profile.%uuid of player%.ore} to message
  1819. delete {profile.%uuid of player%.setore}
  1820. message "%{profile.prefix}% &aYour favorite ore has been set to %message%"
  1821. set {profiles::inactive::%uuid of player%} to 0
  1822. stop
  1823. else:
  1824. delete {profile.%uuid of player%.ore}
  1825. delete {profile.%uuid of player%.setore}
  1826. message "%{profile.prefix}% &a&oYou have deleted your favorite ore from your profile"
  1827. cancel event
  1828. stop
  1829. else:
  1830. delete {profile.%uuid of player%.setore}
  1831. message "%{profile.prefix}% &a&oExited profile favorite ore editor"
  1832. cancel event
  1833. stop
  1834. if {profile.%uuid of player%.setgamemode} is set:
  1835. if message does not contain "cancel":
  1836. if message does not contain "delete":
  1837. cancel event
  1838. 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
  1839. set {profile.%uuid of player%.gamemode} to message
  1840. delete {profile.%uuid of player%.setgamemode}
  1841. message "%{profile.prefix}% &aYour favorite gamemode has been set to %message%"
  1842. set {profiles::inactive::%uuid of player%} to 0
  1843. stop
  1844. else:
  1845. delete {profile.%uuid of player%.gamemode}
  1846. delete {profile.%uuid of player%.setgamemode}
  1847. message "%{profile.prefix}% &a&oYou have deleted your favorite gamemode from your profile"
  1848. cancel event
  1849. stop
  1850. else:
  1851. delete {profile.%uuid of player%.setgamemode}
  1852. message "%{profile.prefix}% &a&oExited profile favorite gamemode editor"
  1853. cancel event
  1854. stop
  1855. if {profile.%uuid of player%.setnickname} is set:
  1856. if message does not contain "cancel":
  1857. if message does not contain "delete":
  1858. cancel event
  1859. 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
  1860. set {profile.%uuid of player%.nickname} to message
  1861. delete {profile.%uuid of player%.setnickname}
  1862. message "%{profile.prefix}% &aYour nickname has been set to %message%"
  1863. set {profiles::inactive::%uuid of player%} to 0
  1864. stop
  1865. else:
  1866. delete {profile.%uuid of player%.setnickname}
  1867. delete {profile.%uuid of player%.nickname}
  1868. message "%{profile.prefix}% &a&oYou have deleted your nickname from your profile"
  1869. cancel event
  1870. stop
  1871. else:
  1872. delete {profile.%uuid of player%.setnickname}
  1873. message "%{profile.prefix}% &a&oExited profile nickname editor"
  1874. cancel event
  1875. stop
  1876. if {profile.%uuid of player%.setlikes} is set:
  1877. if message does not contain "cancel":
  1878. if message does not contain "delete":
  1879. cancel event
  1880. 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
  1881. set {profile.%uuid of player%.likes} to message
  1882. delete {profile.%uuid of player%.setlikes}
  1883. message "%{profile.prefix}% &aYour likes have been set"
  1884. set {profiles::inactive::%uuid of player%} to 0
  1885. stop
  1886. else:
  1887. delete {profile.%uuid of player%.likes}
  1888. delete {profile.%uuid of player%.setlikes}
  1889. message "%{profile.prefix}% &a&oYou have deleted your likes from your profile"
  1890. cancel event
  1891. stop
  1892. else:
  1893. delete {profile.%uuid of player%.setlikes}
  1894. message "&a&oExited profile likes editor"
  1895. cancel event
  1896. stop
  1897. if {profile.%uuid of player%.setdislikes} is set:
  1898. if message does not contain "cancel":
  1899. if message does not contain "delete":
  1900. cancel event
  1901. 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
  1902. set {profile.%uuid of player%.dislikes} to message
  1903. delete {profile.%uuid of player%.setdislikes}
  1904. message "%{profile.prefix}% &aYour dislikes have been set"
  1905. set {profiles::inactive::%uuid of player%} to 0
  1906. stop
  1907. else:
  1908. delete {profile.%uuid of player%.dislikes}
  1909. delete {profile.%uuid of player%.setdislikes}
  1910. message "%{profile.prefix}% &a&oYou have deleted your dislikes from your profile"
  1911. cancel event
  1912. stop
  1913. else:
  1914. delete {profile.%uuid of player%.setdislikes}
  1915. message "%{profile.prefix}% &a&oExited profile nickname editor"
  1916. cancel event
  1917. stop
  1918. if {profile.%uuid of player%.setmob} is set:
  1919. if message does not contain "cancel":
  1920. if message does not contain "delete":
  1921. cancel event
  1922. 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
  1923. set {profile.%uuid of player%.mob} to message
  1924. delete {profile.%uuid of player%.setmob}
  1925. message "%{profile.prefix}% &aYour favorite mob has been set"
  1926. set {profiles::inactive::%uuid of player%} to 0
  1927. stop
  1928. else:
  1929. delete {profile.%uuid of player%.mob}
  1930. delete {profile.%uuid of player%.setmob}
  1931. message "%{profile.prefix}% &a&oYou have deleted your favorite mob from your profile"
  1932. cancel event
  1933. stop
  1934. else:
  1935. delete {profile.%uuid of player%.setmob}
  1936. message "%{profile.prefix}% &a&oExited profile favorite mob editor"
  1937. cancel event
  1938. stop
  1939. if {profile.%player%.prefix} is set:
  1940. if message does not contain "cancel":
  1941. if message does not contain "delete":
  1942. cancel event
  1943. set {profile.prefix} to message
  1944. delete {profile.%player%.prefix}
  1945. message "%{profile.prefix}% &aThe plugin prefix has been set!"
  1946. stop
  1947. else:
  1948. set {profile.prefix} to "&3&oProfiles &9&o>>"
  1949. cancel event
  1950. delete {profile.%player%.prefix}
  1951. message "%{profile.prefix}% &aThe profile prefix has been set to default!"
  1952. stop
  1953. else:
  1954. cancel event
  1955. delete {profile.%player%.prefix}
  1956. message "%{profile.prefix}% &aExited prefix editior."
  1957. stop
  1958. if {profile.%player%.ID} is set:
  1959. if message does not contain "cancel":
  1960. if message does not contain "delete":
  1961. cancel event
  1962. delete {profile.%player%.ID}
  1963. 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
  1964. message "%{profile.prefix}% &aThe profile item ID has been set to &2%message%"
  1965. set {profile.ID} to message
  1966. stop
  1967. else:
  1968. set {profile.ID} to "book"
  1969. cancel event
  1970. delete {profile.%player%.ID}
  1971. message "%{profile.prefix}% &aThe profile item ID has been set to default! (Books)"
  1972. stop
  1973. else:
  1974. cancel event
  1975. delete {profile.%player%.ID}
  1976. message "%{profile.prefix}% &aExited profile item ID editior."
  1977. stop
  1978.  
  1979.  
  1980. on command "/profile":
  1981. if {profile.%uuid of player%.setbio} is set:
  1982. delete {profile.%uuid of player%.setbio}
  1983. message "%{profile.prefix}% &c&oExited profile bio editor"
  1984. if {profile.%uuid of player%.setcountry} is set:
  1985. delete {profile.%uuid of player%.setcountry}
  1986. message "%{profile.prefix}% &c&oExited profile country editor"
  1987. if {profile.%uuid of player%.setage} is set:
  1988. delete {profile.%uuid of player%.setage}
  1989. message "%{profile.prefix}% &c&oExited profile age editor"
  1990. if {profile.%uuid of player%.setgender} is set:
  1991. delete {profile.%uuid of player%.setgender}
  1992. message "%{profile.prefix}% &c&oExited profile gender editor"
  1993. if {profile.%uuid of player%.setnickname} is set:
  1994. delete {profile.%uuid of player%.setnickname}
  1995. message "%{profile.prefix}% &c&oExited profile nickname editor"
  1996. if {profile.%uuid of player%.setlikes} is set:
  1997. delete {profile.%uuid of player%.setlikes}
  1998. message "%{profile.prefix}% &c&oExited profile likes editor"
  1999. if {profile.%uuid of player%.setdislikes} is set:
  2000. delete {profile.%uuid of player%.setdislikes}
  2001. message "%{profile.prefix}% &c&oExited profile dislikes editor"
  2002. if {profile.%uuid of player%.setore} is set:
  2003. delete {profile.%uuid of player%.setore}
  2004. message "%{profile.prefix}% &c&oExited profile favorite ore editor"
  2005. if {profile.%uuid of player%.setgamemode} is set:
  2006. delete {profile.%uuid of player%.setgamemode}
  2007. message "%{profile.prefix}% &c&oExited profile favorite gamemode editor"
  2008. if {profile.%uuid of player%.setban} is set:
  2009. delete {profile.%uuid of player%.playerban}
  2010. delete {profile.%uuid of player%.setplayerban}
  2011. delete {profile.%{profile.%uuid of player%.playerban}%.setban}
  2012. message "%{profile.prefix}% &c&oExited profile ban reason editor"
  2013. if {profile.%uuid of player%.setclear} is set:
  2014. delete {profile.%uuid of player%.setclear}
  2015. message "%{profile.prefix}% &c&lExited profile clear editior"
  2016. if {profile.%player%.prefix} is set:
  2017. delete {profile.%player%.prefix}
  2018. message "%{profile.prefix}% &c&lExited profile prefix editior"
  2019. if {profile.%player%.ID} is set:
  2020. delete {profile.%player%.ID}
  2021. message "%{profile.prefix}% &c&lExited profile item ID editior"
  2022.  
  2023. on quit:
  2024. delete {profile.%uuid of player%.setbio}
  2025. delete {profile.%uuid of player%.setcountry}
  2026. delete {profile.%uuid of player%.setage}
  2027. delete {profile.%uuid of player%.setgender}
  2028. delete {profile.%uuid of player%.setrank}
  2029. delete {profile.%uuid of player%.setnickname}
  2030. delete {profile.%uuid of player%.setlikes}
  2031. delete {profile.%uuid of player%.setdislikes}
  2032. delete {profile.%uuid of player%.pendingfollow}
  2033. delete {profile.%uuid of player%.pendingfollow::*}
  2034. delete {profile.%uuid of player%.setore}
  2035. delete {profile.%uuid of player%.setgamemode}
  2036. delete {profile.%uuid of player%.toggle}
  2037. delete {profile.%uuid of player%.setban}
  2038. delete {profile.%uuid of player%.playerban}
  2039. delete {profile.%uuid of player%.setplayerban}
  2040. delete {profile.%uuid of player%.setclear}
  2041. delete {profile.%uuid of player%.setmob}
  2042. delete {profile.%uuid of player%.menu}
  2043. delete {profile.%player%.prefix}
  2044. delete {profile.%player%.ID}
  2045. loop all players:
  2046. if "%{profile.%player%.chat}%" is "%loop-player%":
  2047. message "%{profile.prefix}% &cYour chat with %{profile.%loop-player%.chat}% has been cancelled (Player left the server)" to loop-player
  2048. delete {profile.%loop-player%.toggle}
  2049. wait 0.1 seconds
  2050. delete {profile.%loop-player%.chat}
  2051. wait 0.1 seconds
  2052. delete {profile.%player%.chat}
  2053.  
  2054. on inventory close:
  2055. if {profile.%uuid of player%.menu} is set:
  2056. delete {profile.%uuid of player%.menu}
  2057.  
  2058. on inventory click:
  2059. if {profile.%uuid of player%.menu} is set:
  2060. cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement