Advertisement
1c7

Information

1c7
Mar 2nd, 2019
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. options:
  2. Version: 1.0.1
  3. join:
  4. if player is op:
  5. set {_versioncheck} to text from "https://pastebin.com/raw/2Fw7h0sS"
  6. if {_versioncheck} is not "{@Version}":
  7. send "&c[INFORMATION] &e&lWARNING &fYou are using an outdated version of Information! &nNewest version: https://pastebin.com/raw/Kk54hq5r"
  8. else:
  9. send "&c[INFORMATION] &a&lSUCESS &fYou are using the newest version of Information."
  10.  
  11. on first join:
  12. set {server::last::join} to "%player%"
  13. add 1 to {server::unique::joins}
  14. on join:
  15. add 1 to {server::joins}
  16. every second:
  17. add 1 to {server::seconds}
  18. if {server::seconds} is 60:
  19. add 1 to {server::minutes}
  20. set {server::seconds} to 0
  21. else if {server::minutes} is 60:
  22. add 1 to {server::hours}
  23. set {server::minutes} to 0
  24. on load:
  25. set {server::seconds} to 0
  26. set {server::minutes} to 0
  27. set {server::hours} to 0
  28. if {server::unique::joins} is not set:
  29. set {server::unique::joins} to 0
  30. if {server::joins} is not set:
  31. set {server::joins} to 0
  32. if {server::last::join} is not set:
  33. set {server::last::join} to 0
  34. every second:
  35. set {server::uptime} to "&c%{server::seconds}% s, %{server::minutes}% m, %{server::hours}% h."
  36. command /information:
  37. trigger:
  38. send "&aServer Information."
  39. send "&4Total First Time Joins:&c %{server::unique::joins}%"
  40. send "&4Total All Time Joins: &c %{server::joins}%"
  41. send "&4Last First Time Join:&c %{server::last::join}%"
  42. send "&4Server Uptime:&c %{server::uptime}%"
  43. send "&aPowered by: https://plugins.pixelservers.org"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement