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!
@flip284
TokenShop has relied on Bukkit specific source to work; up until version I'm working on. Also, requesting comparability with spigot publicly is against Bukkit's terms therefore I will never intentionally make it comparable with spigot, if it happens to be it's mere coincidence. (Please note, I mean no offense to you, just need to point out rules.)
On a the note of updating, I have a few more bugs to work out with the new code, so that it shouldn't normally break on updates. This update is hopefully, late today, early tomorrow.
@Warreo
Spigot is merely a modified bukkit though, they claim any bukkit plugin will work on spigot, aside from the ones that interfere with the already built in ofcourse.
It worked fine when spigot was on 1.7.2 :(
Your plugin is great and a must have on any server, when its updated to 1.7.4 do you think it will work again?
@live4redline
It's not supposed to be required, but somehow Votifier's hook broke it. :( Anyway got it fixed now :)
@KyleSCA Turn the kits used from TokenShop off in the config. :)
Please help i've downloaded this plugin and now I cannot use essentials kits!
@Warreo
Adding Votifier to my server corrected the issue. *Required Plugin =)
And a new version is great news and we can't wait.Thank you very much, sir.
@live4redline
The error that is occurring is that you need to have Votifier on your server also, for some weird reason the the check for it isn't being handled properly, just put Votifer on your server. The good news is that within the next 2 days I plan to have the new version out that should be built a lot more stable than the current. :)
So there are some newer versions of Bukkit that are still v1.7.2 but can use some of the 1.7.4 items. I am running one of these newer versions with the v1.3.1 of Tokenshop and it does not work with my factions server. Like many others who have posted in the past few days there are issues. I was getting nothing from the plugin till i removed worldguard and added factions. Then it started giving me errors in the console and it loaded a "TokenShopUserData" folder with a single file in it named "kits". The plugin comes up on my plugin list in game but all the commands perform no actions and just echo back at me.
It might be helpful to list what build of Bukkit this plugin is currently active with because it does not work with the latest release of 1.7.2.
I also dont plan on downgrading my bukkit version so it would be awesome if you had time to fix this. Its an awesome plugin and i have a new server im trying to bring up soon and would love to have this plugin running on it.
Awesome work, thanks again and looking forward to donating some of my donations too you.
Hopefully this may help....
++ ERROR LOG ++
[17:31:58] [Server thread/INFO]: [TokenShop] Enabling TokenShop v1.3 [17:31:58] [Server thread/ERROR]: Error occurred while enabling TokenShop v1.3 (Is it up to date?) java.lang.NoClassDefFoundError: com/vexsoftware/votifier/model/VotifierEvent at com.roguepanda.rptokens.TokenShop.onEnable(TokenShop.java:97) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:218) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:384) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:298) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:280) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:342) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:319) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:275) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:175) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] Caused by: java.lang.ClassNotFoundException: com.vexsoftware.votifier.model.VotifierEvent at java.net.URLClassLoader$1.run(Unknown Source) [?:1.7.0_45] at java.net.URLClassLoader$1.run(Unknown Source) [?:1.7.0_45] at java.security.AccessController.doPrivileged(Native Method) [?:1.7.0_45] at java.net.URLClassLoader.findClass(Unknown Source) [?:1.7.0_45] at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.7.0_45] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.7.0_45] ... 12 more
@flip284
Well firstly, if you're running 1.7.4 that means you're using spigot; TokenShop doesn't support spigot. Also, currently TokenShop isn't compatiable with anything other than the version it was built on ex. 1.3.1 is built and will only work on 1.7.2.
@xanganes
I don't understand why you would want players to be able to trade/give Tokens. The format I've provided I know for a fact does work, make sure that you have proper spacing in the .yml files because Bukkit is very picky. If there is anything in the console please send it to me so I can help if it is a different problem. :)
@Anonymous1432
Are you running the correct version now? And is there anything in your console?
Huge error whenever someone votes on 1.7.4
@Warreo
It's fine lol, so that would mean that the only way is by doing it individually? Another question. Are the examples in the pages section working? When I tried to use that format, it didn't even recognize the plugin...
Also, its echoing my commands back to me and isnt doing anything.
Now it isnt creating a shop folder :(. It has a TokenShopUserData folder but no shop folder.
I am using Token Shop version 1.3.1
EDIT: My friend downloaded it for me and he said it was 1.3.1. Apparently he downloaded the wrong one, This has been rectified! Thanks!!!
@Anonymous1432
Is your server running 1.7.2? If so you need to be using the latest version of TokenShop, 1.3.1. TokenShop currently breaks if you don't use the build version. This is something I'm working out for the next update. :)
@xanganes
Yes, very possible, the bad news is when I had to update to 1.7.2 lots of Bukkit libraries broke TokenShop and kits was part of it, so even though it otherwise would be possible to do this. It is not possible with the current build. Sorry. :(
My server cant load the plugin. I get this error:
@Warreo:
Alright, It finally worked but question? Is it possible to make tokenshop give a set of diamond armor? I am hoping its possible to do this..
@Pr0Acid
There was lots of bugs with 1.6.4, I know the one you are having was fixed with 1.7.2. :)
@wswin1
Next update should be within the next two weeks, I've been home for the holidays. But I plan on tweaking the mechanics so server owners can modify player's tokens easier but, I will not add the ability to trade tokens in any fashion since that defeats the purpose behind encouraging player's to vote and what not. :)
I am getting this error with votifier on 1.6.4.... http://pastebin.com/XrcHvjqZ Any help?
Hi, I was wondering when you will be releasing/updating the next version of this plugin? I would really like to have the ability to take tokens away and possibly have a way for players to pay other players tokens? Thanks
@xanganes
Anything in your log that relates to TokenShop?