MinerTrack

MinerTrack

Plugin

The Powerful Anti-Xray, help you auto catch X-rayers and punish them according to your configuration.

Server Game MechanicsManagementTechnologyUtility

28.5k downloads
63 followers
Follow Save
Filter loader...
Filter versions...
Filter channels...

1.8.0 - Detection Improve & Multi-command Support

Detection Improvement

  • Significantly enhanced the detection capability for small mineral veins, and is now fully usable for ancient debris X-ray.
  • Enhanced some of the previously legacy detection code.

Multi-command Support

  • Now supports two command formats:

    • One VL, one command:

      2: 'minertrack notify &f%player% &7triggered &fX-Ray &7detection [&cVL: 2&7]'
      
    • One VL, multiple commands:

      5:
        - 'minertrack kick %player% X-Ray'
        - 'minertrack notify &f%player% &7was kicked for &fX-Ray'
      

    Full default config of command:

    # Commands executed at specified violation thresholds
      commands:
        2: 'minertrack notify &f%player% &7triggered &fX-Ray &7detection [&cVL: 2&7]'
        4: 'minertrack notify &f%player% &7triggered &fX-Ray &7detection [&cVL: 4&7]'
        5:
          - 'minertrack kick %player% X-Ray'
          - 'minertrack notify &f%player% &7was kicked for &fX-Ray'
    

    We recommend everyone update to this version.


    Happy using~

1.7.7 - Update Checker Enhance

Enhanced Features

  • Enhanced Version Parsing & Comparison: Supports more version formats including:

    • x.x.x (e.g., 1.2.3)
    • x.xx.xx (e.g., 2.10.15)
    • x.x.x.x (e.g., 3.4.5.6)
    • Pre-release tags like -alpha, -beta, and numeric suffixes (e.g., 1.5.0-beta.2).
  • Smart Version Comparison Logic: Correctly handles semantic version ordering:

    • 1.10.0 > 1.9.15
    • Stable releases > beta > alpha
    • 1.0.0-beta.2 > 1.0.0-beta.1
  • Configurable Update Channels: Controlled via update-check-channel in config.yml:

    • stable: Only notify about stable (non-pre-release) updates.
    • beta: Notify about stable and beta updates.
    • alpha: Notify about stable, beta, and alpha updates.
  • Dynamic Update Detection: Now evaluates updates in real-time based on the current channel setting—no stale cache after /mtrack reload.


Expected that the detection capabilities will be enhanced in the next version.


Happy using~

1.7.6 - Enhanced User Experience

Enhanced Features

  • Log System Enhanced
    • You can now click to update the text to download the latest version.
    • Switch to Modrinth API.
  • Placeholder Tips
    • Related placeholders have been added above each configurable item where can use placeholders. (Comments do not support automatically adding updates.)

Happy using~

1.7.5 - Ingame Logs Viewer

New Features

  • Ingame Logs Viewer
    • Use /mtrack logs <log file.log> to view log file.
    • Permission node: minertrack.logs

Recommend to rebuild the language.yml


Happy using~

1.7.4 - Update Checker Fix

Fixed BUG

  • ​Update checks failed when plugin loading will make plugin couldn't load. [#7]
  • When checking update, get version info twice.
  • When check_update: false, still get the update information when plugin loading.

We recommend everyone update to this version to prevent your server's Internet bad to lose the Anti-XRay protect.


Happy using~

Fixed BUG

  • ​ language.yml is not reloaded correctly when using /mtrack reload.
  • Scheduler error when loading plugin [#6] (on 1.19.4 and earlier)
    • Use reflection to call the Folia logic to make sure there are no issues.

Improvements

  • Artificially created air can now be detected to prevent bypassing the check.
  • When the plug-in is not enabled, the scheduled task will be canceled.

We recommend everyone update to this version.


Happy using~

1.7.2 - Scheduler Fix

Fixed BUG

  • Scheduler error when loading plugin [#5] (on 1.19.4 and earlier)

Contributors Add

  • Add Zhang12334 to the list of contributors when enabled and disabled.

Happy using~

1.7.1 - WebHook Enhancement

Enhancements

  • Advanced webhook format custom. (b40908c)

  • Add Simplified Chinese Readme File & Contributors. (ff7d2bc)

  • WebHook message async send. (bbcd528)

New Version Support

  • Add 1.21.6 to support version list.

Thanks list:


Happy using~

1.7.0 - Folia Lightning Fix

Fixes

  • Fixed an issue Lightning strike don't working on Folia #1.

Improvements

  • More detailed error reports.

Happy using~

Fixes

  • Fixed an issue where player join events and server load completion (Done!) events in the main class were not registered correctly.

Improvements

  • Updates are now not requested during the server startup process, speeding up startup.
  • If update checking is enabled and an update is available, the update will now be announced when a player with permission joins.

Happy using~

1.6.8 - Some Improvements

Improvements

  • The degree of freedom in the definition of configuration items has been improved:
    • Add y-change-threshold-add-required option.
  • Reduced the amount of exception information that the getWorld() method returns null under Folia.

Other Changed

  • Changed some default config.

Recommend to rebuild the config.yml

path-detection:
    y-change-threshold-add-required: 3 # If y pos transformation exceeds this value, the threshold is increased

Happy using~

1.6.7 - BUG Fix and Improve

Fixed BUG

  • /mtrack kick does not work in Folia environment.

Improvements

  • Optimized path checking and improved hit rate.
  • Added custom information for update checks.

Other Changed

  • Changed some default config.

Recommend to rebuild the language.yml

update:
  alpha-available: '&cNew alpha version %latest_version% now available!'
  beta-available: '&eNew beta version %latest_version% now available!'
  stable-available: '&aNew stable version %latest_version% now available!'
  using-latest: '&2You are using the latest version.'
  check-failed: '&cFailed to check for updates.'

Happy using~

1.6.6 - Fix BUG and Improve

Improvements

  • If update checking is enabled and a new version is available, version will be shown in red when the plugin is enabled and disabled.
  • Some update detection logic has been optimized.

Fixed BUG

  • Configured commands cannot be executed in the Folia environment.

Other Changed

  • Changed some default config.

Happy using~

1.6.4 - Temporary Rollback

Why Rollback?

Currently, 1.6.5 cannot be used normally, please temporarily roll back to 1.6.4.

1.6.5 - Detection Improvement

Improvements

  • Add natural check.
  • Improved smooth path check.

Other Changed

  • Changed some default config.

Recommend to rebuild the config.yml


Happy using~

1.6.4 - Reduce False Positives

Improvement

  • Reduced some false positives

Fixed BUG

  • turnCountThreshold doesn't work.

Happy using~

1.6.3 - Tiny Improvement

Improvement

  • Add Excuted Command: to the command logged.
  • A message is sent to the console when a preset command is executed.

Happy using~

1.6.2 - Discord WebHook and Some Improvement

Welcome to get the first stable version!

After endless bug fixes, MinerTrack has finally ushered in its first stable release!

Wow!

Fixed BUG

  • %vein_count% is not properly applied to logs.
  • Spam messages when the detection height is not set for the world and the check is enabled.
  • Fixed an issue where VL related classes were not working correctly in Folia.

Improvement

  • Add veinCountThreshold and turnCountThreshold to config.yml, helps reduce false positives.
  • Supported Discord WebHook
  • Executed commands can now be recorded.

Happy using~

1.6.1-beta - Fix a Little BUG

Fixed BUG

  • %vein_count% is not properly applied to logs.

Happy using~

1.6.0-beta - Detection Reforge

Detection Improvement

  • Overthrow most of the previous code, now increases VL whenever the player mines a new vein, so don't set the VL threshold too low.
  • Due to a miscalculation of the rarity of cave air, normal air is now taken into account.

Log System Improvement

  • Now can log the number of veins mined by player. %vein_count%

Fixed BUG

  • Language file is not overloaded when /mt reload is used.
  • The number of ore in the vein is displayed incorrectly.
  • Air detection configure file's true and false effects reversed.
  • VL is not reduced properly in the Folia environment.

Other Changed

  • Open Source identifiers have been added at the beginning of the .java file.
  • Changed some of the default configuration options.
  • The update is now check on server startup complete (Done!) .
  • Stop official support for Spigot.

Recommend to rebuild the config.yml


Happy using~


Project members

Author87668

Member

Details

Licensed GPL-3.0-only
Published a year ago
Updated 10 days ago