TokenStore
Description
This plugin adds an easy to use Shop and Currency System.
The Currency, Tokens, can be found by killing mobs or through the admin and can be sent to other Players
The Shop's name and Wares are fully customizable, as you can set the amount, the data, the lore, the name and the enchantments of each individual item. Currently you can only add 53 Items, but multiple pages are a feature that is soon to be added.
A shop can be set up via a so called "TokenStore-Setup Sign", you just have to place this and players can use this Sign to open the Shop, future updates will include linking the shop to items and blocks, aswell as the creation of shops restricted to certain players/classes.
Commands
- /Tokens - Shows your current Token Balance
- /addTokens - Adds a specified amount of Tokens to another Player's Balance
- /sendTokens - Sends a specified amount of your own Tokens to another Player
- /giveTokens - Gives you a specified amount of Tokens as Items, good for giving away Tokens
- /giveShop - Grants you a TokenStore-Setup Sign
Permissions
- Tokens.* -> Main Permission Node
- Tokens.setupShop -> For /giveShop
- Tokens.giveTokens -> For /giveTokens
- Tokens.addTokens -> For /addTokens
Instructions
Setting a Store up
- Give yourself a TokenStore-Setup Sign via /giveShop
- Place the Sign and write anything you want onto it, the first line has to be called "[YourShopName]"
- Enjoy your new TokenStore
Adding Items to the Store
- Open the Config
- Add the Itemname to the list under "itemlist"
- Create a new Point under "item" with your Itemname
- Set all the Attributes of your new item, see the pregiven examples for info on structuring
Note
- Slots go from 1 - 53 starting in the top left corner of the Inventory
- All Materials can be found under http://jd.bukkit.org/rb/apidocs/org/bukkit/Material.html , Spaces have to be replaced by an underscore _
- All Colors can be found under http://jd.bukkit.org/rb/apidocs/org/bukkit/ChatColor.html
- Enchantments can be found under http://jd.bukkit.org/rb/apidocs/org/bukkit/enchantments/Enchantment.html
- Data can be found under http://www.minecraftwiki.net/wiki/Data_values
- The 2 Items that are already given in the shop have some really interesting attributes
-
View User Profile
-
Send Message
Posted Oct 27, 2013@Taiterio
I tried, with no luck.
@EliteDesign
Love this idea.
-
View User Profile
-
Send Message
Posted Oct 25, 2013Hey i love the look of this plugin but do you think you can add a command to open a shop? So a player could be any where in the world and open a shop, and spend their tokens. Thanks!
-
View User Profile
-
Send Message
Posted Oct 23, 2013@xk0sk1ngsx
Try setting the first line of the sign to "[YourShopNameHere]", let me know if it works
-
View User Profile
-
Send Message
Posted Oct 21, 2013@Taiterio
I put that into config, restarted the server and 'bam!', the token shops can no longer be opened. No errors from what I can see either. >.<
-
View User Profile
-
Send Message
Posted Oct 21, 2013@xk0sk1ngsx
Hmm, what doesnt work?
@Maroseliss
The first line of the sign has to be called "[YourShopNameHere]", it should normally auto-set this though o.O
-
View User Profile
-
Send Message
Posted Oct 20, 2013I don't know about anyone else but I can't make a shop anymore since I installed TokenStore 1.2. :(
-
View User Profile
-
Send Message
Posted Oct 20, 2013what is me doing wrong D: PasteBin...
-
View User Profile
-
Send Message
Posted Oct 18, 2013@carbine781
Added that in the newest update 1.2 :)
@Maroseliss
I'm very sorry for the long wait D:
Didn't have any time for developing lately :/
Added everything you want though, even more to make up for the wait :)
@MostlyTechGuru
Sry, couldn't do that yet, but the shop, aswell as the /tokens command, show your current tokens
-
View User Profile
-
Send Message
Posted Oct 12, 2013Is there a way to set up a shop where you click an item in the imaginary chest, and it takes items away from your inventory in exchange for tokens?
-
View User Profile
-
Send Message
Posted Sep 30, 2013@Taiterio
Awesome, thanks so much. :) Is there a dev build somewhere or are you uploading it to Bukkit?
Edit: Also, I made a mistake when I said I typed "Amount: 64" - I did in fact type 'Amount: 64' and it still shows up as lore. So when the stack is separated once purchased, they all say Amount: 64.
-
View User Profile
-
Send Message
Posted Sep 27, 2013Is there any way that you could make a special sign that would auto-update and show users their current token balance? For Example, I have a sign to enter a tokenstore at my spawn, next to it id like people to be able to walk by and see their token balance, not someone else's; and it would also be cool if you could still customize the colors and text on the sign, and where you want the token info to be displayed put like [tokenbal] (or something)
sign ex. Your current token balance: [tokenbal]
Please let me know if this is something that you could add! Thanks :D
-
View User Profile
-
Send Message
Posted Sep 20, 2013@Maroseliss
Whoops, my bad, used metadata for saving the signs, which in turn gets deleted on server shutdown, will push out a quick fix for that :D
You could try writing 'Amount: 64' , that way the config won't think you're trying to make a new section :D
Edits are way better than posting multiple comments after each other, so thanks for that :D
-
View User Profile
-
Send Message
Posted Sep 19, 2013The /giveShop signs seem to stop working after server restarts. Edit: To be clear, I just mean that I have to replace the sign after a restart.
Edit 2: My config deleted itself because of a mistake in the config caused by me, sorry about that!
Edit 3: Noticed another small bug. In items, when adding a Description, if you write (for example) "AMOUNT: 64" the : seems to cause a problem and delete the config.
Edit 4: Would it be possible to add something to show the amount they will receive upon purchase without making it Lore? That way, when the stacks are separated it doesn't still say "Amount: 64"?
Sorry for all the edits, I promise I'm not doing it to make you crazy ;)
Promising plugin otherwise :)
-
View User Profile
-
Send Message
Posted Sep 14, 2013@gamingillusion
Hmm, it would be pretty hard to add this as there are alot of problems with that, I'd have to see if I can do anything about that
-
View User Profile
-
Send Message
Posted Sep 13, 2013Is there any chance you could add more features to the items? For example there could be an item that just gives a player a certian permission for one use and then it is deleted? For example the config would look like this: Item: item# Commands on purchase: - /pex user {name} add hidenseek.chooseblock Commands after time limit reached: - /pex user {name} remove hidenseek.chooseblock
Please consider this. Thanks.
-
View User Profile
-
Send Message
Posted Sep 10, 2013I sent you a pm. please read it.
-
View User Profile
-
Send Message
Posted Sep 10, 2013Can you make a command to open the store?
-
View User Profile
-
Send Message
Posted Sep 9, 2013@iggabuga
Wouldnt it work to give them out via the /addtokens <Player> command?
-
View User Profile
-
Send Message
Posted Sep 8, 2013Any chance that this could be implemented with games as well?
For example: if a player wins a game of Splegg or a Hunger Games match, they get 10 tokens or something? Be a nice addition to do! :)
-
View User Profile
-
Send Message
Posted Sep 6, 2013@Superola
Not atm, I could make a second config which would allow admins to add a "sell-list", with which the players would be able to sell certain items via their inventory in the shop menu.