HomeJavaModsSmart Calculator
Smart Calculator
[​IMG]

S
mart Calc is a simple plugin which allows your players to execute basic arithmetic math operations via commands. As well as allowing them to calculate distances in-game based on two sets of coordinates or their current location and a destination.

Commands:
- /calc (plugin info)
- /calc <num> <operator> <num> (Perform math operation, see below for supported operators)
- /calc <cos/sin/tan/sqrt> <num> (Calculate with cos, sin, tan, and square root)
- /calc <operator> <num> (Perform the specified math operation based on the last calculation)
- /calc distance <coordinates> to <coordinates> (Calculates the distance between two points, see exampels below)


Default Config:
Spoiler: Default Config
Code (YAML):
#------------------#
#    Smart Calc    #
#                  #
#    By  Benz56    #
#   Version  1.3   #
#------------------#

Permission node
smartcalc.allow -> permission to use SmartCalc

No permission message
noPermission
: '&cYou do not have permission to do this!'

Incorrect expression entered
unknownExpression
: '&cUnknown expression!'

No calculation to add to.
noMapValue
: '&cCould not retrieve previous calculation!'

Plugin Prefix
:
I suggest adding two spaces at the end for a small indentation.
Leace BLANK to disable.
pluginPrefix
: '&7 [&eSmart Calc&7 ]  '

Max/Min value a calculation can be
:
Larger number will replace with 'A Lot!'.
Large negative numbers will replace with 'Very Little'.
maxMinValue
: 1000000


Supported operations:

Distance Calculator:
Spoiler: Distance Calculator
The distance calculator can be used with 2 or 3 coordinates:
- /calc distance x y z to x y z
- /calc distance x z to x z

The first set of coordinates can also be replaced with the player's current location e.g:
- /calc distance location to x y z
- /calc distance location to x z


Permission:
- smartcalc.allow (Full access to SmartCalc)

Installation:
1. Put SmartCalc.jar inside you plugins folder.
2. Start or reload your server.


Please leave a rating and a comment below! :)
Found a bug? Please let me know in the discussion section

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Smart Calculator is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 1,095 times (via Spigot). Download it and open it directly in the game.

Explore more