Give Permission?

Discussion in 'Plugin Development' started by NewMasterBR, May 7, 2014.

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

    NewMasterBR

    Good people, I wanted to make a shop kits for pvp server, but I do not the method that I use ... I hear you need vault, but my friend said it made ​​a shop kits without VAULT API, querisa whether it is true and if you could tell me how to do it. Thank you.
     
  2. Offline

    xTigerRebornx

    NewMasterBR If you want the shop to support many of the economies that are out there publicly (Essentials, iConomy, etc), then you'll want Vault support, otherwise you'd need to add your own hooks for everything. If you want the shop just to run off of your own currency (assuming you already have it made), then you can do direct hooks into your currency plugin.
    Vault is just for ease and support of a large chunk of currency plugins. You don't need Vault, but if you don't use Vault, you'll have to hook into and properly support every currency plugin that the shop will be using.
     
  3. Offline

    NewMasterBR

    xTigerRebornx Well, the only coin shop I've ever done, give it to the player blocks, swords, etc. .. But how could I do it to give permission to the player when he buy something in the shop?
     
  4. Offline

    xTigerRebornx

    NewMasterBR Depends, you'll either need a permission's plugin on the server (Hook into it individually or use Vault), or you need to create your own permissions plugin (harder of the choices), then use the methods provided by the permission plugin to give the Player permissions
     
  5. Offline

    NewMasterBR

    xTigerRebornx I use PermissionEx, could give an example to give you permission?
     
  6. Offline

    xTigerRebornx

    NewMasterBR Look through the documentation of PEX, its fairly simple. Making sure that you have verified that PEX is installed and loaded before your plugin (soft-depend) and then get the permission manager (the link provided tells you how to do that)
     
  7. Offline

    NewMasterBR

    Ok, I'll try to do it, thanks, but I'll still leave the topic open in case someone wanted to help.
     
Thread Status:
Not open for further replies.

Share This Page