
Calculator
A simple mod that lets you calculate math expressions directly in chat using the @ prefix.
About this Mod
Calculator Mod
A simple client-side chat calculator.
Overview
Calculator Mod allows you to evaluate mathematical expressions directly from the chat.
Simply start your message with @ followed by a formula, and the result will be displayed in your chat.
Features:
- Evaluate arithmetic expressions using double precision.
- Optional inline or multi-line result display (configurable).
- Client-side only: does not require server installation.
- Configurable warnings and display options.
Usage
Type a calculation in the chat starting with @
Configuration
The mod provides a client-side configuration file (config/calculator-client.toml) with the following options:
| Option | Description | Default |
|---|---|---|
suppressWarning |
Suppress a warning on login about possible rounding errors | false |
resultInline |
Display calculation results in the same line as input | false |
Note:
This calculator uses double precision. Results may contain rounding errors.
License
Calculator Mod: MIT License
Third-party libraries:
- exp4j — Apache License 2.0
(Source code included with license header preserved)
Available Versions
How to Install Calculator on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set forge Loader
In the panel under "Egg", select the forge loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "Calculator". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11, 1.21.10, 1.21.9 (+16 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Calculator server crashes on startup – what to do?
Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.
Is Calculator compatible with forge and neoforge?
Calculator officially supports forge, neoforge for Minecraft 1.21.11, 1.21.10, 1.21.9. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Calculator – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Calculator consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Calculator with just one click on your server.