Sueta

PerWorldStatistics - Separate statistics by world groups

1.0

The best plugin for separating statistics by world groups.

·Plugin

Diseño sin título.png
PerWorldStatistics – Track player stats per world group!
pws screeshot.png
PerWorldStatistics is a lightweight and fully customizable plugin that allows you to track custom player statistics based on the world group they're in.
Perfect for multi-world servers with different game modes like Survival, SkyBlock, Creative, and more.

Easily integrate stats with other plugins via PlaceholderAPI-compatible placeholders!

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

✅ Features

  • Track custom statistics per world group
  • ⚙️ Configurable world groups via config.yml
  • Requires PlaceholderAPI to work
  • Placeholders in the format %pws_stat_group%
  • Reload config without restarting using /pws reload
  • View available stats and usage with /pws stats
  • Real-time player count per group
  • Lightweight and performance optimized

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Placeholder Format
All placeholders follow this format:

%pws_<stat>_<group>%

Example:
%pws_kills_Survival% → Number of player kills in the "Survival" group.

Available Statistics

These are the statistics tracked internally by the plugin:

• Kills – %pws_kills_<group>%
• Deaths – %pws_deaths_<group>%
• Mob Kills – %pws_mobkills_<group>%
• Blocks Broken – %pws_blocksbroken_<group>%
• Blocks Placed – %pws_blocksplaced_<group>%
• Total Time Played – %pws_totaltimeplayed_<group>%
• Fish Caught – %pws_fished_<group>%
• Messages Sent – %pws_messages_<group>%
• Online – %pws_online_<group>%

Notes:
- totaltimeplayed displays as: 1D 2H 3M 5S
- online shows current number of online players in the group

⚙️ Example config.yml
messages:
  no_permission: "&cYou don't have permission to use this command."
  reload_success: "&aPerWorldStatistics successfully reloaded."

world_groups:
  Survival:
    worlds:
      - Survival
      - Survival_nether
      - Survival_the_end
  SkyBlock:
    worlds:
      - SkyBlock_world
Example stats.yml
Players:
  robleuy:
    Survival:
      totaltimeplayed: 401
      blocksbroken: 5
      blocksplaced: 1
      mobkills: 3
      messages: 1
      fished: 1
      kills: 3
      deaths: 2

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Commands

/pws           – Displays available commands
/pws reload    – Reloads the plugin and config
/pws stats     – Lists all supported stats and their placeholder format

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Permissions

perworldstatistics.admin – Required to use all commands

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Important Notes

  • Requires PlaceholderAPI to function
  • Tracks internal stats, not Minecraft built-in ones
  • Placeholders return NaN if group or stat is invalid
  • Only groups defined in config.yml are tracked

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⭐ If you enjoy this plugin, consider leaving a positive review!
Suggestions and feedback are always welcome!

Similar projects

Plugin →