PingPlayer is a lightweight Minecraft plugin that allows players and server administrators to check ping (latency) information and IP addresses of online players.
- Ping Command: Check your own ping or ping of other players with
/ping [player]
- IP Command: View the IP address of online players with
/ip <player>
- Tablist Integration: Automatically displays player ping in the tab list with color coding
- Configurable Thresholds: Customize ping quality thresholds to match your server's needs
Command | Permission | Description |
---|---|---|
/ping |
pingplayer.ping |
Check your own ping |
/ping <player> |
pingplayer.ping |
Check another player's ping |
/ping help |
pingplayer.ping |
Display help information for the ping command |
/ip <player> |
pingplayer.ip |
View a player's IP address |
/ip help |
pingplayer.ip |
Display help information for the IP command |
/pingplayer reload |
pingplayer.settings |
Reload the plugin configuration |
/pingplayer help |
pingplayer.settings |
Display admin command help |
Permission | Description |
---|---|
pingplayer.ping |
Allows using the /ping command |
pingplayer.ip |
Allows using the /ip command |
pingplayer.settings |
Allows using the /pingplayer administrative commands |
The plugin creates a config.yml
file with customizable ping thresholds:
ping-thresholds:
excellent: 50 # 0-50ms = Excellent (Green)
good: 100 # 51-100ms = Good (Yellow)
medium: 200 # 101-200ms = Ok (Gold)
bad: 300 # 201-300ms = Bad (Red)
# 301+ms = Terrible (Dark Red)
- Download the latest version of PingPlayer from GitHub Releases
- Place the JAR file in your server's
plugins
folder - Restart your server or use a plugin manager to load the plugin
- Modify the configuration in
plugins/PingPlayer/config.yml
if needed - Use
/pingplayer reload
to apply configuration changes
The plugin automatically updates the tab list to show each player's ping with a color indicator:
- Green: Excellent ping
- Yellow: Good ping
- Red: Medium ping
- Dark Red: Bad ping
- Clone the repository:
git clone https://github.com/yourusername/PingPlayer.git
- Navigate to the project directory:
cd PingPlayer
- Build with Maven:
mvn clean package
- Find the compiled JAR in the
target
directory
Contributions are welcome! Feel free to open issues or submit pull requests on GitHub.
This project is licensed under the MIT License