Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

moom0o/WorldStatsRewritten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Mine

NO LONGER SUPPORTED, SUPERSEDED BY https://github.com/xGinko/BetterWorldStats

A better rewrite of the old Worldstats plugin that is more lightweight and doesn't cause lag.

bstats

World time

For the plugin to calculate world time please convert the date of your map start to epoch milliseconds and set the time setting in config.yml to the epoch.

PlaceholderAPI

  • %worldstats_filesize% - Get the cached file size.
  • %worldstats_filesizespoof% - Get the spoofed file size, useful for when you shrink your world.
  • %worldstats_players% - Get the cached unique players amount.
  • %worldstats_days% - Get how old the map is in DAYS

Additionally, all placeholders are supported in the /stats message.

Commands

  • /worldstats, /info, /stats, /icanhazstats reload - Reload the config
  • /worldstats, /info, /stats, /icanhazstats - Display world stats message

Support

Join my support discord if you have any issues.
Discord: https://discord.gg/HfuyuqhXdb

Config

config.yml
# supports placeholderapi
message:
  - '&7-----------------------------------------------------'
  - '&6%totalPlayers% &3player(s) have spawned at least once in the world. '
  - '&3The World is &6%years% years, %months% months and %days% days old &3and has a file
    size of &6%fileSize% GB'
  - '&7-----------------------------------------------------'
filesizeupdate_in_ticks: 72000
Worlds:
  - "./world/region"
  - "./world_nether/DIM-1/region"
  - "./world_the_end/DIM1/region"
time: 0