Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #simple stat counter for server
- #Created by AzureBluets - Do not remove these comments
- #Please credit me accordingly, and do not repost this skript. The only original source is from a profile named AzureBluets on spigotmc.org
- #Please report any reposts or issues on my discord server :discord.gg/BBZbWse
- on place:
- add 1 to {blocksplaced}
- on join:
- add 1 to {joins}
- on break:
- add 1 to {brokenblocks}
- on load:
- add 1 to {serverstarts}
- on smelt:
- add 1 to {itemssmelted}
- every second:
- add 1 to {totalserveruptimes}
- if {totalserveruptimes} is equal to 60:
- set {totalserveruptimes} to 0
- add 1 to {totalserveruptime}
- if {totalserveruptime} is equal to 60:
- set {totalserveruptime} to 0
- add 1 to {totalserveruptimeh}
- if {totalserveruptimeh} is equal to 24:
- set {totalserveruptimeh} to 0
- add 1 to {totalserveruptimed}
- command /serverstats:
- permission: stats.view
- permission message: &cYou do not have permission!
- trigger:
- send "&8--------{&b&lServer Stats&8}-------- "
- send "&fTimes server started: &e %{serverstarts}%"
- send "&fTotal runtime : &e %{totalserveruptimed}%&e:%{totalserveruptimeh}%&e:%{totalserveruptime}%&e:%{totalserveruptimes}% (DD:HH:MM:SS)"
- send "&fBlocks Broken: &e %{brokenblocks}% "
- send "&fBlocks Placed: &e %{blocksplaced}%"
- send "&fItems Smelted: &e %{itemssmelted}%"
- send "&fPlayers joined: &e %{joins}%"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement