Filled Buying Permissions

Discussion in 'Plugin Requests' started by quack123456, Feb 9, 2015.

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

    quack123456

    Simple a Plugin where you can buy permissions with essentials. eco. You should be able to set the price and prefix with color codes. And it should be compatible with chest commands unless you make this a GUI.
     
  2. Offline

    mrCookieSlime

    @quack123456
    ChestCommands or CommandOverride could do this.
    You could even combine both.

    CommandOverride method:

    /buypermission
    - 'console:/pex user <player> add permission.xyz'

    money-cost:
    /buypermission: 10.0

    ChestCommands + CommandOverride method:

    permission:
    ID: GOLD NUGGET
    POSITION-X: 2
    POSITION-Y: 2
    NAME: '&6Buy Permission'
    PRICE: 10.0
    COMMAND: 'buypermission'

    ChestCommands method:

    permission:
    ID: GOLD NUGGET
    POSITION-X: 2
    POSITION-Y: 2
    NAME: '&6Buy Permission'
    PRICE: 10.0
    COMMAND: 'console: pex user {player} add permission.xyz'
     
  3. Offline

    quack123456

    @mrCookieSlime oh okay i was just really trying to make it so they can buy a permisson with chest commands but i didnt know you can use variable in chest commands
     
  4. Offline

    mrCookieSlime

    @quack123456
    You can.
    http://dev.bukkit.org/bukkit-plugins/chest-commands/pages/tutorial/click-actions/
    There are several Variabes which are supported.
    You can assign permissions using this just fine if you want it GUI based.
    And if you really feel like doing that, you could even make it change the status of the item by playing around with VIEW-PERMISSION but that is a bit advanced.

    (And yes, for all of you who are wondering why I know this: I finally looked into ChestCommands :p )
     
  5. Offline

    quack123456

    @mrCookieSlime this didnt work :( it doesnt take the money from the people.


    economy-give:
    COMMAND: 'manuaddp {player} trail.portal'
    NAME: '&5&lPortal&c&lTrail'
    LORE:
    - '&a&l500 Gems &b&lfor the PortalTrail!'
    ID: paper
    PRICE: 500
    POSITION-X: 7
    POSITION-Y: 1
     
  6. Offline

    mrCookieSlime

    @quack123456
    Entire .yml file via pastebin please and what exactly is the output?
     
  7. Offline

    quack123456

  8. Offline

    mrCookieSlime

    @quack123456
    ... What is your output, not what you are trying to achieve. What happens when you do /gemshop?
     
  9. Offline

    quack123456

    @mrCookieSlime oh xD um once i click it. it add the permission to me but it doesnt take the money away i can show you if you want to get on it.
     
  10. Offline

    mrCookieSlime

    @quack123456
    Do you maybe have this permission?
    chestcommands.economy.bypass
    It makes you no longer be affected by costs.
     
  11. Offline

    quack123456

    oh it works now sorry for the confusion i had * perms and i was oped and i was in owner group
     
  12. Offline

    mrCookieSlime

    @quack123456
    Make sure to tag me otherwise I might not see your post.
    Also mark this Thread as Filled then.
     
Thread Status:
Not open for further replies.

Share This Page