Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Version: 1.0.1
- join:
- if player is op:
- set {_versioncheck} to text from "https://pastebin.com/raw/2Fw7h0sS"
- if {_versioncheck} is not "{@Version}":
- send "&c[INFORMATION] &e&lWARNING &fYou are using an outdated version of Information! &nNewest version: https://pastebin.com/raw/Kk54hq5r"
- else:
- send "&c[INFORMATION] &a&lSUCESS &fYou are using the newest version of Information."
- on first join:
- set {server::last::join} to "%player%"
- add 1 to {server::unique::joins}
- on join:
- add 1 to {server::joins}
- every second:
- add 1 to {server::seconds}
- if {server::seconds} is 60:
- add 1 to {server::minutes}
- set {server::seconds} to 0
- else if {server::minutes} is 60:
- add 1 to {server::hours}
- set {server::minutes} to 0
- on load:
- set {server::seconds} to 0
- set {server::minutes} to 0
- set {server::hours} to 0
- if {server::unique::joins} is not set:
- set {server::unique::joins} to 0
- if {server::joins} is not set:
- set {server::joins} to 0
- if {server::last::join} is not set:
- set {server::last::join} to 0
- every second:
- set {server::uptime} to "&c%{server::seconds}% s, %{server::minutes}% m, %{server::hours}% h."
- command /information:
- trigger:
- send "&aServer Information."
- send "&4Total First Time Joins:&c %{server::unique::joins}%"
- send "&4Total All Time Joins: &c %{server::joins}%"
- send "&4Last First Time Join:&c %{server::last::join}%"
- send "&4Server Uptime:&c %{server::uptime}%"
- send "&aPowered by: https://plugins.pixelservers.org"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement