Calculator 1.1

Powerful and lightweight calculator directly in chat

  1. Andross
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Source Code:
    https://github.com/Andross96/Calculator
    [​IMG]
    Calculator is a powerful & lightweight plugin that allow you to directly use a calculator in your chat.
    Simply use = before your operation and the plugin will calculate and show you the result.
    Adding a @ before will broadcast the result.
    The plugin will fail silently if the operation isn't correct.

    Working with any versions of bukkit/spigot/paper...

    gif.gif


    General operations:
    Format: =Number[+-*/]Number([+-*/]Number...∞)
    Exemple: '=2+2' will show '4'.
    Exemple: '=2.5+2+2' will show '6.5'.


    You can use + for addition.
    You can use - for substraction.
    You can use * & x for multiplication.
    You can use / & : for division.
    You can use % for modulo.
    -------------------------------------------------------
    Functions operations:
    Format: =[sin|asin|cos|acos|tan|atan|sqrt|log|exp|pow|random](Number)
    Exemple: '=sqrt(9)' will show '3'.

    You can use abs for absolute.
    You can use sin for sinus.
    You can use asin for arcsine.
    You can use cos for cosinus.
    You can use acos for arccosine.
    You can use tan for tangent.
    You can use atan for arctangent.
    You can use sqrt for square root.
    You can use log for logarithm base 10.
    You can use exp for exponential.
    You can use pow(x, y) for power x to power y.
    You can use random to generate a random value (between 0 & 1).
    -------------------------------------------------------
    General rules:
    -> Numbers can be decimals, using dots (.) or commas (,), and negative, using -
    -> If the result contains decimals, it will return rounded result with 2 decimals
    -> You can use multiple calculations in a single chat message, just respect the format
    -> Adding a '@' at the beginning of the message will send the result to everybody


    [​IMG]
    • calculator.use - allow using the calculator (default: OP)
    --------------------------------------------------------------------
    For any bugs/questions/suggestions: -> PM me here or on discord (Andross#5254)
    --------------------------------------------------------------------
    If you like this plugin, please rate it and/or leave a comment! Thanks! :)
    Or give me a coffee:
    [​IMG]
    Kagrurnaax likes this.

Recent Updates

  1. Code update
  2. Recoded + optimized

Recent Reviews

  1. glufano
    glufano
    5/5,
    Version: 7.1
    Very practical, I am using it on my server for a while and it saves a lot of time for our roleplays!
    1. Andross
      Author's Response
      Glad it helps!
  2. neverforget98
    neverforget98
    5/5,
    Version: 7.1
    This plugins works exactly as expected with frequent updates to provide improvements. The author is responsive and considerate to suggestions. Thank you for your hard work :)
    1. Andross
      Author's Response
      Thanks! :)