Payment Toggle

Discussion in 'Archived: Plugin Requests' started by Ch1ck3nMC, Apr 16, 2014.

  1. Offline

    Ch1ck3nMC

    Plugin category: Admin

    Suggested name: Payment Toggle

    What I want: I want a plugin that toggles paying.

    Ideas for commands: /pay on and /pay off.

    Ideas for permissions: pay.toggle.

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

    AdmiralMoose

    Ch1ck3nMC

    A little bit more detail would be much appreciated
     
  3. Online

    timtower Administrator Administrator Moderator

    Ch1ck3nMC And toggle paying in what way?
     
  4. Offline

    Ch1ck3nMC

    It's allows the player to do /pay on or off that would enable/disable the receiving of money using EssentialsEconomy.
     
  5. Offline

    Ch1ck3nMC

  6. Online

    timtower Administrator Administrator Moderator

    Doubt it that we can even block that
     
  7. Offline

    Onlineids

    [quote uid=87695 name="timtower" post=2428966]Doubt it that we can even block that[/quote]

    PlayerCommandPreprocessEvent, ill try this.

    [quote uid=90928839 name="Ch1ck3nMC" post=2418343]Plugin category: Admin

    Suggested name: Payment Toggle

    What I want: I want a plugin that toggles paying.

    Ideas for commands: /pay on and /pay off.

    Ideas for permissions: pay.toggle.

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

    Didnt read the original post before making xD so perms and commands are different but other than that works perfectly here it is: <Edit by Moderator: Redacted mediafire url>

    commands:
    togglepay:
    description: Turn on/off the ability to recieve money!
    usage:
    permissions:
    togglepay.use:
    description: Perm for PaymentToggle
    default: op

    [quote uid=90928839 name="Ch1ck3nMC" post=2418343]Plugin category: Admin

    Suggested name: Payment Toggle

    What I want: I want a plugin that toggles paying.

    Ideas for commands: /pay on and /pay off.

    Ideas for permissions: pay.toggle.

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

    Heres teh code in case someone wants to see it
    http://hastebin.com/fuvivetayu.avrasm

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

    Ch1ck3nMC

    Thanks so much for the plugin it works good.
     
    Onlineids likes this.

Share This Page