Skip to main content

Python IP tracker plugin for Endstone servers

Project description

Endstone IP Tracker Plugin

Python Version Endstone Version License

A comprehensive IP tracking plugin for Endstone Minecraft servers that automatically records and manages player IP addresses with detailed history tracking.

🚀 Features

  • 🔍 Automatic IP Tracking: Records player IP addresses when they join the server
  • 📊 Join Statistics: Tracks player join count and timestamps
  • 🕐 IP History: Maintains complete history of IP address changes
  • 📋 Query Commands: Easy-to-use commands for checking player information
  • 💾 Data Persistence: Automatic data saving and loading with JSON storage
  • 🔒 Permission System: Configurable permissions for different user roles
  • 🌐 Multi-IP Support: Tracks IP changes when players connect from different networks

📦 Installation

Option 1: Install from Release (Recommended)

Download .whl file from Release Page, then put this file into Plugin folder

Option 2: Install from PyPI

pip install endstone-ip-tracker

Option 3: Install from Source

git clone https://github.com/Tsingloong611/endstone-ip-tracker.git
cd endstone-ip-tracker
pip install -e .

Option 4: Install from Release

  1. Download the latest .whl file from Releases
  2. Install using pip:
pip install endstone_ip_tracker-0.1.0-py2.py3-none-any.whl

🎮 Usage

Commands

Command Description Usage Permission
/checkip Check player IP information /checkip <player> iptracker.check
/iplist List all recorded players /iplist iptracker.list

Example Usage

image1

image2

# Check a specific player's IP
/checkip Tsingloong1219

# List all players with their current IPs
/iplist

🔐 Permissions

Permission Description Default
iptracker.admin All IP tracker permissions op
iptracker.check Use /checkip command op
iptracker.list Use /iplist command op

📊 Data Structure

The plugin stores data in plugins/IPTrackerPlugin/player_ips.json:

{
  "Tsingloong1219": {
    "current_ip": "192.168.50.40",
    "first_join": "2025-07-10 18:10:34",
    "last_join": "2025-07-10 18:14:50",
    "join_count": 3,
    "ip_history": [
      {
        "ip": "192.168.50.39",
        "time": "2025-07-10 18:10:34"
      },
      {
        "ip": "192.168.50.40",
        "time": "2025-07-10 18:14:50"
      }
    ]
  }
}

🛠️ Configuration

The plugin works out of the box with no configuration required. However, you can customize:

  • Data Storage Location: Modify self.data_folder in the plugin code
  • Display Limits: Change the number of history entries shown in commands
  • Permissions: Adjust permission requirements in your server configuration

🔧 Requirements

  • Endstone: >= 0.6.0
  • Python: >= 3.9
  • Operating System: Windows, Linux, macOS

📝 Changelog

v0.1.0 (2025-07-10)

  • Initial release
  • Basic IP tracking functionality
  • Command system implementation
  • Data persistence
  • Permission system
  • Multi-language support preparation

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🆘 Support

If you encounter any issues or have questions:

  1. Check the Issues page
  2. Create a new issue if your problem isn't already reported
  3. Provide detailed information about your setup and the issue

🙏 Acknowledgments

  • Thanks to the Endstone team for creating an excellent Minecraft server platform
  • Inspired by the need for better player management tools in Minecraft servers

📈 Statistics

  • Players Tracked: Unlimited
  • IP History: Complete history maintained
  • Performance: Minimal server impact
  • Compatibility: Works with all Endstone-compatible setups

Made with ❤️ for the Minecraft community

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

endstone_ip_tracker-0.1.0.tar.gz (405.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

endstone_ip_tracker-0.1.0-py2.py3-none-any.whl (7.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file endstone_ip_tracker-0.1.0.tar.gz.

File metadata

  • Download URL: endstone_ip_tracker-0.1.0.tar.gz
  • Upload date:
  • Size: 405.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for endstone_ip_tracker-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a7e98c0058c032262ec7e61a72b461522260bcce23ed9c0c5a9de7b546bc7d4d
MD5 c189b1e9c48638c8cd990ccd2b6d2fb2
BLAKE2b-256 bd62eb2da611e3bdd92f48a04270e8422dd1039d67f2ae4a25bc1e5f1a6c01ba

See more details on using hashes here.

File details

Details for the file endstone_ip_tracker-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for endstone_ip_tracker-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 074c38ea95b1e478cc0820529eaf3f4cdfa90bf4cc3ef039480d7ddafef5d48c
MD5 822d967ce235b1693fe6a83d8debecf5
BLAKE2b-256 914c80226c983ed3e296ecc655c0784a82a6de90a9eb3aa7a6e9371cc6528f77

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page