ChatCalculator, or ChatCalc, is a simple, lightweight plugin that allows you to make quick calculations through chat. Want to see how large your claim needs to be? Simply use ChatCalculator! All of the operations can be found on GitHub.
Using ChatCalculator
In order to use ChatCalculator, simply open chat and type a number, operator, and another number. Decimals are supported.
Addition:
3 + 4(7) Subtraction:10 - 7(3) Multiplication:5 * 3(15) Division:30 / 6(5) Modulation (Remainders):20 % 3(2) Powers:5 ^ 2(25) Logarithms:2 log 32(5)
Roots:2 rt 16(4) Random Integer:5 randi 10(9) Random Double:5 randd 10(9.012157862836332...) Trigonometry:90 sin d(1)*
* Supports sine, cosine, tangent, cosecant, secant, cotangent. The second term must be either d (degrees) or r (radians).
Variables
Certain variables are available. They can be found below (the bolded portion is what you use):
An approximation of Pi - 3.141592653589793 An approximation of e (Euler's number) - 2.718281828459045 The Answer to your previous calculation - Use
Ans
Information about the data usage collection Metrics
Disabling Metrics
The file ../plugins/Plugin Metrics/config.yml contains an option to opt-out
The following data is sent to http://mcstats.org and can be seen under http://mcstats.org/plugin/ChatCalculator
- Java version
- Operating system
- Whether the server is in online or offline mode
- System architecture
- Number of system cores
- Server location (by country)
- Game version
- Server software (Bukkit)
- Version changes
- Metrics revision of the implementing class
- Server version string (the same version string you see in /version)
- Plugin version of the metrics-supported plugin
Information about Auto Updating
The file ../plugins/ChatCalculator/config.yml contains an option to disable this, as well as in-game via chatting chatcalc update false
When ChatCalculator updates, it connects to BukkitDev's ServerMods API, and downloads the new version. If auto-updating is enabled, ChatCalculator will tell operators that an update is available when they log in. They can then chat chatcalc update, which will start the download. After it is downloaded, you will need to reload or restart the server for the changes to take effect.

