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)
When players purchase coins with points, can that be done with a sign, or only a command?
It would be nice to see the possiblity to add a required permission for a Perm or Permset, like if you want to buy backpack size 2, you need back pack size 1 first.
@MCLegendServer
The current version still works.
Are you going to release a 1.5.1 version soon? :) Plz :)
@KaBoom235
I've already thought about that, but many people use this is seperate economy system ( for example for donors) and Vault only supports one economy plugin at the same time.
Is it possible for you to make it so that Vault supports it as an Economy type thing? For example in the factions plugin if you want to to designate yourself as the owner of specific land it costs 10 points. Or in the scoreboard on the side of the screen it says how many points you have.
@YepImRobbie
"Also, how can I sell items such as specific enchanted books, it says the item cannot be found. Finally, how can I let players purchase quantities of an item i.e: 25 Bottle o' E?"
http://dev.bukkit.org/server-mods/pointshop/pages/enchantments-and-damage/ (Damage = durability. It is the damage of a tool or the subtype of an item).
"Hey Blackixx, We use this plugin on our server a lot, and I need help. I wan't to know how players can purchase coins using their points. We're using BOSEconomy and we have Vault installed."
Here you can set up the points-to-money stuff:
Tell me when you need more help.
Hey Blackixx, We use this plugin on our server a lot, and I need help. I wan't to know how players can purchase coins using their points. We're using BOSEconomy and we have Vault installed.
Also, how can I sell items such as specific enchanted books, it says the item cannot be found. Finally, how can I let players purchase quantities of an item i.e: 25 Bottle o' E?
Can you do two enchants on one item?
@Bulymays
I've already planned a feature (I'll add i when I'm done with other plugin updates) which checks every X seconds whether somebodys time limit is reached or not.
So, if I understand from the comments here.....If we give a command to let people fly for 10 minutes per point for voting, the timed command will not actually give the second /fly command after the time we put in unless they log?
It has the potential to be a great plugin, but why have an option for a timed command perk when it doesn't actually work?
Giving 5 mins (etc.) of something like /fly would be a great incentive for voting, prizes, perks..but not having it on a timer without logout is pretty much useless. Just giving a perm like essentials.fly on a give/take away is not going to work because if fly is still enabled when it's taken away still works, so the double perm one is out.
Would really like to see the double command work timed.
@fifty_seven
Well I'll add a PointShopBuyEvent, which allows other plugins to detect when something was bought. I might create a little PointShopLimiterPlugin which works with it aswell.
@NinjaKingRo
I might update it next holidays when I have more time.
I'd be really happy for an update on MoneyShop :)
@Blackixx
Thanks for the help. Errors is gone now. BTW is it possible to add a limiter to this plugin. So a player can only buy a certain item once. Like for config example:
Item:
name:
Price: 1
ID: 1
Amount: 1
limit: 1 [This is the limit a player can buy the item]
I want to add a Item Of The Week to my shop, where i sell random items every week for just 1 point. The players dont know what they buy. Maybe its cool and fun, but it also can be really stupid and useless. But i want that players can buy it once, till i redo the config for it with next items.
greetz fifty_seven
[keep up the good work. love this plugin]
@fifty_seven
The error appears because this line of the config is not existing: "ItemSet.<THING>.Message"
THING is the name of your itemset.
Hey Blackixx,
Thanks for updating this amazing plugin. Only have some issue with selling ItemSet's. It gives me an internal error in-game and the next error in my server's console:
2013-02-10 15:37:04 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'pshop' in plugin PointShop v2.0.0 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186) at org.bukkit.craftbukkit.v1_4_6.CraftServer.dispatchCommand(CraftServer.java:510) at net.minecraft.server.v1_4_6.PlayerConnection.handleCommand(PlayerConnection.java:980) at net.minecraft.server.v1_4_6.PlayerConnection.chat(PlayerConnection.java:898) at org.bukkit.craftbukkit.v1_4_6.entity.CraftPlayer.chat(CraftPlayer.java:234) at org.black_ixx.pointShop.SignListener.onInteract(SignListener.java:97) at sun.reflect.GeneratedMethodAccessor193.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_4_6.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178) at net.minecraft.server.v1_4_6.PlayerInteractManager.interact(PlayerInteractManager.java:376) at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:657) at net.minecraft.server.v1_4_6.Packet15Place.handle(SourceFile:58) at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290) at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112) at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39) at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:598) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.NullPointerException at org.black_ixx.pointShop.commands.buy.ItemSet.buy(ItemSet.java:106) at org.black_ixx.pointShop.commands.Buy.buy(Buy.java:40) at org.black_ixx.pointShop.Commander.onCommand(Commander.java:26) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
I get this error with both 1.9.9 and 2.0.0 Hope you know what i can be.
Greetz fifty_seven
@fifty_seven
Ok I'll fix this.
Hey Blackixx,
Pointshop is a great plugin, and i love it to use it on my server. Only had a little issue couple days ago. When a player buy's an item from the shop and his inventory is full, he looses the points but he doesnt get the item.
Is it possible to add a function so the player need a empty part to be able to buy. Its the same as that you do not have enough money, you get this message: "You do not have enough Money". Maybe you are able to put in something like: "You do not have enough inventory", and make sure the player wont loose his points.
greetz fifty_seven
@bwinkl04
Oh yeah when you use a single item it's different. Just take a look at the example. There is an extra config-path whith the damage.
@Blackixx
nope. just rebooted the server and tried again, and it crashed my client again.
I am using single item, and the item looks like this:
chicken:
Price: 20
ID: 35:1:6
Amount: 1
(with two spaces in front of chicken, and four in front Price, ID, and Amount)
I am doing /pshop buy item chicken
and I get:
[WARNING] Failed to handle packet for bwinkl04/99.122.43.198: java.lang.ArrayIndexOutOfBoundsException: 126066
java.lang.ArrayIndexOutOfBoundsException: 126066
at net.minecraft.server.v1_4_6.ItemStack.a(ItemStack.java:265)
at net.minecraft.server.v1_4_6.PlayerInventory.j(PlayerInventory.java:192)
at net.minecraft.server.v1_4_6.EntityHuman.c(EntityHuman.java:303)
at net.minecraft.server.v1_4_6.EntityLiving.j_(EntityLiving.java:534)
at net.minecraft.server.v1_4_6.EntityHuman.j_(EntityHuman.java:154)
at net.minecraft.server.v1_4_6.EntityPlayer.g(EntityPlayer.java:193)
at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:351)
at net.minecraft.server.v1_4_6.Packet10Flying.handle(SourceFile:136)
at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290)
at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112)
at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39)
at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:598)
at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494)
at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)
in the console.