[INACTIVE][ECON] Command iConomy v6 - Make any plugin an iConomy plugin [766]

Discussion in 'Inactive/Unsupported Plugins' started by deltahat, Mar 20, 2011.

Thread Status:
Not open for further replies.
  1. Offline


    Command iConomy - Charge for each command
    Version v7

    Command iConomy is a plugin that allows a server admin to assign a cost to server commands that is deducted from a player's iConomy account whenever a player uses that command. Commands are matched using java regular expressions. If text entered by a player matches a configured rule, Command iConomy will attempt to bill the player. Command iConomy requires iConomy 4.5+ to be installed.

    Examples include charging for each summoned magic carpet, or adding a fee for different kits.

    To set the price of a command, add a line to prices.yml. Command iConomy matches regular expressions against user input. Regular expressions allow you to charge separately for individual sub-commands or even specific command arguments.

    A typical configuration line looks like this: ^/tp: 10
    A configuration line matching sub-commands might look like this: ^/time (day|night): 20

    Command expressions are matched in order from top to bottom. If a match is found, Command iConomy stops looking for a match and charges the player the configured amount. If the command is configured with a cost of zero, processing will stop but the player will not be charged. Together these features allow open ended commands to be individually charged. Ex:

    ^/warp help$: 0
    ^/warp \S+$: 10

    Really Quick Regular Expression Info
    ^ = Start of command
    $ = End of command
    \S+ = One or more non-whitespace characters

    For best results, please study and learn regular expressions!

    For more info on regular expressions, see: http://www.regular-expressions.info/reference.html

    Command Cooldowns
    You can now configure a number of seconds before charging a player again for a command. To do so, add a space and then the number of seconds to wait after the command's cost. Ex:

    ^/warp \S+$: 10 30

    • CommandIConomy.Free - Grants free access to all commands.
    Three additional settings can be made in the config.yml file to localize Command iConomy's text. You will have to create config.yml. They are:
    • NoAccountMessage
    • InsuficientFundsMessage
    • AccountDeductedMessage
      • Substitute {cost} for cost
    Direct - https://github.com/rmichela/Command-iConomy/downloads
    Source - https://github.com/rmichela/Command-iConomy

    Release Notes (open)

    Version 1
    • Initial Release
    Version 2
    • Added free permission
    • Only match first expression
    • Match but don't display zero cost commands
    Version 3
    • Increased priority of CommandPreProcess hook to improve compatibility
    Version 3.1
    • Bukkit 602 compatibility
    Version 5
    • iConomy 4.6.5 suport
    • Added optional logging to the console
    • Added optional matching of chat events
    • Added command cost to insufficient funds message
    • Verified CB612 and MC1.4 support
    Version 6
    • Added command cooldowns
    • Added fee collection account
    Version 7
    • iConomy 5 support
    Linki, Senzuri and itsatacoshop247 like this.
  2. Offline


    Thank you so much for this plugin! It's amazing!
    I was wondering, for commands such as /mc
    If I pay 10 for it, and only want it to last 1 minute, is that possible?
    so after a minute it executes the command /mc for the player, so the magic carpet goes away?
  3. Offline


    How am I suppose to edit the folder file with Linux since it has a space in it? Does Linux have a special command that will let you open files with spaces?
  4. Offline


    start typing the folder name and then press tab. Bash uses \ to escape spaces in file names.
  5. Offline


    hey, does this work with 714?
  6. Offline


    isn't working at all for me.

    ^/sethome $: 30
    ^/home $: 5

    is that right? no money is being deducted for these commands
  7. Offline


    Have followed directions to a T and nothing happens when I use commands ingame, no charge. Tested with examples as well, no dice, is this needing an update for 1.5_02?
  8. Offline


    Eagerly awaiting v7. Being able to set prices per group for a command is the only keeping us from using this on our server.
  9. Offline


    possible to set a percentage price? if not, suggesting this addition.
    Fluff likes this.
  10. Offline


    Does this support decimal values? Can I use 0.04 to charge 4 silver, rather than 4 to charge 4 gold?


    Niji just released the preview build of iConomy version 5 - here's the API link and preview download:http://iconomy.nexua.org/IConomy/Preview

    He's releasing 'officially' in 24 hours.

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


    Thanks. I'll be out of town this weekend. Do you know if there are any breaking changes?
  12. Offline


    Yep. A few core elements have been changed. Apparently the conversion only takes about 20 minutes of coding, though.
  13. Offline


    I'm getting this error.

    19:24:36 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to Command iCon
            at com.ryanmichela.cmdiconomy.CIListener.chargePlayerForCommand(CIListen
            at com.ryanmichela.cmdiconomy.CIListener.onPlayerCommandPreprocess(CILis
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.ja
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:640)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
  14. Offline

    The PC Tech Guy

    Can't wait for this to be updated to iConomy v5. I like this plugin and I recommended some of your other plugins to some people I know who have a different server type.
    hofec likes this.
  15. Offline


    Same here !
  16. Offline


    Is this working fine with Iconomy 5?
  17. Offline


    It will be shortly.
    The PC Tech Guy likes this.
  18. Offline


    considered inactive
  19. Offline


  20. Offline


    wow seriously? learn to read posts
  21. Offline

    The PC Tech Guy

    Well, he was a member since Monday, but you'd think they would have some common sense...
  22. Offline


    Inactive ? :( srsly.. best iCo extension [diamond]
  23. Offline

    The PC Tech Guy

    It's because the OP isn't updated, and it's not ready with iConomy 5 yet.
  24. Offline


    err, i know :)
  25. Offline


    deltahat, can we get a confirmation that you'll continue the maintenance of this plugin?
  26. Offline


    Ehm... why?

    The dev himself has placed a comment it will be updated for iConomy 5 soon (they day before you considered it inactive).
    It still works, I didn't update to iConomy 5 yet because of this plugin...
    People might be confused if they suddenly cant find it anymore.

    @deltahat You might want to release that update soon, thank you!
  27. Offline


    Command iConomy 7 Released

    Only adds iConomy 5 support. No new features. Thanks to Likaos for the fork.

    Sorry for the delay - Life happens.
  28. Offline


    Thanks for the iConomy5 Update :)
  29. Offline


    U just made my day ! One [diamond] for you ! :cool:
  30. Offline


    Thanks for that nice plugin.

    Finally no more console spam :rolleyes:
  31. Offline


    I can't seem to get this plugin working, this is my config
    # ^/tp$: 10
    # ^/warp \S+$: 10
    # ^/heal$: 10
Thread Status:
Not open for further replies.

Share This Page