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)
@Sungee
Great idea. I will add CmdSets
Is there a way to activate more than one command with only one '/ps buy cmd' ? I want to give the user a command, but it should shout a message out at the same time f.e. fly %player% ; say %player% is flying now
@ArtemuMG
Idea: When the player joins the next day, it first checks if the time is out, and if the time is not out, a new schedule will be created with the new time.
@Blackixx
True. However, you could run through all the active commands and reassign them onEnable.
@ArtemuMG
That would be the best solution for shorttime-cmds/perms, but wont work after a reload or when the server stops.
@Blackixx
Or just use the bukkit scheduler? http://wiki.bukkit.org/Scheduler_Programming
@ArtemuMG
I could create a listener for each second, but this could produce laggs and would need many RAM.... Zitat: "And yeah the second command will be executed on PlayerLoginEvent. If the plugin would check the time every second it could produce laggs."
@Blackixx
It even shows it in your video... requiring to logout before the second command is executed. The second command is only being executed onLoginEvent and not automatically after x seconds.
@ArtemuMG
hm I will test it again...
Edit: It worked fine again. Video. PS: At my first try, it didnt work because I forgot to reload the config.
<<reply 754549>>
Thanks. I have Vault installed, but just disabled it completely since I don't actually use the economy aspect of it anyways - and it works again.
Another problem that has come up - is the second command doesn't appear to be executing for DCmd. I set it to 12 seconds to test; and still leaving the executed command active.
@ArtemuMG
I also created a sign on v1.7 and it worked... This could be your problem:
Can you test PointShop with only Vault and an Economyplugin (Default config)?
And yeah the second command will be executed on PlayerLoginEvent. If the plugin would check the time every second it could produce laggs.
Hi again.
Thanks for that feature. Epic :)
Just one little bug has appeared ... and in all honesty I don't know if I am doing something. But signs don't appear to be working now O_o
[PointShop]
Cmd
Heal
I get no notification of a successful sign; and 100P does not appear below.
Running : CBukkit 1.2.3 R4.0
Version 1.7
Thanks
Edit: Also I have not actually checked this. But if a user logs out; and relogs back in. Is the command executed again on PlayerLoginEvent?
@Artemu
Ok I will add this today/tomorrow
time perm work?
Ooooh nice plugin. Really would like to see the execute other command after x mins that you mentioned in todo. Other than that it's perfect for what I needed it for. Thanks
@Manuestaire
yeah just /points give <name> <amount>, bzw you can pay points, use Karmiconomy to get points etc. Just look here: http://dev.bukkit.org/server-mods/playerpoints/
I would like to have a command to manually give points to a player so you could use it without an economy plugin for changing money for points and vice versa.
@LegendaryKoala
Ok I will add a reload command
Reload command please~ Thank you.
@Luxius96
the /pshop list <blabla> should work fine. Can u show your config?