[INACTIVE][ECON] 3co 2.0 - A simple economy plugin w/ API [860]

Discussion in 'Inactive/Unsupported Plugins' started by IC3D, Jun 21, 2011.

  1. Offline

    IC3D

    3co: A simple economy plugin
    Version: 2.0
    This is a super simple plugin. It is an easy server economy that uses Bukkit's default persistence layer, so you don't need to worry about MySQL or SQL.

    Features:
    • Easy to use economy
    • Permissions
    • Easy to use API for economic plugins, more info here
    Configuration:
    config (open)

    A file called config.yml will be created at /plugins/3co/. All it contains is the server currency name. It looks like this:
    Code:
    Currency:
        Singluar: Dollar
        Plural: Dollars
    Change the names if you want to.

    Commands + Permissions:
    cmds+perms (open)

    If you do not use permissions the commands with nodes default to OP status
    /command - Permissions Node - Use
    /eco give <player> <amount> - 3co.give - Give the specified player the specified amount of money
    /eco take <player> <amount> - 3co.take - Takes the specified amount of money from the specified player
    /eco set <player> <amount> - 3co.set - Sets the specified player's balance to the specified amount
    /eco show <player> - Shows the player's balance
    /eco pay <player> <amount> - 3co.pay - Pays the player that amount of money

    Downloads
    The source code is included in the .jar

    IC3D Supported 3co Plugins:
    Changelog:
    Version 2.0
    • Updated API
      • Duplicated methods but with String instead of Player (offline players)
      • I know that should have been done in 1.0, but I was too focused on simplicity...
    Version 1.2
    • Updated API by adding transferMoney(Player from, Player, to, Integer amount)
    • Added /pay
    Version 1.1
    • Updated API by adding createAccount(Player player, Integer startAmount)
    Version 1.0
    • Official Release
    Credits:
     
  2. Offline

    Daviidi

    Wrong upload? The file I got is 3co shop :/
     
  3. Offline

    Lolmewn

    Last edited by a moderator: May 16, 2016
  4. Offline

    IC3D

    Sorry, fixed

    If you do not use permissions the commands with nodes default to OP status
    /command - Permissions Node - Use
    /eco give <player> <amount> - 3co.give - Give the specified player the specified amount of money
    /eco take <player> <amount> - 3co.take - Takes the specified amount of money from the specified player
    /eco set <player> <amount> - 3co.set - Sets the specified player's balance to the specified amount
    /eco show <player> - Shows the player's balance


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

    Daviidi

    You'll want to change "Singluar" to "Singular" in both the post and plugin. Other than that, nice work.
     
  6. Offline

    captainawesome7

    Lol copy + paste a spelling mistake fail :/

    Actually, in the plugin it is singular

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

    aPunch

    What are the benefits of supporting this plugin over established and widely-used economy plugins?
     
  8. Offline

    captainawesome7

    There really isn't, besides the fact that in general, this plugin is much more user friendly/simpler than iConomy
     
  9. Offline

    aPunch

    Could you explain this a bit more in depth? Is it user-friendly for devs? For Bukkit users?
     
  10. Offline

    captainawesome7

    Well iConomy has a huge yml file to configure. Everybody knows that many people are pretty freaking stupid when it comes to yml. As far as devs go, using it is almost identical to using iConomy.
     
  11. Offline

    Nijikokun

    Not anymore with iConomy 6 it's simple :D
    Also, iConomy 6 supports basically any database and by default uses FlatFile.

    Either way, hope it goes well, I haven't looked at it so I don't know what it offers or does.
     
  12. Offline

    Daviidi

     
  13. Offline

    aPunch

    Well, so far your "user-friendliness" has consisted of calling people freaking stupid with yml and having some lazy API documentation. "learn more Java and come back another time" doesn't say that this is user-friendly to me, so I (along with many other developers) will not be supporting it unless Register supports it in the future.
     
  14. Offline

    captainawesome7

    Lol ok

    lol re download

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

    Daviidi

    I tried, and got a github 404.
     
  16. Offline

    ChrizC

    Any possibility of you releasing some Register API classes for this?

    Chris
     
  17. Offline

    DreadKyller

    yes, you mention the api, but you never explain about it.
     
  18. Offline

    captainawesome7

    What do you mean explain it? I thought it was pretty self-explanatory..
    For example:
    eco.giveMoney(player, 100);
    would give the player 100 of the server currency. Its pretty straight forward.
     
  19. Offline

    DreadKyller

    but until this exact point you never even said that... so that's what I'm getting at, it might be straight forward, but you need to at least tell what the API consists of...
     
  20. Offline

    shadrxninga

    The Category needs to be changed to ECON.
    It's not ECO :)
     
  21. Offline

    4am

    I agree, support for Register makes this a drop-in solution that works with all economy plugins which support Register. No one will need to learn your API, they just code against Register and if this happens to be the back-end a server admin chooses, it just works with everything.
     
  22. Offline

    aPunch

    As far as I know, the economy plugin developers are not responsible for providing support for Register. @Nijikokun has to add support for the economy plugin himself.
     
  23. Offline

    captainawesome7

    Ahh i thought it looked weird

    I don't really know anything about register so I tried to keep my statement as ambiguous as possible lol.

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

    IC3D

    Updated GitHub wiki here. Still don't know how to make it easier to understand, but I think it is alright for now. If anybody has any trouble understanding this, use the source that is included in 3coShop (its all nice and commented).
    Also, new api method introduced in a hidden update, createAccount(Player, Integer). I realized I forgot to add that, so I took care of it (it creates an account for the player with a specified starting value)
     
  25. Offline

    DreadKyller

    ok, thanks for that link, the api does seem extremely easier then iConemy's, but iConemy has more features, but this has almost everything needed for most plugins.
     
  26. Offline

    Lolmewn

    You mean iConomy right?
     
  27. Offline

    DreadKyller

    wow, I keep spelling it wrong...
     
  28. Offline

    WhosDaMan

    I just broke the pattern of this thread. It used to be only devs that were posting on it - but not anymore!!!
     
  29. Offline

    Tauryuu

    Is this more of a "Code it yourself" plugin or is it ready out-of-the-box?
     
  30. Offline

    captainawesome7

    What do you mean? It's an economy plugin, like iConomy. There are other plugins that link into it that do things, but the basic plugin and API handles simple economy related actions.
     

Share This Page