A pay all command

Discussion in 'Archived: Plugin Requests' started by bwfcwalshy, Jun 7, 2014.

  1. Plugin category: Economy

    Suggested name: Payall

    What I want: I want there to be a command to pay everyone on the server with a single command.
    I use the essentials economy i have vault.

    Ideas for commands: /pay * (amount) or /payall (amount)

    Ideas for permissions: payall.payall

    When I'd like it by: Whenever
     
  2. Offline

    Onlineids

    [quote uid=90927090 name="bwfcwalshy" post=2555137]Plugin category: Economy

    Suggested name: Payall

    What I want: I want there to be a command to pay everyone on the server with a single command.
    I use the essentials economy i have vault.

    Ideas for commands: /pay * (amount) or /payall (amount)

    Ideas for permissions: payall.payall

    When I'd like it by: Whenever[/quote]

    <Edit by Moderator: Redacted mediafire url>
    Requires vault same perm /payall
     
    Last edited by a moderator: Nov 2, 2016
  3. Onlineids wow thanks!

    Onlineids this is good for paydays i found a bug which means we had to take the permission away!

    It doesn't take out of the persons account the money it just adds it to yours and everyone elses

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 2, 2016
    Onlineids likes this.
  4. Offline

    edwardb121

    bwfcwalshy I looked at the code and it's not a bug, it hasn't been implemented into the plugin, all it does is just pay all the players the amount specified.

    bwfcwalshy If you like I could make you one that fixes this?

    bwfcwalshy
    Done! You can download it at CLICK HERE FOR PLUGIN. Let me know if you have any problems with it, it shouldn't need updating for a while but if it does contact me on dev.bukkit

    [edit by JaguarJo: merged posts.]
     
  5. edwardb121 can you help me with a bit of code? Please!
     
  6. Offline

    Necrodoom

    I recall this syntax already existing in essentials with essentials.pay.multiple permission.
     
    TheWolfBadger likes this.
  7. Offline

    edwardb121

    bwfcwalshy Sure, what is it you need help with?
     
  8. Online

    timtower Administrator Administrator Moderator

    My guess: Kickstarter plugin
     
  9. timtower you are correct, and it would help me with another plugin
     
  10. Offline

    _KoGuT_

    I'm pretty sure with (i think vault and essentials) you can do /pay ** (amount) then it will pay everyone on the server that amount
     
  11. Offline

    davewolax

    It Works!
    but what if we want to take money from everyone on the server like take $1 from everyone?
     
  12. Offline

    Onlineids

    I think eco remove **
     
  13. Offline

    jg31212

    you can easy do (/eco pay * {ammount}) this comes with essentials
     
  14. Offline

    _KoGuT_

    im not sure for taking money but I'm guessing /eco take (money) **
     
  15. Offline

    davewolax

    _KoGuT_ The command to take money from everyone on the server is /eco take ** <$ammount>
    but DONT DO IT!
    I just wanted to test and see how it takes $1 from everyone and boom! server crashed!
    there are over 3000 user data in my essentials and it couldn't handle it, server was taking money from each player from the existence of the server one by one. and I had to restart the server. :'(
     
  16. Offline

    _KoGuT_

    i didn't try it out :p so lol
     

Share This Page