Straiker123

TheAPI Configuration - Old time convertor

Jul 9th, 2021 (edited)
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.20 KB | None | 0 0
  1. TheAPI Configuration (https://www.spigotmc.org/resources/72679/)
  2. Our discord: https://discord.gg/8YtfC234dA
  3.  
  4.   # Convertor Actions:
  5.   # action, amount, translation
  6.   # = (equals)
  7.   # < (lower than)
  8.   # > (more than)
  9.   TimeConvertor:
  10.     Split: ""
  11.     Format: "%time%%format%"
  12.     Seconds:
  13.       Convertor:
  14.      - ">,0,s"
  15.       Lookup:
  16.      - "s"
  17.       - "sec"
  18.       - "second"
  19.       - "seconds"
  20.     Minutes:
  21.       Convertor:
  22.      - ">,0,m"
  23.       Lookup:
  24.      - "m"
  25.       - "mi"
  26.       - "min"
  27.       - "minu"
  28.       - "minut"
  29.       - "minute"
  30.       - "minutes"
  31.     Hours:
  32.       Convertor:
  33.      - ">,0,h"
  34.       Lookup:
  35.      - "h"
  36.       - "ho"
  37.       - "hou"
  38.       - "hour"
  39.       - "hours"
  40.     Days:
  41.       Convertor:
  42.      - ">,0,d"
  43.       Lookup:
  44.      - "d"
  45.       - "da"
  46.       - "day"
  47.       - "days"
  48.     Weeks:
  49.       Lookup:
  50.      - "w"
  51.       - "we"
  52.       - "wee"
  53.       - "week"
  54.       - "weeks"
  55.     Months:
  56.       Convertor:
  57.      - ">,0,mo"
  58.       Lookup:
  59.      - "mo"
  60.       - "mon"
  61.       - "mont"
  62.       - "month"
  63.       - "months"
  64.     Years:
  65.       Convertor:
  66.      - ">,0,y"
  67.       Lookup:
  68.      - "y"
  69.       - "ye"
  70.       - "yea"
  71.       - "year"
  72.       - "years"
Add Comment
Please, Sign In to add comment