[ECON] 3coPay 1.2 - A configurable timer that pays your players [953]

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

  1. Offline

    IC3D

    3coPay: Pay your players with a set interval and amount
    Version: 1.2
    This is a super simple plugin. It supports 3co and permissions. It allows players to be paid a specified amount of money at a specified interval.
    Requirements:
    • 3co 1.0 or later (can be found here) or iConomy 5.0 or later (can be found here)
    Features:
    • Pay your players
    • Permissions support
    • 3co support
    • iConomy support
    Configuration:
    3co config (open)

    The config modifies the 3co config. It is located at /plugins/3co/config.yml. The interval is the time in minutes that your players are to be paid (they have to be online), and the amount is how much they will be paid. The node is the permissions node required to be paid. It is the raw node, so Node: payday would require the player to have the - payday node. It will add this to the 3co config:
    Code:
    Payment:
        Amount: 1
        Interval: 5
        Node: payday
    

    iConomy config (open)

    The config modifies the iConomy config. It is located at /plugins/iConomy/Config.yml. The interval is the time in minutes that your players are to be paid (they have to be online), and the amount is how much they will be paid. The node is the permissions node required to be paid. It is the raw node, so Node: payday would require the player to have the - payday node.
    It will make the iConomy config look like this (with default values for regular iConomy stuff):
    Code:
    System:
        Default:
            Currency:
                Major:
                - Dollar
                - Dollars
                Minor:
                - Coin
                - Coins
            Account:
                Holdings: 30.0
            Bank:
                Name: iConomy
                Currency:
                    Major:
                    - Dollar
                    - Dollars
                    Minor:
                    - Coin
                    - Coins
                Account:
                    Fee: 20.0
                    Holdings: 30.0
        Formatting:
            Minor: false
            Seperate: false
        Logging:
            Enabled: false
        Banking:
            Enabled: false
            Accounts:
                Multiple: true
        Interest:
            Enabled: false
            Online: true
            Announce:
                Enabled: false
            Interval:
                Seconds: 60
            Amount:
                Cutoff: 0.0
                true: Players
                Percent: 0.0
                Maximum: 1
                Minimum: 2
        Database:
            Type: H2SQL
            Settings:
                Name: minecraft
                Table: iConomy
                MySQL:
                    Username: root
                    Password: pass
                    Hostname: localhost
                    Port: 3306
    3coPay:
        Amount: 1000
        Interval: 1
        Node: payday

    Downloads
    The source code is included in the .jar

    Changelog:
    Version 1.2
    • Added iConomy support (due to requests). The config when using iConomy adds values to the iConomy Config.yml.
    • Added custom permission node to be paid (the old one was 3coPay.payday)
    • Do NOT use both 3co and iConomy (it will use iConomy config values and pay you on both systems if you do)
    Version 1.1
    1. Changed config to just add values to 3co's config.yml
    Version 1.0
    • Official Release
    Credits:
     
  2. Offline

    Dr0iDzz

    Testing now

    Wont load Config

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

    captainawesome7

    The config is actually added values to the 3co config.yml. It doesn't have its own config file.
     
  4. Offline

    Dr0iDzz

    oh k now i get it thanks.
     
  5. Offline

    Mike120

    Any chance of getting it to work with iConomy?
     
  6. Offline

    captainawesome7

    I'm pretty sure this feature is already included in iConomy. At least it used to be..(i think)
     
  7. Offline

    Mike120

    Just had a quick scan through iConomys config and it doesn't seem to be there. There's an 'interest' thing for banks but I really like this idea.
     
  8. Offline

    captainawesome7

    Hmm, I'll look into it.
     
  9. Offline

    m5k

    Been waiting for this on iconomy for 3 months now.
     
  10. Offline

    IC3D

    Added iConomy support in v1.2
    Read OP for more info

    @Nijikokun Is it alright that I modified the iConomy config? As far as I can tell the only problem was that it deleted all of the comments that you put in, but other than that do you think that this will affect iConomy in a negative way?

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

    Mike120

    Thank you very much for that :)
     
  12. Offline

    Mike120

    Feature request: How about checking to see if the person is active? So say every hour you get $5 but you have to have moved a user defined amount of times before you get paid. So like, move once every 10 minutes in order to get paid. This would prevent people just leaving their account logged in all day to gain some money.
     
  13. Offline

    Mike120

    Any chance of this happening?
     
  14. Offline

    captainawesome7

    Probably not
     
  15. Offline

    m5k

    I'd like to be able to give different amounts to different groups. Could this be done?
     
  16. Offline

    captainawesome7

    Sure
     
  17. Offline

    m5k

    Awesome, captain awesome. Can't wait.
     
  18. Offline

    Kowaman

    captain what is the premmision node i need to use?
     
  19. Offline

    captainawesome7

    You set your own nodes in the config.
     
  20. Offline

    Kowaman

    i put the stuff in my iconomy comfig file but it dosent work?
     
  21. Offline

    captainawesome7

    Not my fault
     
  22. Any chance of this being updated?
     
  23. Offline

    captainawesome7

    It works...
     
  24. Oh, a few mins ago it said 860 and I was like 'What?'
     
  25. Offline

    captainawesome7

    Yeah I'm a little lazy so I update the titles when I have to. I don't feel like going through 40+ plugins just to change a title.
     
  26. Understood.
    You must be a very busy person.
     
  27. Offline

    1hacker

    Overwriting iConomy config sucks, why not give this plugin it's own config file?
     
  28. Offline

    captainawesome7

    It doesn't overwrite it..
     
  29. Offline

    1hacker

    ^^^This post suggests it does. Why not give this plugin its own config.yml?
     
  30. Offline

    captainawesome7

    It doesn't. It modifies it, not overwrites it. It adds a new section to the config, and because it's Bukkit's standard configuration it removes the comments added, but you should already have it set up to the point that you don't need comments anymore.
     

Share This Page