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 Jan 19, 2014@rick457
Your guess is as good as mine, it's going on 3 days now, plus I've already pushed another quick fix for some bugs I found, so sorry no idea whatsoever.
EDIT: The new version is now out. :)
@X_angelz_X
And why is that? Any recommendations on things that should be changed?
-
View User Profile
-
Send Message
Posted Jan 19, 2014@Warreo
How long do you think we need to wait to let bukkitdev approve your update?
-
View User Profile
-
Send Message
Posted Jan 19, 2014Very nice plugin! A bit tricky to navigate, but its good!
-
View User Profile
-
Send Message
Posted Jan 19, 2014@Warreo
alright thanks!
-
View User Profile
-
Send Message
Posted Jan 18, 2014@faczkingz
Yes there is, unfortunately you'll need to wait till the newest version is approved by BukkitDev, then there will be ways to disable all of those. :)
@TwekerPMC
Again, I fixed lots of bugs that had to deal with that in the newest version, again which I'm awaiting approval on. :)
@live4redline
I've gone and fixed the enchantments on the fishing poles, sorry for the inconvenience. And yes if you wouldn't mind sending me the file I'd be more than happy to help. :)
-
View User Profile
-
Send Message
Posted Jan 18, 2014Hey, is there a way to disable, kits (i already have but if i do /kits nothing shows up), /vote (i want the /vote command from votfier) and /donate (i already have /buy)
please help me!
thanks, Engergykingz
-
View User Profile
-
Send Message
Posted Jan 18, 2014@Warreo
I took the latest beta build, when I do /tokens it just says in chat: /tokens in white. What does that mean?
-
View User Profile
-
Send Message
Posted Jan 18, 2014I can't wait until the new and improved and updated plugin comes out!
-
View User Profile
-
Send Message
Posted Jan 18, 2014The fishing pole /enchantcode doesn't work for the additional two enchants. You can put Luck, Lore, and Unbreaking on a fishing pole and the only enchant code that shows up is for unbreaking. With luck, no code shows up and in other cases it just gives you the code for unbreaking every time.
Ill have to get the mob spawn eggs for you. The only mob egg of several that showed up was the magmacube but ill get the file for you to take a look at.
And thanks for everything Warreo, Its a great plugin and I know you've been hard at work and we appreciate it.
-
View User Profile
-
Send Message
Posted Jan 17, 2014@Warreo
Whats the requirements for this plugin? i installed it and it doesn't load...
-
View User Profile
-
Send Message
Posted Jan 17, 2014@SentinelCraft
I've looked into it and the new version, I believe shouldn't conflict anymore. :)
@Armyman329
I've changed it so TokenShop should now properly handle kit confliction with Essentials. I'm working on more modifications to kits to make them more versatile; especially when dealing with other plugins. More to come in the future. :)
@StarGaming
I'd be more than happy to help, but try the new version whenever it get's approved by the Dev Staff, if the problem still exists though just PM me.
@live4redline
Firstly, I've sorted the kit issues out ,as I stated to Armyman329. Secondly, fishing rods have always worked, in fact any item even with unsafe enchantments works so I don't know what your problem was, just make sure the item in your hand has the enchantments on it already. The issues you were experienceing with Votifier again are also fixed, somehow my plugin check was broken, anyway fixed now. :) The issues you were experienceing with monster eggs just make sure to check the Metadata page for more info or feel free to send me a copy of you shop file if that doesn't fix it. :)
-
View User Profile
-
Send Message
Posted Jan 15, 2014Hey just so you know Tokenshop breaks SilkSpawners
It still works for the most part. but when you go to place a precrafted Zombie pigman spawner. It reverts to a zombie spawner.
I agree its very strange but we narrowed the conflict down to these two plugins. If I turn Tokenshop off Silkspawners goes back to working correctly.
I will post this on both sites, hopefully you guys can work together to figure out what the conflict is.
-
View User Profile
-
Send Message
Posted Jan 15, 2014Is there anyway that you can change /kit? You could make it /Tkit for /Tokenkit and it would solve a big problem with many servers with the Essentials plugin using /Kit. Most players don't know that you can just do /ekit so they would think that they have no kits. I also think that it would be a very easy fix. I've done little coding myself but I think all that you would have to do is go into the .class and change kit to tkit, or whatever you prefer to put. Then you would need to go into the plugin.yml file. It would be great if you could have this in your next update. Thank you.
-
View User Profile
-
Send Message
Posted Jan 15, 2014Hey
so I have a problem when the server loads it self. The plugin doesn't run. I've correctly installed the plugin but is there any other plugins I need to make this work? Please get back to me ASAP thanks
~ Jack
-
View User Profile
-
Send Message
Posted Jan 13, 2014Alright... so i found a work around for the kits for the time being. Good old silly /ekits does work although using /kit would be a lot nicer in your update.
- Would also like to note that fishing rods do not display an enchant code which would be helpful also.
-
View User Profile
-
Send Message
Posted Jan 12, 2014I did end up getting it working finally /cheers. Thanks
I do still see a few issues however if your able to take a look...
- The biggest one which is rather important is the Kits. With tokenshop running, my server can not use kits from any plugin or within Tokenshop its self. Obviously kits are kind of important and the "UseBuiltInKitSystem: false" has no effect. Setting it to false just hides the broken tokenshop kits from the /kit command and is still overwriting my essentials kits and not allowing me to see or use them. I would honestly rather keep my essential kits as there already done and changing the formats would be a great deal of pain and several hours worth of work but having no kits at all would be even worse. So just need something.
- Im also still getting random TokenShop/Votifier errors that come up in the console but that don't seem to have too much effect on my shops. Ill grab some more logs if you need.
- I also ran into issues with some monster spawn eggs not showing up for odd reasons. Just one of them things i noticed while setting up one of my shops.
-
View User Profile
-
Send Message
Posted Jan 11, 2014@shahiem99
Did you go and create the shop, like in the file?
-
View User Profile
-
Send Message
Posted Jan 11, 2014Files 1. Config - http://pastie.org/8623687 2. Readme - http://pastie.org/8623690 3. Kits - http://pastie.org/8623691
What is the expected output? What do you see instead? internal Error
What version of the product are you using? Lastest Version
Do you have an error log of what happened? No
Please provide any additional information below. Cant open the Shop
-
View User Profile
-
Send Message
Posted Jan 10, 2014@live4redline
There is no command or way in game to make a shop, everything must be done in the file's themselves, this is due to the complexity and diversity of the TokenShop works. As for information on creating shops there's a reason I said:
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!
So please just go to the pages tab on this page for all the information and examples you should need, if you have more questions after that feel free to either post on here or PM me.
As for kits, they were disabled in 1.3.1 due to Bukkit/Minecraft breaking how they operated at their base, and why no updates have been done for some time, due to a entire rewrite. For actual kit creation when it's back up and working; all you need to do is throw the items in the GUI that appears. And the way that the inventories were stored was very much different I actually stored the inventories in Base64 to help preserve file size.
If you have more questions, please consult the readMe.yml file located in the TokenShop folder. That does have for the most part fair explanations of how things work.
-
View User Profile
-
Send Message
Posted Jan 10, 2014I know your working on a new update and I'm looking forward too it, but wanted to mention this so you could take a look in case its an issue that could be carried over to the new version.
Still having issues with the plugin before and after updating about 30min ago. No errors in console but lots of issues. Firstly the create shop commands open the gui and say there creating the shops but no items are being recorded. The kits are the same way. You can create them, you add items to the GUI, it says its saved but when you use the kit it always says its on cool down and there are no items saved to it when you look at the files. The "UseBuiltInKitSystem: false" command also removes the TokenShop kits but does not allow you to use Essential's Kits or any other kits for that matter. It just gives you an empty TokenShop kit list instead and continues to block all other plugin's kit options. I think the real issue comes down to the GUI not saving the items but you'll have to take a look and see what you think.
Also just a small note.... the example file is very vague, would love a legit example file that displayed the format for everything with real examples of a completed shop and premade kit and ect. I was gonna try entering in the kit items manually to test it but i don't know the format in which to enter it unfortunately.
Its obviously not the same as essentials which looks something like this... kits: crusader: delay: 82800 items: - 276 1 sharpness:2 name:&6Crusader_Sword lore:A_donator_kit_reward_item. - 261 1 power:1 name:&6Crusader_Bow lore:A_donator_kit_reward_item. - 278 1 efficiency:1 name:&6Crusader_Pickaxe lore:A_donator_kit_reward_item. - 279 1 efficiency:1 name:&6Crusader_Axe lore:A_donator_kit_reward_item. - 306 1 protection:3 name:&6Crusader_Armor lore:A_donator_kit_reward_item. - 307 1 protection:3 name:&6Crusader_Armor lore:A_donator_kit_reward_item. - 308 1 protection:3 name:&6Crusader_Armor lore:A_donator_kit_reward_item. - 309 1 protection:3 name:&6Crusader_Armor lore:A_donator_kit_reward_item. - 262 32 - 297 5