Advertisement
namekuzi

Untitled

Dec 20th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. #Tablist Header & Footer
  2.  
  3. every seconds:
  4. loop all players:
  5. set tab header to " %nl% %{config.headerline1}% %nl% %nl% %{config.headerline2}% %nl% " and footer to " %nl% %{config.footerline1}% %nl% %nl% %{config.footerline2}% %nl% " for loop-player
  6.  
  7. on load:
  8. if file "plugins/Tablist/config.yml" doesn't exists:
  9. create file "plugins/Tablist/config.yml"
  10. wait 5 ticks
  11. wf "Header_Line1: &e&lYourServer.net" to "plugins/Tablist/config.yml"
  12. wf "Header_Line2: &cts.yourteamspeak.net" to "plugins/Tablist/config.yml"
  13. wf "" to "plugins/Tablist/config.yml"
  14. wf "Footer_Line1: &cts.yourteamspeak.net" to "plugins/Tablist/config.yml"
  15. wf "Footer_Line2: &e&lYourServer.net" to "plugins/Tablist/config.yml"
  16. wait 4 ticks
  17. set {config.headerline1} to value "Header_Line1" get of "plugins/Tablist/config.yml"
  18. set {config.headerline2} to value "Header_Line2" get of "plugins/Tablist/config.yml"
  19. set {config.footerline1} to value "Footer_Line1" get of "plugins/Tablist/config.yml"
  20. set {config.footerline2} to value "Footer_Line2" get of "plugins/Tablist/config.yml"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement