Inactive [ECON/ADMN] CommandPay v0.4.1 - Pay for your Commands [1000]

Discussion in 'Inactive/Unsupported Plugins' started by Dirnei, Jul 14, 2011.

  1. Offline

    Dirnei

    CommandPay V0.4.1

    CommandPay V0.4.1 is a very simple Plugin to pay for the Commands you use In-Game.
    It's fully configurable and very simple to use.

    Install:
    1. Put the CommandPay.jar and the CommandPay Folder in your Plugin directory
    2. Configurate the config.yml
    3. Reload your Server

    REQUIRED PLUGINS:
    • iConomy
    Download



    GitHub

    The config.yml
    Show Spoiler

    The config.yml
    Code:
    enabled: true
    message:
        pay: true
        free: false
        notenough: true
    messages:
        pay: You have paid %money for this command.
        free: This command was for free.
        notenough: You don't have enough money to do that.
    commands:
        list:
            - '/ma (join) | 300'
            - '/warp (mine, mall, spawn) | 1'
            - '/tp (player2 player1, player2 player1) | 1'
            - '/spawn (*) | 1'   [you have to use the whitespace if there is no argument]
    
    '
    enable: enable / disable the plugin
    message: enable /disable the messages
    pay: true
    free: false
    notenough: true
    messages:
    pay: Message if you paid for a command
    free: message if the command was for free
    notenough: message if you don't have enough money
    commands:
    list:
    - '/command (argument, argument) | price' or
    -'/command (*) | price' for all argmunents


    Permission Node:
    • commandpay.free (for free acces to all commands)
    TODO
    • get it multiworld compatible
    • better messages
    • add variable price for command like "/warp mine" costs 50 and "/warp mall" costs 100
    • perhaps i add a custom comment for each command please post what you think. if many people like this idea i will add it.
    CHANGELOG:
    v 0.4.1
    • Updated Config.yml to disable the free message
    v 0.4
    • Whitespace added
    • New config syntax
    v 0.3.2
    • ChatColor added
    • Text that you know it was for free added
    Older Versions:

    Show Spoiler

    • v 0.3.1
      • German sentence removed.
    • v 0.3
      • Permission added
    • v 0.2
      • Performance increased
    • v 0.1
      • First Version


    [​IMG]
     
    Charant and kahlilnc like this.
  2. Offline

    cky2250

    another idea.
    When it says you dont have enough money. say how much money they need and how much they have.
     
  3. Offline

    Dirnei

    good idea. i will add it
     
  4. Offline

    ollyjohnston

    i cant add commands ?
    is there a video ?
    or some easy instructions ?
     
  5. Offline

    Cactus_Master

    Would it be possible to make this work with BOSeconomy...?
     
  6. Offline

    Live or Die

    hey i dont understand why i get those errors

    my config:
    Code:
    enabled: true
    message:
        pay: true
        free: false
        notenough: true
    messages:
        pay: You have paid %money for this command.
        free: This command was for free.
        notenough: You don't have enough money to do that.
    commands:
        list:
            - '/home | 150'
            - '/sethome | 600'
    the error:
    Code:
    2011-08-07 11:52:02 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to CommandPay
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(Unknown Source)
        at me.dirnei.commandpay.CommandPayPlayerListener.onPlayerCommandPreprocess(CommandPayPlayerListener.java:61)
        at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:272)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:706)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    help please.
     
  7. Offline

    rbs

    Another idea: I would find it nice if the users get an warning message when they try to use an command.
    Like this:
    The command /tp will cost you 100 Money. Accept? [y(es) / n(o) / e(very time)]
    Then the user will have to run an command with his answer...

    I hope that this is understandable.
     
  8. Offline

    elitefroggy

    can you add a feature where you pay once to use a command infinite times???
     
  9. Offline

    strontkever

    i have set /warp to commandpay, but players also have to pay only typing /
     
  10. Offline

    keyname

    Awesome plugin that can balance my servers economy, and keep my players interested! thanks!

    Is there any way to make my players pay for using the worldedit wand?

    We use it to use the /jumpto command without having to write the command. I have made them pay for the command, but the wand is still free.

    The permisssionnodes for the commands are
    - worldedit.navigation.jumpto
    - worldedit.wand
     
  11. Offline

    cr0sis

    Update inc?
     
  12. Offline

    mario00037

    Could not pass event PLAYER_COMMAND_PREPROCESS to CommandPay.

    WFT does that mean?
     
  13. Offline

    krockobil

    updatepls :)
     
  14. Offline

    Zeno

    Like marrio00037

    Could not pass event PLAYER_COMMAND_PREPROCESS to CommandPay
    java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler

    Is it safe to assume this project is inactive/dead?
     
  15. Offline

    cky2250

    i only get this on multiworld now. every other plugin i have works with it. even all the once up to date with mincraft 1.8.1
     
  16. Offline

    FranzMeister

    Aww man, this is sad...I liked this plugin very much. I used it to keep my players under control. Because they overused some commands like /home, /back, or even /tpa...

    So it would be nice if you could update the Plugin to the latest version of "Register" so every ECON system can use it :D
     
  17. Offline

    dakoslug

    Can you add EssentialsEconomy support? Or is it already supported?
     
  18. Offline

    predawnia

    Does this work with iConomy 6 ?
     
  19. Offline

    secondstomarz

    Please update this plugin to 1337!
     
  20. Offline

    awesomebilly

    Move to inactive:

    This plugin is outdated. Crashes [Severe]


    I've posted to him in github.com


    k, Thanks.
     
  21. Offline

    Slugslug

    slight prob when running on Linux (not sure about windows) the commands are case sensitive

    so if I have /tp in config costing 100 users can /TP for free and quite poss /Tp or /tP
     
  22. Offline

    Royalgamer06

    Windows 7 64 bit
    64 bit java recent build (1.7)
    CB 1575 (MC v1.0.0) = the latest build.

    I love this pugin! This is exactly what i was looking for! But :'( ...
    This doesn't work with my Build
    Please make this work with this build!
    I love your plugin,
    I dont use any permissions.
    I use Economy 6
    Thank you!
    Greetz Roy

    Server log (when I typ a set command):
     
  23. Offline

    Dirnei

    after a long break i'm back in business ;)
    i hopen you all are already interessted, because i don't need this plugin anymore but i will update it for you.
     
  24. Offline

    DJ1142

    thanks
     
  25. Offline

    Dirnei

    there is a smal problem with permission.
    i think you all know that this plugin is inactiv, so i ask you wich plugin i shoud support?
     
  26. Offline

    hybridvirus

    Is it possible to get "/cp newwaypoint <name>" from Compassionate to work with CommandPay? I don't know if I'm just messing it up, or if it's something else.
     
  27. Offline

    Vince

    Will there be a 1.1 update?
     
  28. Offline

    QBcrusher

    is there a way you can add in the charging of gold ingots?
     
  29. Offline

    JGrivera1210

    Please Update This plugin to 1.2.5
     
  30. awesome! been looking for something like this :D thx alot!
    please keep working on it, this seems like it has alot of potential
     
  31. Offline

    jacklin213

    is this inactive ?? Cause >> HERE<< he has the register events as the old api version.
    Wondering if there is a update to the plugin??
     

Share This Page