Advertisement
CREAMPAN0408

Untitled

Feb 18th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.20 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.  
  31. #DO NOT TOUCH OR USE THIS, THIS IS TO RELOG WITH TAG
  32. command /TagSetOther [<player>] [<text>]:
  33. trigger:
  34. if player does not have permission "TablistTags.SetOther":
  35. message "{@prefix} &cYou do not have permission to use this command!"
  36. if player has permission "TablistTags.SetOther":
  37. if arg 1 is not set:
  38. message "{@prefix} /TagSetOther &cPlayer &cNickname"
  39. if arg 1 is set:
  40. set arg 1's display name to "%colored arg 2%"
  41. set tablist name of arg 1 to "%colored arg 2%"
  42. message "{@prefix} &c%arg 1% {@TagSetOtherMessage}%colored arg 2%"
  43.  
  44. command /TagReset [<player>]:
  45. trigger:
  46. if player does not have permission "TablistTags.ResetOther":
  47. message "{@prefix} &cYou do not have permission to use this command!"
  48. if player has permission "TablistTags.ResetOther":
  49. if arg 1 is not set:
  50. message "{@prefix} &7/TagReset &cPlayer"
  51. if arg 1 is set:
  52. set arg 1's display name to "%arg 1%"
  53. set tablist name of arg 1 to "%arg 1%"
  54. message "{@prefix} &c%arg 1%'s {@TagResetMessage}"
  55. if {tag.%player%} is set:
  56. if {tag.%player%.reset} is not set:
  57. set {tag.%player%.reset} to true
  58. if {tag.%player%.reset} is set:
  59. set {tag.%player%.reset} to true
  60.  
  61. command /TablistTags [<text>]:
  62. trigger:
  63. if player does not have permission "TablistTags.help":
  64. message "{@prefix} &cYou do not have permission to use this command!"
  65. if player has permission "TablistTags.help":
  66. if arg 1 is not set:
  67. message "&9&m==============================================="
  68. message "&a Plugin - &a&lTablist Tags"
  69. message "&a "
  70. message "&7 /TagSetOwn &b- &7Set your tag "
  71. message "&7 /TagSetOther &b- &7Set someone else's tag "
  72. message "&7 /TagReset &b- &7Reset Someone's Tag "
  73. message "&a "
  74. message "&7 Info - &a&lTablist Tags &7created by &3&lKillaura_Hacks"
  75. message "&9&m==============================================="
  76. if arg 1 is "help":
  77. message "&9&m==============================================="
  78. message "&a Plugin - &a&lTablist Tags"
  79. message "&a "
  80. message "&7 /TagSetOwn &b- &7Set your tag "
  81. message "&7 /TagSetOther &b- &7Set someone else's tag "
  82. message "&7 /TagReset &b- &7Reset Someone's Tag "
  83. message "&a "
  84. message "&7 Info - &a&lTablist Tags &7created by &3&lKillaura_Hacks"
  85. message "&9&m==============================================="
  86. if arg 1 is "?":
  87. message "&9&m==============================================="
  88. message "&a Plugin - &a&lTablist Tags"
  89. message "&a "
  90. message "&7 /TagSetOwn &b- &7Set your tag "
  91. message "&7 /TagSetOther &b- &7Set someone else's tag "
  92. message "&7 /TagReset &b- &7Reset Someone's Tag "
  93. message "&a "
  94. message "&7 Info - &a&lTablist Tags &7created by &3&lKillaura_Hacks"
  95. message "&9&m==============================================="
  96.  
  97. on join:
  98. if {tag.%player%} is set:
  99. if {tag.%player%.reset} is true:
  100. stop
  101. if {tag.%player%.reset} is false:
  102. make player execute command "TagSetOwnSilent %{tag.%player%}%"
  103. wait 2 seconds
  104. message "{@prefix} &7Just a reminder... you still have the name &c%{tag.%player%}% &7in tab!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement