Purchase Commands
Purchase Commands!
Like My Plugin? Please Support Me Via Donations! Even 10 Cents is better than nothing :D
(Look Above the search box)
Also Available for hire for Plugin Dev
Thanks for 3,000 downloads!
Warning
/reload WILL BREAK THE PLUGIN. Please STOP and Start the server to reload (Don't worry, I will add a /reload command for the plugin eventually)
Known Supported Permission System
(Online OR Offline Mode) PemissionsEX
(Server Must Be In ONLINE Mode) BPermissions
Known UnSupported Permission Systems\Conflicting Plugins
GroupManager
What This Is
This lightweight command shop plugin allows your users to purchase up to 54 commands. Players will use the command /cs (or /cstore or /commandstore) to open a GUI shop. Within the shop there are two colored glasses.
Green: The user has this command already
Red: The user does not have this command
Clicking on the glass will remove the cost from the player's wallet, and grant the permission node to the user unlocking the command. As you can guess, this plugin REQUIRES vault, AND a permission plugin to function.
Happy shopping!
Installation
Watch The Video! Or
Download the jar into your plugin folder. Start the server to generate the commands.yml. Stop the server, then modify the commands.yml to your hearts content.
Special Note:
Perm - used for single commands
Perms - used for command PACKS
YML Info
While making an item cost money per use (recurring) be sure to add the command and its aliases to the RecurringCommands.YML
Permissions
cs.use - allows users to get to the command shop. This is enabled by default, all users have access.
Future Plans
Command Pages (Different pages with different commands).
Sign Support For Pages.
Video
Before You Comment!
Having an issue with the plugin? Help me help you and include the following in your comment:
All Server Plugins
Error Log - If one shows in console
Server Version
Change log
Coming back for an update? Here's what's new in v 0.3.6:
(Do not download 0.3.5, known issue with commands not being sent unless store is opened first. This has been fixed in 0.3.6)
Updating from V0.3? YML EDIT REQUIRED!
- Support for worlds.
- Fixed issue with plugin adding "Cost per use" to the permissions.
- Fixed issue with plugin reading V0.1
- Fixed (Possible) issue with recurring commands not working.
----UPDATING FROM V0.3.0?----
When updating to this version add
Worlds:
to each of your purchasable commands. Each command needs to have Worlds: attached to it and at least 1 world.
Per world you would use each world you need, like so
Worlds:
- worldName
- worldName2
- moreworlds
If you want ALL worlds just do
Worlds:
- all
-
View User Profile
-
Send Message
Posted Aug 1, 2015@BlueMooshyYT
Someone else had this problem and it ended up being an issue with their bukkit server jar.
I will be taking some time in the next couple days to continue working on this. So if you could paste your error from console to here or a paste bin, that would help me.
-
View User Profile
-
Send Message
Posted Jul 30, 2015Hi, I have been looking for a plugin like this for ages, I have finally found it, however, I added commands and it works but only for ops, I have added the permission and it says its default anyway so I wouldnt of needed it but when non ops do it, it says "An internal erro rhas occurred while attempting to perform this command and I am not too sure why, it works with OP's and comes up with the commands in the glass etc...
Can anyone please help?
Thanks!
-
View User Profile
-
Send Message
Posted Jul 28, 2015@DaBudderKing
If you have essentials group manager plugin remove it, and try again.
Seems like this issue is popping up a lot and i would like to find its cause as well.
-
View User Profile
-
Send Message
Posted Jul 28, 2015Im getting the same error as zezimah (Unhandled exception executing command) it works when i'm op but this error happens when i de-op myself. @Sevlon
-
View User Profile
-
Send Message
Posted Jul 27, 2015@Zezimah123
Please remove all plugins but:
Pex, Essentials (For your Eco), Purchase Commands.
Let me know if you are still having the issue
If so, then it is the plugin. If not, then some other plugin is interfering with PurchaseCommands.
I would try removing MCMMO first, as the seems to be the same plugin that Vaazk is using and he is having a similar issue.
Thank You!
-
View User Profile
-
Send Message
Posted Jul 18, 2015BUMP- just to tell you this is still a issue
-
View User Profile
-
Send Message
Posted Jul 15, 2015When I buy a command, it takes money, says it's purchased, but when I try typing command it says I don't have access to that command, then when I reopen commandstore it says I don't have the command... what?! Do I need to add a permission to be able to buy commands? xD
-
View User Profile
-
Send Message
Posted Jul 14, 2015I am running with Anticreeper clear lag customenchantments essentials healthbar mcmmo permissionsex vault worldborder worldedit and worldguard on 1.8.7 is there any way that i can fix this? And also its a bukkit server my bad for not including that earlier
-
View User Profile
-
Send Message
Posted Jul 14, 2015plugin i use : banknote mcmmo killermoney essentials holographicsdisplay permissionex purchasecommands vault booscooldown worldguard worldedit
and im using spigot 1.8.7 but thats not the prob cause at a moment purchasecommands wasworking
-
View User Profile
-
Send Message
Posted Jul 14, 2015Got the same problems that Zezimah123
-
View User Profile
-
Send Message
Posted Jul 13, 2015@Zezimah123
Hm, that doesn't seem right What version of bukkit are you running? Other Plugins?
-
View User Profile
-
Send Message
Posted Jul 12, 2015If someone could help me out, i downloaded the plugin and it works perfectly except when i try to purchase the command it just moves the glass pane around into my inventory. Could anybody help me?
-
View User Profile
-
Send Message
Posted Jun 28, 2015@TH30MIC100
Looks Like you are on the 1.7.2 build. This was created for 1.8.1 - 1.8.3
@Alexess Make sure you are not server operator or admin, these positions will give you permissions by default.
@Volkula The problem here seems to be that the code cannot pull the display name from the object.
As this was created for 1.8.1 - 1.8.3 (and for bukkit, but not sure if that matters) I am not sure how it would work on a 1.8.6 server.
Seeing as this project has some attention i will try to update it soon
The problem is that when you click on an empty slot (No Glass) this error will be thrown. I'll be updating the plugin today.
-
View User Profile
-
Send Message
Posted Jun 24, 2015I would greatly appreciate it if you could add a list of commands that are supported. I added 2 commands to the original ones and then nothing started showing up in the command shop in game menu. please help as soon as you can :) <3
-
View User Profile
-
Send Message
Posted Aug 3, 2015Sorry about the time delay, Please visit the bukkit page, or leave a comment on the youtube video if you want to reach me!
-
View User Profile
-
Send Message
Posted Jun 20, 201520.06 13:33:30 [Server] INFO member: [Member]Theo_rocks 20.06 13:33:28 [Server] INFO ... 13 more 20.06 13:33:28 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 20.06 13:33:28 [Server] INFO at com.sevlon.PurchaseCommands.PurchaseCommands.onCommand(PurchaseCommands.java:102) [?:?] 20.06 13:33:28 [Server] INFO Caused by: java.lang.NullPointerException 20.06 13:33:28 [Server] INFO at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 20.06 13:33:28 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 20.06 13:33:28 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 20.06 13:33:28 [Server] INFO at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 20.06 13:33:28 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 20.06 13:33:28 [Server] INFO at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 20.06 13:33:28 [Server] INFO at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 20.06 13:33:28 [Server] INFO at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:47) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 20.06 13:33:28 [Server] INFO at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 20.06 13:33:28 [Server] INFO at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:814) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 20.06 13:33:28 [Server] INFO at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:952) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 20.06 13:33:28 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:683) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 20.06 13:33:28 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 20.06 13:33:28 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [craftbukkit_dev.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 20.06 13:33:28 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'cs' in plugin PurchaseCommands v0.1 20.06 13:33:28 [Server] ERROR null
-
View User Profile
-
Send Message
Posted Jun 11, 2015I am getting the same problem as Vokula. The shop opens perfectly on the server when you type /cs. I can see the two default commands there highlighted in green and when I click on them it says already purchased. The problems I have encounter is without changing anything in the commands.yml is that when I type /nuke or /nick I get an error that I am not allowed to use the command. A tutorial or walkthrough will be nice for this plugin because it looks awesome and easy to use for players.
The second problem I encounter following the same setup as the first two examples in the command folder I find the following: 1. commands don't show on the shop 2. I get an error saying could not pass event Inventory.
I fairly new to bukkit and don't know much about coding. I have essentials installed as well as iconomy and vault.
-
View User Profile
-
Send Message
Posted Jun 2, 2015Spigot 1.8.6