TickMonitor 2.1.0

Shows the server's MSPT in the action bar

  1. jaylawl
    Native Minecraft Version:
    1.14
    Tested Minecraft Versions:
    • 1.14
    • 1.15
    Source Code:
    https://github.com/jaylawl/TickMonitor
    [​IMG][​IMG]

    +++ Discontinued +++


    Paper Spigot has added a native /mspt command rendering this plugin pretty much useless. Thus development on this plugin will no longer continue.
    https://github.com/PaperMC/Paper/bl...461-Add-tick-times-API-and-mspt-command.patch

    ------------------------

    Tiny plugin that allows your to monitor your server's MSPT (milliseconds per tick). It is extremely lightweight and will not affect your server's performance in any way.

    Donate if this plugin was/is useful to you: https://www.paypal.me/langejulian

    Usage
    • Use the command "/tickmonitor", the tab-completions show you all options.
    • Aliases for the command: "/tm" and "/mspt"
    • Required permission "tickmonitor.admin"
    • Use "/tickmonitor monitor" to show the MSPT in your action bar
    • Use "/tickmonitor getlatest" to show the latest MSPT in your chat

      [​IMG]
    API Usage
    • The API fires the event "MonitoringCycleCompleteEvent"
    • Event cannot be cancelled
    • It passes the time frame that has elapsed (enum Timeframe) and a set of doubles that are the observed milliseconds per tick for the event's timeframe
    • event.getTimeframe() -> MonitoringCycleCompleteEvent.Timeframe
    • event.getData() -> List<Double>

    Installation
    • This plugin requires PaperSpigot!
    • To activate the plugin, put it on your server and restart it.
    • To deactivate it, remove it from the server and restart it.
    • The plugin does not create a data folder and does not have any config options
    Compability
    • This plugin was desgined for 1.14 and 1.15 builds.
    • It is likely to, but not guaranteed, to work on older versions also (feel free to test and report)

    How to read the values
    MSPT (milliseconds per tick)
    • There are supposed to be 20 game ticks per second - that's how the minecraft server works.
    • A second has 1000 milliseconds.
    • 1000 ms / 20 ticks = 50 ms.
    • Thus, if your MSPT exceeds 50, your server will lose TPS (bad)
    • The smaller your MSPT, the better.

Recent Reviews

  1. xuanzhou
    xuanzhou
    5/5,
    Version: 2.1.0
    Great Plugin!I think it's useful and light.Can I repost it to mcbbs.net (The biggest MCForum Of China)?I'll mark the original page and send the donate link.
    1. jaylawl
      Author's Response
      glad you like it! yes, if you retain the original author and forward both the github and paypal link, you may repost it there. appreciate you asking for permission