Config

The default config looks like that:

# List of buyable things and other configurable things
Sign:
  Text: '[PointShop]'
Economy:
  Enabled: true
  Failed: Action failed
  NotEnoughMoney: You do not have enough Money
  MoneyForOnePoint: 1
  PointsForOneMoney: 1
Permissions:
  Plugin:
    PermissionsBukkit: true
    Pex: false
Item:
  Name:
    Price: 100
    ID: 278
    Amount: 1
Cmd:
  Heal:
    Price: 100
    Message: Succesfully healed
    Cmd: heal %player%
Perm:
  BuyItem:
    PermissionsNode: PointShop.buy.Item
    Price: 250
    Message: Successfully bought the Permissions Node %PermissionsNode%
PermSet:
  Trade:
    PermissionsNodes:
    - PointShop.buy.Points
    - PointShop.buy.Money
    Price: 400
    Message: 'Successfully bought the Permissions Set %name% '
TimePerm:
  VipII:
    PermissionsNodes:
    - Commandbin.god
    - Commandbin.heal
    - Commandbin.feed
    Price: 5000
    Time: 604800
    Message: You are now VipII for a week
List:
  Cmd:
  - Heal
  Item:
  - Name
  Perm:
  - BuyItem
  PermSet:
  - Trade
  TimePerm:
  - VipII
  Message: /ps <cmd/item/perm/permSet/timePerm>

Explainations:

# List of buyable things and other configurable things
Sign:
#This text must be on the first line of a PointShop sign
  Text: '[PointShop]'
Economy:
#Enable Economy support? (Works with vault: You can buy money with points and points with money)
  Enabled: true
#Message if the plugin cant access the economy account of the player
  Failed: Action failed
#Message if the player doesnt have enough money
  NotEnoughMoney: You do not have enough Money
#The player get this amount of money if he buy one Point
  MoneyForOnePoint: 1
#The player get this amount of points if he buy one money
  PointsForOneMoney: 1
Permissions:
#Which economy plugin do you use? 
  Plugin:
    PermissionsBukkit: true
    Pex: false
#Buyable item:
Item:
#Name of item
  Name:
#Price
    Price: 100
#ID
    ID: 2787
#Amount
    Amount: 1
#Buyable command
Cmd:
#Name
  Heal:
#Price
    Price: 100
#Message on use
    Message: Succesfully healed
#The console will execute this command
    Cmd: heal %player%
#Buyable permissions node
Perm:
#Name
  BuyItem:
#Permissions Node
    PermissionsNode: PointShop.buy.Item
#Price
    Price: 250
#Message on use
    Message: Successfully bought the Permissions Node %PermissionsNode%
#Buyable permSet (multiple permissions (you can add infinite))
PermSet:
#Name
  Trade:
#Permissions Nodes
    PermissionsNodes:
    - PointShop.buy.Points
    - PointShop.buy.Money
#Price
    Price: 400
#Message on use
    Message: 'Successfully bought the Permissions Set %name% '
#TimePerm: Multiple permissions nodes, which will be removed after a specific time (can be used for VIP)
TimePerm:
#Name
  VipII:
#Permissions Nodes
    PermissionsNodes:
    - Commandbin.god
    - Commandbin.heal
    - Commandbin.feed
#Price
    Price: 5000
#Time in seconds(in this example one weak)
    Time: 604800
#Message on use
    Message: You are now VipII for a week
#List ( /ps list)
List:
#Cmds you can see if you type /ps list cmd
  Cmd:
  - Heal
#Items you can see if you type /ps list item
  Item:
  - Name
#Permissions you can see if you type /ps list perm
  Perm:
  - BuyItem
#Permsets you can see if you type /ps list permset
  PermSet:
  - Trade
#TimePerm you can see if you type /ps list timeperm
  TimePerm:
  - VipII
#Message if you just type /ps list
  Message: /ps <cmd/item/perm/permSet/timePerm>

Then you can add infinite new permissions/items/cmds etc.:
This is very easy. Here is an example:

http://youtu.be/FNIep0UPtishttp://youtu.be/FNIep0UPtis


Comments

Posts Quoted:
Reply
Clear All Quotes