Sueta

Player Tracker [1.13x - 1.21x]

2.0

Easily track players with a compass!

·Plugin


PlayerTracker lets players track another player using a compass, updating in real-time as the target moves.

Designed for SMPs, PvP hunts, bounty servers, and survival gameplay — with clean, efficient performance and easy configuration.

Player Tracker ensures:
➤ Fair tracking rules

➤ Optional cost to track (Vault support)
➤ Item-based control (hold or possess a compass)
➤ Distance and world restrictions
➤ Smooth tracking updates

All messages are fully customizable in the config.yml.





➤ TRACK WITH COMMAND OR COMPASS
Flexible tracking system for both staff and players

➤ OPTIONAL PLAYER FEES
Require items or $$$ based fees. VAULT required for economy

➤ MAXIMUM TRACKING DISTANCE

Configure a certain distance to search

➤ COOLDOWN PERIOD FOR TRACKING
Prevents spam clicking and reduces server load

➤ CANCEL TRACKING BY CLICKING COMPASS
Quickly stop tracking without commands

➤ TARGET GETS NOTIFIED WHEN BEING TRACKED
Great for PvP, events, and fairness

➤ ADMIN BYPASS PERMISSION
Staff can remain completely untrackable

➤ ADMIN GUI VIEW TO MANAGE TRACKERS
A clean admin interface showing who is tracking who

➤ COMMAND TO CLEAR YOUR TARGET, OR OTHER PLAYERS
Reset your current target instantly

➤ TRACK RANDOMLY BY CLICKING COMPASS
Perfect for PvP, hunts, and manhunt events


➤ /track <player>
Tracks a player using a command

➤ /pt reload
Reloads the plugin configuration

➤ /cleartarget
Stops tracking your current target

➤ /cleartarget <player>
Clears the tracking target of another player (requires permission)

➤ /playertracker
Displays the main help menu

➤ /trackers
Shows a list of players currently tracking someone

➤ playertracker.track
Allows players to track another player

➤ playertracker.cleartarget
Allows players to stop tracking their target

➤ playertracker.cleartarget.other
Allows clearing another player's tracking target

➤ playertracker.bypass
Makes the player untrackable

➤ playertracker.reload
Allows reloading the plugin configuration

➤ playertracker.notify
Notifies a player when being tracked

All messages displayed to players can be changed inside the config.yml.
This includes prefix, tracking messages, errors, and more.

config.yml
# ===================================================================
#  PlayerTracker — Main Configuration File
#  Created by QuaccOnCracc (2025)
#  For support, visit the SpigotMC resources page
# ===================================================================
#
#  Formatting:
#     - Use & for color codes.
#     - HEX colors (#RRGGBB) are supported.
#     - Variables: {prefix}, {target}, {tracker}, {distance}, {amount}, {item}
#
# ===================================================================


# ==============================================================
#  ► Tracking Behaviour
# ==============================================================

# Right-clicking a compass automatically tracks the NEAREST player.
track-nearest: true

# Maximum distance (in blocks) a target can be from the tracker.
tracking-distance: 10000


# ==============================================================
#  ► Compass Settings
# ==============================================================

compass:
  # If true, player must HOLD the compass.
  # If false, compass only needs to be somewhere in their inventory.
  require-compass-hand: true

  # Cooldown after clicking a compass (in seconds).
  cooldown-seconds: 5

  # Sent when clicking the compass while on cooldown.
  cooldown-message: "&cYou must wait &f{time}s &cbefore searching again!"


# ==============================================================
#  ► Tracking Fees
# ==============================================================

tracking-fee-item:
  enabled: true
  material: "DIAMOND"
  amount: 1
  item-taken-message: "&cRequired tracking fee of &f{amount} {item} &ctaken"

tracking-fee-vault:
  enabled: false
  amount: 0
  withdraw-fee-message: "&cWithdraw tracking fee of &f{amount} &cfrom your account!"


# ==============================================================
#  ► Messages
# ==============================================================

# Global plugin prefix
plugin-prefix: "&a&lTracker &8» "

# No nearby players to track
no-close-player: "&cNo nearby players found to track!"

# Target left max distance
outside-tracking-distance: "&f{target} &chas moved too far away to track!"

# Missing required item
insufficient-fee-item: "&cMissing required tracking fee: &f{amount} {item}"

# Missing Vault currency
insufficient-fee-vault: "&cYou need at least &f{amount}&c to track this player!"

# Notify target of being tracked
notify-target: "&cWARNING: You are being tracked by &f{tracker}"

# Attempting to track yourself
track-self: "&cYou cannot track yourself!"

# Generic no-permission
no-permission: "&cYou do not have permission to do that."

# Config reload success
reloaded-config-message: "&aConfiguration reloaded successfully!"

# Actionbar tracking display (sent repeatedly)
tracking-message: "&aTracking &e{target} &7| Distance: &b{distance}m"

# No player supplied to /track
player-not-specified: "&cPlease specify a player!"

# Target not online
player-not-online: "&cThat player is not online!"

# Target is in another world
not-in-world: "&f{target} &cis in another world — cannot track them!"

# Target changed worlds while being tracked
changed-world: "&cYour target changed worlds — tracking stopped!"

# Used /track without having a compass
no-compass: "&cYou need a compass to use &f/track&c!"

# Player lost their compass while tracking
tracking-stopped-no-compass: "&cCompass missing — tracking stopped!"

# Compass must be held
compass-not-in-hand: "&cYou must hold a compass to track!"

# Player is not tracking anyone
not-tracking-player: "&cYou are not currently tracking anyone."

# Target cannot be tracked due to bypass permission
tracker-bypass-message: "&cThis player cannot be tracked."

# Tracking stopped by admin or server event
forced-stop: "&cTracking of &f{target} &chas been forcefully stopped."

# Player stopped tracking themselves (/cleartarget)
self-stop: "&aYou have stopped tracking your target."

# Target logged out
target-left: "&cStopped tracking &f{target}&c — they left the server."


If you find any bugs or have feature suggestions, feel free to reach out!
Discord: Stevenn#4461

Similar projects

Plugin →