PointShop
This plugin allows players to buy items, commands and more with Points. PlayerPoints is needed for this.
This Plugin is continued here:
Features:
- Buy items/itemsets
- Add subcodes (like colored wool), damage and enchantments to items
- Buy cmds/doubleCmds/cmdSets
- Buy perms/permSets/timePerms
- TimePermissions : After the configurable time, the permissions will be removed
- Trade points with money
- Configurable (you can add/remove infinite cmds/items/permissions)
- Permissions Support
- Add configurable prices
- Economy Support (Vault is needed) (optional)
- Sign support
You need Vault if you want to work with Perms/PermSets/TimePerms/Economy!
Command explanation
Commands:
- /<ps/pshop> buy <cmd/Dcmd/item/itemSet/money/points/perm/permSet/timePerm> <name>
- /<ps/pshop> list <item/itemSet/cmd/Dcmd/perm/permSet/timePerm> <page>
- You can remove /ps if you want (here you can see, how to remove this)
Permissions:
- PointShop.buy.Item
- PointShop.buy.ItemSet
- PointShop.buy.Cmd
- PointShop.buy.DCmd
- PointShop.buy.CmdSet
- PointShop.buy.Perm
- PointShop.buy.TimePerm
- PointShop.buy.PermSet
- PointShop.buy.Points
- PointShop.buy.Money
- PointShop.list
- PointShop.sign.create
- PointShop.sign.use
ToDo:
Add list of items/cmdsAdd other things to buy- Add messages.yml
Buy command, and after x time, another command will be executed (like /op and /deop)
As i said, I'm not allowed to access the server.log. anyways, it would be flooded with over 1GB of PermissionsEX errors anyways. My co-owner screwed it up lol. And i did test pointshop with the default config. same thing.
@xBlackLightx
the server.log would be very helpfull.....
Can you test PointShop with the default config?
Ugh, still nothing. I did /help pointshop, and it said: Commands from PointShop /pshop: null /ps: null
@Blackixx I'll take those out now. But is that the only problem with the config?
@xBlackLightx
Maybe the error appears, because you have spaces in the names...
@Blackixx I do not have economy enabled. Let me post my config for you.
http://pastie.org/4294925
@xBlackLightx
if you have
No. Do i need it?
@xBlackLightx Do you have Vault?
@Blackixx For some reason my host won't let me access my server.log. I am positive I am using player points, because i tested it by doing /points give xblacklightx 1000. and it said I now have 1000 points. but theres gotta be something im doing wrong. :( please help.
@MartinMPL
your config is wrong. It should look like that:
this is it anyways
# List of buyable things and other configurable things
DontAddDefaults: true
Sign:
AutoPrice: true
Text: '[PointShop]'
Economy:
Enabled: true
Failed: Action failed
NotEnoughMoney: You do not have enough Money
MoneyForOnePoint: 1
PointsForOneMoney: 1
Item:
Name:
Price: 100
ID: 278
Amount: 1
Item:
100:
Price: 500
ID: 100
Amount: 1
ItemSet:
Nether:
Items:
- '112:20'
- 87:64
- '113:15'
Price: 1000
Message: The nether is yours
ItemSet:
BasicKit:
Items:
- '268:1'
- '58:1'
- '269:1'
- '270:1'
- '271:1'
Price: 10
Message: You now have more chance of survival
ItemSet:
VFarmPack:
Items:
- '295:10'
- '290:1'
- '361:10'
- '362:10'
- '352:10'
Price: 20
Message: you can now grow a vegi farm
Cmd:
Heal:
Price: 5
Message: Succesfully healed
Cmd: heal %player%
CmdSet:
Stupid:
Cmds:
- freeze %player%
- ban %player%
- mute %player%
- slay %player%
Price: 0
Message: LOL YOU ARE STUPID xD
DCmd:
Op:
Price: 10000
Message1: You are now OP for a day
Message2: You are no longer OP
Cmd1: op %player%
Cmd2: deop %player%
Time: 86400
Perm:
BuyItem:
PermissionsNode: PointShop.buy.Item
Price: 250
Message: Successfully bought the Permissions Node %PermissionsNode%
GlobalPermission: true
PermSet:
Trade:
PermissionsNodes:
- PointShop.buy.Points
- PointShop.buy.Money
Price: 400
Message: 'Successfully bought the Permissions Set %name% '
GlobalPermission: true
TimePerm:
VipII:
PermissionsNodes:
- Commandbin.god
- Commandbin.heal
- Commandbin.feed
Price: 5000
Time: 604800
Message: You are now VipII for a week
GlobalPermission: true
Message: Your TimePerm is out (%name%)
List:
Cmd:
- Heal
DCmd:
- Op
CmdSet:
- Stupid
Item:
- Name
ItemSet:
- Nether
Perm:
- BuyItem
PermSet:
- Trade
TimePerm:
- VipII
Message: /pshop list <cmd/dcmd/cmdset/item/itemset/perm/permSet/timePerm>
Disable:
Cmd: false
CmdSet: false
DCmd: false
Item: false
ItemSet: false
Money: false
Perm: false
PermSet: false
Points: false
TimePerm: false
@Blackixx
<script src='http://pastie.org/4294579.js'></script>
If this dosnt work its because i never use the site before im sorry :/
@MartinMPL
Can you paste the config (use pastie.org)?
@Blackixx
Hey thank you! ok now i have another problem but with the kit... this is what happen i wrote down the config of my kit i saved it then reload on my server, and i could buy it.
NOW
i copy what was already there the nether pack paste it under the survivalkit config group "at thats how i did it for survival kit" and i change the name to VfarmPack and did what you should do.
reload my server again and it works but when i go back to survival kit it says survivalkit cant be found? but before it could... can you only have 1 kit or somthing? or was it cos i copy n paste then same thing twice?
@MartinMPL
Then you wrote something wrong. Example:
@Blackixx
thank you so much for your help! it was working n going really good and all sudden BOOM! says item cant be found again! lol and i did it the way you showed me again n dosnt work???
@MartinMPL
You have to write the item 273 to your config. Like this:
OK for some reason it dsont work... i do this on the sign
and it says item 273 could not be found.
PLEASE HELP! been doing crap to it all day trying to make it work! in the config n everything!
@xBlackLightx
I think PointShop disabled itself because you dont use PlayerPoints. Can you show your server.log?