[CHAT/GEN] uCalc 0.5.1 - A (very) tiny calculator [818]

Discussion in 'Inactive/Unsupported Plugins' started by Sosser, Mar 24, 2011.

  1. Offline

    Sosser

    µCalc
    a (very) tiny calculator

    Version: v0.5.1 (Dropbox) (Source is included in the JAR)
    Yeah, feel free to share or modify this, but credit me

    As no one seems to have made something like this before me (oddly enough), i made this VERY simple calculator. It supports addition, subtraction, division, multiplication, powers and reminders. That's it.
    Commands:
    Examples:
    For additional help at this type /calc help in the chat.

    Features:
    • Addition, subtraction, division, multiplication, power and remainder support.
    • Decimals
    • It's (very) tiny
    Changelog:
    Regards
    Sosser
     
    thehutch, AS1LV3RN1NJA and Noppoly like this.
  2. Offline

    iPhysX

    You beat me to it..
    Nice work buddy :D

    try using double maybe? Instead of int.
    Then you will probably be able to use decimals :D
    I'm just stabbing in the dark..
     
  3. Offline

    Sosser

    Thanks :)
    And BTW: I love your plugins :D
     
  4. Offline

    iPhysX

    :D
    Thanks.
    Are you going to give decimals a try?
    It probably won't make much differance, but, it would be nice to have ya'know!
     
  5. Offline

    Sosser

    Adding decimals is no hard, just making all the ints doubles.
    Maybe i can make it configurable, who knows :p
    And BTW: What category does this fit in?
     
  6. Offline

    Mmm Octopie

    Emm How do i Use this ingame
     
  7. Offline

    iPhysX

    I guess he forgot that one :D i didn't even notice :D
     
  8. Offline

    Sosser

    Oh, well, should we have a contest? Guess the commands :D
    Sorry, I'll add it in the description :p
     
  9. Offline

    10steedgd1

    Could you add powers?
    e.g. /c 2 ^ 2 would give 4 and such.
     
  10. Offline

    Sosser

    Powers? Like 4 ^ 3 = 4*4*4 = 64?
    If so, sure ;)

    UPDATE: 0.2
    Power support added. And all calculations are now done as doubles, which means full decimal support :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  11. Offline

    10steedgd1

  12. Offline

    Sosser

    UPDATE: v0.3
    Read changelog please. And the quick notice at top ;)
     
  13. Offline

    Killie01

    nice work
     
  14. Offline

    halvors

    May you release source code? Maybe at Github?
     
  15. Offline

    Sosser

    Sure, I'll do ;)
     
  16. Offline

    angus22397

    da' best plugin, in my favorites :D
     
  17. Offline

    Sosser

    Wow!
    Thanks :)
    But I'm sure there are many more useful plugins than this, unless your a math freak ;)
     
  18. Offline

    halvors

    Still not released source? Problems with Github? :p
     
  19. Offline

    Sosser

    Bah, working on it...
     
  20. Offline

    CMCPLstone

    Nice to see another DropBox user! :D
    Downloaded, works perfectly!
     
  21. Offline

    Sosser

    I'll add support for latest build ASAP, just got to win a tournament first :p
     
  22. trig functions in the next version maybe?
     
  23. Offline

    Sosser

    Nope, sorry. This is supposed to stick to only basic stuff, unless you find trigonometric functions to be a must have in Minecraft :)
    And BTW: Does the current version work with the latest build? Dunno if it broke, and if it didn't then there is really nothing to fix :p
     
  24. Offline

    halvors

    @Sosser
    Sometimes it looks like outdated plugins work, and suddenly your console is spamming errors. But it's no big deal to update it. Just try build with latest bukkit.jar and see if it compiles.
     
  25. Offline

    Sosser

    I'll do.

    Update: v0.3_1

    * Built against CB 617

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  26. Offline

    Sosser

    Update: v0.4

    * Built against latest Bukkit
    * Source code added in the JAR
    * License added (since I added the source ;))
     
  27. Offline

    badbh222

    Simple, yet effective. Works fine with CB733. Thanks.

    BTW, there's a typo in the plugin.yml file:

    Code:
    name: uClac
    main: me.Sosser.uCalc.uCalc
    version: 3
    commands:
      calc:
        description: Simple and lightweight calculator.
        usage: /calc
    uClac. :p

    Noticed when I did /plugins today, easy fix, but just letting you know. :D
     
  28. Offline

    clap2times

    I see "µCount | a (very) tiny counter plugin" in your signature... what will it be? I assume related to this, right?
     
  29. Offline

    Sosser

    Thanks, I'll be sure to fix that :)

    Not directly.
     
  30. Offline

    Jack14112

    This is amazing thank you so much
     

Share This Page