HomeJavaModsPlayerTracker-unimilk
PlayerTracker-unimilk
ModsJava

PlayerTracker-unimilk

by X-xiaohan521 · on Modrinth

PlayerTracker is an esay-to-use plugin for ops in Minecraft servers to get to know the coordinary and status of online players.

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.19.3–1.21.10 · Paper⬇ Download for 1.19.4–1.21.10 · Spigot⬇ Download for 1.19.4 · Bukkit
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
PlayerTracker-unimilk — screenshot 1PlayerTracker-unimilk — screenshot 2PlayerTracker-unimilk — screenshot 3

🧭 PlayerTracker Plugin (Capable for Spigot/Paper 1.13.x ~ 1.21.x)

🚀 PlayerTracker is a lightweight Minecraft 1.13.x ~ 1.21.x server plugin that allows administrators to track the coordinates and status of online players.

📋 Overview

📌 Latest Version: v4.1.0
📌 Supported Minecraft Versions: 1.13.x ~ 1.21.x
📌 Compatible Servers: Spigot Paper


📥 Quick Start

1️⃣ Download

👉 Click here to download PlayerTracker.

2️⃣ Installation

  1. Download the .jar file.
  2. Put the .jar file in the .\plugins folder of your Minecraft server.
  3. Stop and restart your server.
  4. Try /playertracker or /pt in game.

📝 How to Use

🔹 Main Commands

🚀 Both /playertracker and /pt work as valid command prefixes. For convenience, the examples below use /pt.

Command Description Permission Required
/pt track Display the coordinary and status of all players online. playertracker.use
/pt track <player> Display the coordinary and status of the player specified. playertracker.use
/pt log <on/off> Enable/Disable logging. playertracker.admin
/pt log schedule <int> Set logging interval to [int] second. Default: 300 playertracker.admin
/pt reload Reload the config file. playertracker.admin
/pt viewer add/remove <player> Add/Remove the tracker pointed to the player specified. playertracker.view

❗ It is highly recommended to use PlayerTracker with a permission control plugin (such as LuckPerms, click here for more information) for a more precise permission control than the "OP" by default in Minecraft.

🔹 Feature Details

  1. Basic Tracking /pt track

    When a players with playertracker.use permission or server console issue /pt track command, it displays all online players' coordinates and status in chat, for example:

    ===== Online Players =====
    X_xiaohan521 - World: world - Position: [108 77 -105] - Status: Wandering
    Go_Karoo - World: world - Position: [247 62 -335] - Status: On Vehicle
    

    🚀 Players in game can click the coordinates in chat to copy to clipboard. (Note that Minecraft versions 1.13.x ~ 1.15.x don't support this feature.)

    To query a specific player, use /pt track <player>.

  2. Logging

    When logging is enabled, player activities are automatically logged at .\plugins\PlayerTracker\player_activities.log. Refer to "File Syntax" for an explanation of the logging syntax.

    Players with playertracker.admin permission or server console can toggle logging via /pt log on/off.

  3. Live Tracker /pt viewer

    Players with playertracker.view permission can issue /pt viewer add <player> in game to display real-time tracking info on-screen, for example:

    Tracking: X_xiaohan521 - World: world - Position: [96 72 34] - Status: Wandering
    

    To stop tracking, use /pt viewer remove.

    Additionally, the BossBar area (on top of the screen) will show the relative direction and distance between the viewer and the target:

    • Horizontal Direction: (8 total)
    • Vertical Direction: Level (3 total)
    • Distance: the straight-line distance between both players

    ❗ Note: Only one target can be tracked at a time. Adding a new one replaces the previous target.

    💡 Heads-up: The viewer uses the ActionBar (the display area above palyers' hotbar). It may conflict with other plugins that also use the ActionBar.


📄 File Syntax

⚙️ Configuration File config.yml

📌 Automatically generated at .\plugins\PlayerTracker on first launch.

plugin:
  enabled: true   # Enable/Disable the plugin

log:
  enabled: true   # Enable/Disable logging
  schedule: 300   # Logging interval (seconds)

🧾 Log File player_activities.log

📌 Automatically created at .\plugins\PlayerTracker when the first log entry is written.

  1. Sample Log Entry

    [2025-06-23 23:25:08] [X_xiaohan521] [world] [108 79 -90] [Joined Game]
    

    Format: [Time] [Player] [World] [Coordinates] [Event]

  2. Log Triggers (when logging is enabled)

    a. Scheduled Logging

    📌 The plugin records all online players' status at intervals defined in config.yml. Possible status include:

    • Sleeping
    • On Vehicle
    • Swimming
    • Gliding
    • Sprinting
    • Sneaking
    • Wandering

    b. Specific Events

    📌 The following events automatically trigger logging:

    • Player join/quit
    • Player death
    • Flight toggle
    • Vehicle enter/exit
    • Player damage
    • Ender pearl usage
    • Player attack
    • Chet opening

🛠️ Technical Overview

Plugin Structure

PlayerTracker/
├── pom.xml                      # Parent aggregation POM
│
├── playertracker-api/           # Externally exposed API
│   └── src/main/java/unimilk/playertracker/api/
│       ├── viewer/
│       │   ├── ITrackViewer.java
│       │   └── IBossBarManager.java
│       └── util/
│           └── IMessageSender.java
│
├── playertracker-common/        # Common logic implementation, excluding version dependencies
│   └── src/main/java/unimilk/playertracker/
│       ├── PlayerTracker.java   # Plugin Main Class
│       ├── command/
│       │   ├── CommandHandler.java
│       │   └── CommandTabCompleter.java
│       ├── log/
│       │   └── ActivityLogger.java
│       ├── util/
│       │   ├── DirectionDistanceCalc.java
│       │   └── EventListener.java
│       └── core/
│           └── VersionManager.java    # Dynamically load different version implementations
│
├── playertracker-v1_13_15/      # Implementation dedicated to versions 1.13~1.15
│   └── src/main/java/unimilk/playertracker/impl/v1_13_15/
│       ├── viewer/
│       │   ├── TrackViewerImpl.java
│       │   └── BossBarManagerImpl.java
│       └── util/
│           └── MessageSenderImpl.java
│
├── playertracker-v1_16_21/      # Universal implementation for 1.16~1.21
│   └── src/main/java/unimilk/playertracker/impl/v1_16_21/
│       ├── viewer/
│       │   ├── TrackViewerImpl.java
│       │   └── BossBarManagerImpl.java
│       └── util/
│           └── MessageSenderImpl.java
│
└── playertracker-assembly/       # Final packaging module
    └── src/main/resources/plugin.yml

Data Structure

  Time
  Name
  Location
  ├── world
  └──coordinary
  Activity
  ├──status
  └──event

  Direction
  Distance

❓ FAQ


📜 Changelog

📌 Only the latest version is listed here. See CHANGELOG.md for older versions.

[4.1.0] - 2025-11-12

🌟 Improvements

🛠 Bugfixes


💡 Contributing

Want to help improve this plugin? Submit an Issue or Pull Request via GitHub.


📜 License

This plugin is released under the Unlicense.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.


📞 Contact Me

📧 Email: unimilk891@gmail.com

🌐 GitHub: X-xiaohan521


⭐ Final Words

Thank you for using PlayerTracker!

If you find this plugin helpful, please star ⭐ ths repository or leave your feedback — your support means a lot to me! 🚀

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more