TokenShop
![]()
Description
TokenShop allows server owners to create the server of their dreams without the having to pay for custom plugins. A plugin started that only handled voting; now leveling the playing field everywhere! This allows your players to vote, and then be rewarded for their effort, whats that? You're tired of giving players the same thing over and over and a boring thank you message? Your players mean more to you than that, so prove it! TokenShop allows you to create custom shops, with interfaces, for them to spend their 'Tokens' from voting in powered by Votifier, or turn that off and use your own! Now these aren't any old boring shop, your imagination is your limit! This allows you to customize every little bit of the shop! Here's a few for example: Shop size, shop names, item names, item colors, item lore, commands on purchase, broadcast messages, private messages! Literately anything you can imagine! And even within your customization there is more customization!!! But how do they access these wonderful stores? Simple, signs and commands; and even the signs are totally customizable because your sever is special and different not just another! Oh and did I mention there can be technically infinite shops? Because limits are dumb! Speaking of limits what if I told you these wonderful features also can hook into vault and allow you to create admin shops!? Yes, your economy plugin totally compatible! Why using boring admin shop signs when you could make an amazing store with interfaces?!
Now because you shouldn't be limited on what you can do, there is even the world's easiest kit system built in. Less time typing in long boring codes for kits and more time making your server the best it can be! The kit system has a cool down system built in and all kits can persist through a server shut down or restart, so no worries there. And of course not that you'd need to ask by now but the players can purchase kits in the stores with their tokens or even buy permissions for new ones; whatever you feel you need to do!
Ever seen a server where they have those fancy items that allow you to teleport from lobby to lobby? Or navigate menus? Yup, you have that now too, except yours is more customizable and its free! And of course you also could just use this system to navigate through shops because you're just cool like that. Or because you can do them both... twice!
Now I bet you're thinking: What about all the permissions and crazy config files!? Don't worry permissions are all simple and very dynamic meaning they are tailored to how you setup your shops, making life easier for everyone! And configs? Each shop has its own config file, generated by you and you only have to put in what you want, lets not waste your precious time. And the main config? Fill it out once and good to go! And in case you ever feel lost, there is a readMe included to help even more!
There is too many features to go over here! But I will quickly mention there is also a server broadcaster, a donation and voter assistant command!
Commands
- /givetok [PlayerName] [#OfTokens] - Gives PlayerName NumberOfTokens
- /tokens - Tells player how many tokens they have.
- /token - Tells player how many tokens they have.
- /enchantcode - Gives you the EnchantCode for the item in your hand.
- /openshop [ShopName] - Opens up GUI for ShopName
- /market [MarketName] - Opens up GUI for MarketName
- /createkit [KitName] [KitCoolDownTimer] - Creates a kit with a cool down of CoolDownTimer
- /kits - Displays all the kits you have access to.
- /kit [kitname] - Gives player KitName, if not on cooldown and has permission.
- /vote - Displays the Voting websites for the server.
- /donate - Displays the website for donating to the server.
- /regenconfig - Will regen the config file. Must have permission.
- /deletekit [KitName] - Deletes kit KitName.
- /editkit [KitName] [CoolDown/kit] <Time in seconds for cool down> - Edits either kits contents or kits cool down timer.
- /ConfigReload - Reloads the config file.
- /ReloadShop [ShopName] - Reloads shop file for [ShopName].
- /ReloadMarket [MarketName] - Reloads market file for [MarketName].
- /shop - Will open the default shop, if supported.
- /store - Same as /shop.
Creating your shops
I've made a compilation of pages to help you easily find the topic you are looking for! Just go to the top of the page and click on the tab 'Pages' and just look under Shop Creation for all your needs! Or here's the link: http://dev.bukkit.org/bukkit-plugins/tokenshop/pages/
Config
After you've put the plugin on your server, in the TokenShop folder there will be a readMe.yml which goes deep into explanation of how to use the simple config file. If you can't find what you need check the pages tab on this page! If you still need help feel free to send me a PM!
Permissions
- OP will have all permissions by default.
- tokenShop.admin - Contains permissions openShop, createShop, and createKit and use the /givetok, /regenconfig commands.
- tokenShop.openShop - Permission for a player to use the /openshop command.
- tokenShop.createShop - Permission for a player to create shop signs.
- tokenShop.createKit - Permissions to create and edit kits.
- UseShop.[shopName] - Permission for a player to access shop [ShopName].
- tokenShopKits.[kitName] - Permission for a player to use kit [KitName].
- UseShopVault.[shopName] - Permissions for a player to access VaultShop [ShopName].
- NOTE: tokenShop.openShop still requires a player to have permission to use a shop! Doesn't override UseShop.[shopName]!
Get Latest Builds
- If you want the latest versions use the links below! (Jenkins will be posted soon!)
- Stable:
- DevStable(May be buggy!):
Extra Notes
- I would like to thank @45zeldafan for helping me bug test.
- This plugin was originally created for: Empire Craft - play.empire-craft.com
- Need to get a hold of me? Use that wonderful PM system or leave a comment below!
Buy Me A Pizza or Soda
I do always appreciate donations! They help me have more time to work on plugin creation or updates!
PLEASE READ
TokenShop is currently going under some major renovations to make it much more useful to not only server owners but also fellow programmers who want more out of their plugins! Please be patient with the next few versions as much change is coming!

-
View User Profile
-
Send Message
Posted Oct 24, 2013@Coookiii
Yes, but there seems to be a problem with Votifier currently and won't register votes from all sites.
-
View User Profile
-
Send Message
Posted Oct 24, 2013Is this with a listener included? So it knows automaticly when players voted when using votifier?
-
View User Profile
-
Send Message
Posted Oct 23, 2013@dylandopp
@kevinator0122
I'm near positive the issue is occurring due to Votifier, because this all broke when updating to 1.6.4, I will continue to look for a work around, no guarantees until Votifier updates though.
-
View User Profile
-
Send Message
Posted Oct 22, 2013@kevinator0122
I an error almost the exact same... I have 3 voting links. 1 works, on minestatus. The other 2 PMC, and Minecraftservers.org don't work...
-
View User Profile
-
Send Message
Posted Oct 22, 2013New update is waiting to be approved!
New features:
- Make categories for your vote shop - Custom lores (coming soon)
-
View User Profile
-
Send Message
Posted Oct 19, 2013I think i know what it is. I have a the "PerWorldPlugins" plugin and i need it. So anyway you can check it out?
20.10 02:33:09 [Server] INFO ... 11 more 20.10 02:33:09 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 20.10 02:33:09 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source) 20.10 02:33:09 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 20.10 02:33:09 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 20.10 02:33:09 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 20.10 02:33:09 [Server] INFO at com.roguepanda.rptokens.TokenShop.voteMade(TokenShop.java:1388) 20.10 02:33:09 [Server] INFO at com.roguepanda.rptokens.TokenShop.addToken(TokenShop.java:1298) 20.10 02:33:09 [Server] INFO Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer 20.10 02:33:09 [Server] INFO at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) 20.10 02:33:09 [Server] INFO at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:421) 20.10 02:33:09 [Server] INFO at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:488) 20.10 02:33:09 [Server] INFO at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:227) 20.10 02:33:09 [Server] INFO at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:524) 20.10 02:33:09 [Server] INFO at org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) 20.10 02:33:09 [Server] INFO at org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftTask.run(CraftTask.java:53) 20.10 02:33:09 [Server] INFO at com.vexsoftware.votifier.net.VoteReceiver$1.run(VoteReceiver.java:181) 20.10 02:33:09 [Server] INFO at us.Myles.PWP.FakePluginManager.callEvent(FakePluginManager.java:124) 20.10 02:33:09 [Server] INFO at us.Myles.PWP.FakePluginManager.fireEvent(FakePluginManager.java:138) 20.10 02:33:09 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 20.10 02:33:09 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 20.10 02:33:09 [Server] INFO org.bukkit.event.EventException 20.10 02:33:09 [Server] SEVERE Could not pass event VotifierEvent to TokenShop v1.2.5
-
View User Profile
-
Send Message
Posted Oct 19, 2013@Warreo
Yah the console recieves the vote. I also reloaded the config. I still don't receive tokens when voting.
-
View User Profile
-
Send Message
Posted Oct 19, 2013@kevinator0122
So you console looks good? Maybe double check your config, then if nothing else try deleting your profile in the files.
-
View User Profile
-
Send Message
Posted Oct 19, 2013@Warreo I used both to test it. In my console i see that i receive the vote but tokenshop doesn't give me the tokens
-
View User Profile
-
Send Message
Posted Oct 19, 2013@kevinator0122
It should work the same as it always has, is there any changes you've made in your config? Is there anything in your log? And are you testing by actually voting or just using Votifier's testing site? I hope I can assist you with your issue.
-
View User Profile
-
Send Message
Posted Oct 19, 2013I update the plugin to the new build and for some reason it still doesn't give me tokens when i vote. Is there a specific way to set it up? Do i have to completely remove the config too?
-
View User Profile
-
Send Message
Posted Oct 18, 2013Got a clear build working with Votifier, all seems to be working fine. Got my server to receive votes clear as day and the recent version is being updated. :)
-
View User Profile
-
Send Message
Posted Oct 18, 2013@kevinator0122
I'm not totally sure why its not working. I'm going to try to figure that out and hopefully have it working within a day... otherwise it will be ready when Votifer updates.
-
View User Profile
-
Send Message
Posted Oct 18, 2013How come so plugins work with votifier, can you please try to fix the problem, i really want it to work?
-
View User Profile
-
Send Message
Posted Oct 16, 2013@Warreo
I am very happy with your fast reply and your willing to help me, and I look forward for the feature :) Please pm me your skype name so we can talk!
DreamCastNetwork
-
View User Profile
-
Send Message
Posted Oct 16, 2013@flip284
The issue is with Votifier, because it isn't up to date, TokenShop is unable to hook and get the listener from Votifier, I'm working on trying to make a work around.
-
View User Profile
-
Send Message
Posted Oct 16, 2013@Warreo
sooo the 1.6.4 version doesn't work then???
It doesn't even load up for me...
-
View User Profile
-
Send Message
Posted Oct 15, 2013@kevinator0122
There seems to be an issue since Votifer isn't updated to 1.6.4. Nothing I can really do right now, sorry.
-warreo :(
-
View User Profile
-
Send Message
Posted Oct 15, 2013I can't seem to get this to work with voitifier.
-
View User Profile
-
Send Message
Posted Oct 15, 2013@DreamCastNetwork
Currently there is no implementation to open other GUIs out of another, something I had never thought of till now... I might add this, very cool idea! If you still need help send me a pm with your skype and I can help assist you.