CREAMPAN0408

Untitled

Feb 18th, 2019
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.36 KB | None | 0 0
  1. #Made By KillauraHacks
  2. #DO NOT EDIT THIS FILE WITHOUT PERMISSION!
  3. #DO NOT CLAIM THIS FILE AS YOUR OWN!
  4. #DO NOT SCRAP CODE FROM THIS FILE TO USE IN YOUR OWN SKRIPTS!
  5.  
  6. #===========< Config >===========#
  7.  
  8. options:
  9. prefix: &aTablist Tags &8» &7
  10. TagSetOwnMessage: &cYour &7tab name has been set to &c
  11. TagSetOtherMessage: &7tab name has been set to &c
  12. TagResetMessage: &7tab name has been reset.
  13.  
  14. #===========< Commands >===========#
  15.  
  16. command /TagSetOwn [<text>]:
  17. trigger:
  18. if player does not have permission "TablistTags.SetOwn":
  19. message "{@prefix} &cYou do not have permission to use this command!"
  20. if player has permission "TablistTags.SetOwn":
  21. if arg 1 is not set:
  22. message "{@prefix} &7/TagSetOwn &cNickname"
  23. if arg 1 is set:
  24. set the player's display name to "%colored arg 1%"
  25. set tablist name of player to "%colored arg 1%"
  26. message "{@prefix} {@TagSetOwnMessage}%colored arg 1%"
  27. set {tag.%player%} to arg 1
  28. if {tag.%player%.reset} is true:
  29. set {tag.%player%.reset} to false
  30. #DO NOT TOUCH OR USE THIS, THIS IS TO RELOG WITH TAG
  31. command /TagSetOwnSilent [<text>]:
  32. trigger:
  33. if player does not have permission "TablistTags.SetOwn":
  34. message "{@prefix} &cYou do not have permission to use this command!"
  35. if player has permission "TablistTags.SetOwn":
  36. if arg 1 is not set:
  37. message "{@prefix} &7/TagSetOwn &cNickname"
  38. if arg 1 is set:
  39. set the player's display name to "%colored arg 1%"
  40. set tablist name of player to "%colored arg 1%"
  41. #DO NOT TOUCH OR USE THIS, THIS IS TO RELOG WITH TAG
  42. command /TagSetOther [<player>] [<text>]:
  43. trigger:
  44. if player does not have permission "TablistTags.SetOther":
  45. message "{@prefix} &cYou do not have permission to use this command!"
  46. if player has permission "TablistTags.SetOther":
  47. if arg 1 is not set:
  48. message "{@prefix} /TagSetOther &cPlayer &cNickname"
  49. if arg 1 is set:
  50. set arg 1's display name to "%colored arg 2%"
  51. set tablist name of arg 1 to "%colored arg 2%"
  52. message "{@prefix} &c%arg 1% {@TagSetOtherMessage}%colored arg 2%"
  53. command /TagReset [<player>]:
  54. trigger:
  55. if player does not have permission "TablistTags.ResetOther":
  56. message "{@prefix} &cYou do not have permission to use this command!"
  57. if player has permission "TablistTags.ResetOther":
  58. if arg 1 is not set:
  59. message "{@prefix} &7/TagReset &cPlayer"
  60. if arg 1 is set:
  61. set arg 1's display name to "%arg 1%"
  62. set tablist name of arg 1 to "%arg 1%"
  63. message "{@prefix} &c%arg 1%'s {@TagResetMessage}"
  64. if {tag.%player%} is set:
  65. if {tag.%player%.reset} is not set:
  66. set {tag.%player%.reset} to true
  67. if {tag.%player%.reset} is set:
  68. set {tag.%player%.reset} to true
  69. command /TablistTags [<text>]:
  70. trigger:
  71. if player does not have permission "TablistTags.help":
  72. message "{@prefix} &cYou do not have permission to use this command!"
  73. if player has permission "TablistTags.help":
  74. if arg 1 is not set:
  75. message "&9&m==============================================="
  76. message "&a Plugin - &a&lTablist Tags"
  77. message "&a "
  78. message "&7 /TagSetOwn &b- &7Set your tag "
  79. message "&7 /TagSetOther &b- &7Set someone else's tag "
  80. message "&7 /TagReset &b- &7Reset Someone's Tag "
  81. message "&a "
  82. message "&7 Info - &a&lTablist Tags &7created by &3&lKillaura_Hacks"
  83. message "&9&m==============================================="
  84. if arg 1 is "help":
  85. message "&9&m==============================================="
  86. message "&a Plugin - &a&lTablist Tags"
  87. message "&a "
  88. message "&7 /TagSetOwn &b- &7Set your tag "
  89. message "&7 /TagSetOther &b- &7Set someone else's tag "
  90. message "&7 /TagReset &b- &7Reset Someone's Tag "
  91. message "&a "
  92. message "&7 Info - &a&lTablist Tags &7created by &3&lKillaura_Hacks"
  93. message "&9&m==============================================="
  94. if arg 1 is "?":
  95. message "&9&m==============================================="
  96. message "&a Plugin - &a&lTablist Tags"
  97. message "&a "
  98. message "&7 /TagSetOwn &b- &7Set your tag "
  99. message "&7 /TagSetOther &b- &7Set someone else's tag "
  100. message "&7 /TagReset &b- &7Reset Someone's Tag "
  101. message "&a "
  102. message "&7 Info - &a&lTablist Tags &7created by &3&lKillaura_Hacks"
  103. message "&9&m==============================================="
  104. command /TTGUI:
  105. trigger:
  106. if player does not have permission "TablistTags.help":
  107. message "{@prefix} &cYou do not have permission to use this command!"
  108. if player has permission "TablistTags.help":
  109. open chest with 1 row named "&8&l&nTablist Gui" to player
  110. wait 6 tick
  111. format slot 0 of player with nether star named "&cTagSetOwn" with lore "" to close then run [make player execute command "TagSetOwn"]
  112. format slot 4 of player with nether star named "&cTagSetOther" with lore "" to close then run [make player execute command "TagSetOther"]
  113. format slot 8 of player with nether star named "&cTagReset" with lore "" to close then run [make player execute command "TagReset"]
  114. on join:
  115. if {tag.%player%} is set:
  116. if {tag.%player%.reset} is true:
  117. stop
  118. if {tag.%player%.reset} is false:
  119. make player execute command "TagSetOwnSilent %{tag.%player%}%"
  120. wait 2 seconds
  121. message "{@prefix} &7Just a reminder... you still have the name &c%{tag.%player%}% &7in tab!"
Add Comment
Please, Sign In to add comment