Ticker

Addon Ticker 1.0.0

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Supported Minecraft Versions
  1. 1.12
Ticker - By LimeGlass

Source: https://github.com/TheLimeGlass/Ticker

A Tps logistics Skript addon. Ticker will track your server's tps with events, average tps and accurate tps tracking.
Keep in mind that this is alot more accurate than Bukkit's Tps methods. Ticker's average Tps is similar to Bukkit's Tps, but there is also an expression to get from Bukkit.

All of the syntax for this addon are generated in a Syntax.yml with information on it, a disabler for each syntax and if it supports what changers.

Syntax:
code_language.skript:
Syntax:
  Events:
    AverageTpsChangeEvent:
      enabled: true
      patterns:
      - '[Ticker] average tps change [to %-number%]'
      eventvalues:
      - Number
      - Number
      - Number
    TpsChangeEvent:
      enabled: true
      patterns:
      - '[Ticker] tps change [to %-number%]'
      eventvalues:
      - Number
      - Number
      - Number
  Expressions:
    ExprEventPastTps:
      enabled: true
      description: Returns the server's past tps in the tps change event.
      syntax:
      - '[the] [server[['']s]] (past|previous) tps'
    ExprTpsString:
      enabled: true
      description: Returns the server's tps with colour.
      syntax:
      - '[the] [server[['']s]] tps string'
    ExprAverageTps:
      enabled: true
      description: Returns the server's average tps.
      syntax:
      - '[the] [server[['']s]] average tps'
    ExprBukkitTpsString:
      enabled: true
      description: Returns the server's tps from Bukkit.
      syntax:
      - '[the] bukkit[['']s] tps [string]'
    ExprEventPastAverageTps:
      enabled: true
      description: Returns the server's past average tps in the average tps change
        event.
      syntax:
      - '[the] [server[['']s]] (past|previous) average tps'
    ExprTps:
      enabled: true
      description: Returns the server's tps.
      syntax:
      - '[the] [server[['']s]] tps'
    ExprLastTps:
      enabled: true
      description: Returns the server's last tps from 20 ticks ago.
      syntax:
      - '[the] [server[['']s]] last tps'
    ExprAverageTpsString:
      enabled: true
      description: Returns the server's average tps with colour.
      syntax:
      - '[the] [server[['']s]] average tps string'
  PropertyExpressions:
    ExprTimeTps:
      enabled: true
      description: Returns the server's tps at a time.
      syntax:
      - '[(all [[of] the]|the)] [the] [server[['']s]] tps[s] (of|from) [date[s]] %date%'
      - '%date%[''s] [date[s]] [the] [server[['']s]] tps[s]'

If you have any suggestions that I should add. Please use the discussion page to notify me about them. If you need any help with this addon as well you can pm me or use the discussion of this resource, Thanks.

Enjoy!
Author
LimeGlass
Downloads
5,644
Views
5,644
First release
Last update
Rating
4.00 star(s) 4 ratings

More resources from LimeGlass

Latest reviews

So lightweight, very nice! And for everyone else, STOP POSTING YOUR BUGS IN THE REVIEW SECTION!!!!
Just what I needed! Since skript doesn't support tps on spigot this is the best tps addon if not the only one out there!
just to make up for the unfair 1*.........................
LimeGlass
LimeGlass
Thanks for providing information prior to reviewing... Reviews should not be used to report bugs. Please provide your coding that you're using, the timings report and any other information that you think would actually give an understanding of your issue... It needs to run every tick otherwise the consistency will be invalid. Here is the source code of your problem https://github.com/TheLimeGlass/Ticker/blob/master/src/main/java/me/limeglass/ticker/tasks/TpsHandler.java