/SimpleCalc

A simple command based calculator in MC. Inspired by uCalc

Primary LanguageJava

Current version: 2.3

The source is published under GNU GPL: http://www.gnu.org/licenses/ For more see License section below!

Changelog:

Version 0.1 to 0.9 are merely a list of my development progression:

  • v 0.1:
    • Initial start of coding the plugin
  • v 0.2:
    • Added all math functions i thought would be nice to have
  • v 0.3:
    • Added RegEx functions for normal 2 arguments calculation (this means we do have a working 2 values calculator \o/)
  • v 0.4:
    • Started working on a parser to make complex calculations possible
  • v 0.5:
    • Removed original RegEx functions
    • Created logic for the parser
  • v 0.6:
    • Created logic to compute the given equation
  • v 0.7:
    • Created my own Exception class to pass through parser errors
  • v 0.8 and 0.9:
    • Several bug fixes and corrections

  • v 1.0:
    • Initial release
  • v 2.0
    • BUGFIX: Commas threw an error instead of beeing accepted
    • FEATURE: Spout support. You can now use /calc to open a Calculator Window
    • Update to CB #1185
  • v 2.1:
    • Change in namespace
    • Made the error messages a bit more specific.
  • v 2.2:
    • Updated to new EventSystem
    • Added ANS function.
    • Rearranged CalcWindow
  • v 2.3:
    • Added variables: You can now set variables with /calc set . A variable is any letter except small e. Like: a,B,Z,O and g
    • Added more functions like: sin, cos, sqrt, ln....
    • Added SpawnX(), SpawnY(), SpawnZ() and LocX(), LocY(), LocZ() to get the locations of the spawn from your current world and your current location. This does only work when used ingame from a player!
    • Added "Sience" window to the gui to use the new functions.

Lincense:

Copyright © 2011-2012 Philippe Leipold

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/