RealShopping
Real Shopping v0.50
ALPHA VERSION IS AVAILABLE
An early version of 0.51 update is available for download upon approval. Please test it and help us release it bugfree! Read the disclaimer in the changelog page before downloading!
RealShopping is a shop plugin which aims to be as realistic as possible. It can use Vault for economy integration, which is highly recommended. Pre 0.30 source code is included in the jar, later on GitHub
How it works
You enter a store by right-clicking the "door", which is either a glass block or a glass pane. The plugin teleports you inside and remembers everything in your inventory. You can then take the items which you want to purchase from chests in the store. Then you walk up to the cash register (an obsidian block with a slab on top), right click it, and the plugin sees which items you have taken and charges you for them. At last you can exit the store by standing at the exit and right-clicking the door.
These are the basics, and how everything started. Now, RealShopping has lots of additional features. Take a look at the different pages here to see if you find something which suits you!
If you don't feel like reading a lot of instructions, you can get a hold of the basics by watching the video tutorial further down the page! :)
(click images for a higher resolution)
Features
- Ability to create an infinite number of stores.
- Aliases for item IDs and data values which you can use in commands.
- Separate prices for each store.
- Self-refilling chests.
- Minecarts with chests acting like shopping carts
- Delivery of the items in your shopping cart to a chest at your home.
- Selling to stores, if the owner approves it.
- Language-packs.
- Both admin and player-owned stores.
- Kick or banish players from your stores.
- A punishment for players trying to steal items.
- A mostly command free experience for users.
- An automatic updater!
Installation
Just put the RealShopping.jar in your plugins folder and start and stop the server. A directory named RealShopping with a couple of files is created. You can edit the realshopping.properties config file if you like, but the default settings will suit most people.
I highly recommend Vault together with an economy plugin for the best economy management.
Documentation
Video tutorial
(This one is kinda old, feel free to make your own version and PM it to me)
Thanks to IngrownPenguin for making this tutorial!
Changelog
v0.50
Besides a rewrite of a lot of stuff, RealShopping version 0.50 comes with a few new, but important features. The smaller improvements which I originally had planned for 0.50 are postponed to 0.51, but here's what you get in this version:
- Added search option to /rsprices. Instead of browsing through several pages of prices you can now search for the item you need.
- Added aliases - Six hundred of them! That's more than enough for every item ID and data value combination. Instead of typing item IDs when executing commands you can write the name of the item, and the plugin will recongnize it. For a complete list and more detailed instructions, see the plugin page.
- Added interactive prompts for /rsset, /rssetstores and /rssetchests. This simplifies creating stores (especially ones with many entrances) and managing self-refilling chests. In case something goes wrong, all prompts can be aborted with quit.
- Added free manage mode to the /rssetchests prompt. Open a chest, put items in, and close it. The chest contents will be permanently updated.
- Added the multiplication sign to additems and delitems in /rssetchests. If you want to add the same item stack several times in a row to a chest, you can type it once and put a multiplication sign followed by a number behind. Examples are on the plugin page.
v0.44
I'm releasing this version just to add one function which I think is needed. Now stores will buy and sell partly-broken tools with a discount equal to the durability percentage.
Note that I am in the middle of rewriting parts of the code. Some of the commands now have slightly improved help options, but otherwise this makes it more likely for bugs to turn up. If you encounter one, please report it in the Tickets section and I will get it fixed. If you're wondering something, feel free to ask in the comments :)
Future features
These are some ideas that are on my mind for the future of RealShopping. If you have any, please post in the comments. I appreciate every suggestion :)
- The this alias, which you can use for the currently held item.
- The /rsme command, for managing store "news" subscriptions amongst others.
- Further improvement of the automatic store management.
- Extended and more customizable notifications.
- More creative ways to punish thieves and an improvement of the current.
- Even more smaller improvements!





-
View User Profile
-
Send Message
Posted Mar 4, 2013@salianifo
1) No, not currently. I'll add it to my todo list but it won't be one of my higher priorities for now.
2) Yeah, sure. I'll put up an english language pack as soon as I've updated it. I've been on vacation and haven't had much time to work on this lately, but hopefully it (together with a new version of RealShopping) will be up before the end of the week.
3) The problem with this is that you don't always know exactly what name an item has. I'd have to make some kind of "closest match" function, but I'll consider it :)
-
View User Profile
-
Send Message
Posted Mar 2, 2013Is there a way to set the stack size for refilling chests? I know they can just leave the store and reenter to buy more, but I'd like to only have one of each item in the refilling chests.
Also would you be able to have the default language pack as files instead of embedded. I'd like to customize messages, but don't want to re do it from the Swedish translation.
It would also be nice if we could use the item names instead of ids. I personally don't like having to look up the ids for every single item when adding stuff.
-
View User Profile
-
Send Message
Posted Jan 31, 2013@Execut4ble
Thanks! I'll consider using Item Frames in the future. I have some plans for alternative store set-ups which would be able to use them.
I think I should be able to make it possible to use doors instead of glass blocks/panes, although I see glass as a much cleaner solution. If it goes well you will be able to choose if you want to use door or glass blocks by the next version :)
-
View User Profile
-
Send Message
Posted Jan 31, 2013@darkmed34
I'm not sure I understand what you mean, but I will be focusing on updating the language pack for the next version. I will make a Swedish translation, but I don't speak French so you'll have to translate that one yourself.
-
View User Profile
-
Send Message
Posted Jan 31, 2013Great plugin and even better idea! I'll probably use it in my server.
By the way, I think it would be even more realistic if the shop used Item Frames, and the players could take the amount of items they need by rightclicking on the item frame. Each rightclick adds 1 more item to the stack.
Also, I really wouldn't want to use blocks (as shown in the video) as the entrance to my shop. Can I use Iron Doors, instead of Gold Blocks etc.? How about using normal doors instead of teleporting mechanism, and you could just set the shop door using a command, and if the player wants to leave without paying, he'd just get teleported back if he leaves the shop area.
Thank you for making this awesome plugin, I hope you'll think about my notices :)
-
View User Profile
-
Send Message
Posted Jan 29, 2013Please update for create 1 config_lang.yml for translate ( i am french and server french )
ENTERINSTORE=Enter in %Store
LEFTSTORE=Left the %Store#
...
-
View User Profile
-
Send Message
Posted Jan 29, 2013@cubary
Glad you like it :)
-
View User Profile
-
Send Message
Posted Jan 28, 2013THANK YOU FOR MAKING THIS IT'S SOOO MUCH BETTER AND EFFICIENT THAN SIGN SHOP :D
-
View User Profile
-
Send Message
Posted Jan 4, 2013@giverous
You can send a private message here on BukkitDev, I don't use my email so often :)
-
View User Profile
-
Send Message
Posted Jan 4, 2013I've found a number of expoits for this plugin, do you have an email address to which i can send the details?
-
View User Profile
-
Send Message
Posted Dec 29, 2012@Bengals1200
Should be the use flag in worldgaurd,
/rg f [region_name] use allow
-
View User Profile
-
Send Message
Posted Oct 30, 2012If someone's interested in alpha builds, they can be found on my GitHub. I just uploaded the first one.
They will not be reliable so make sure to read the CHANGESSINCELASTVERSION file if you want to try it. Both it and the .jar file are on the main page.
Next alpha will be uploaded tomorrow or the day after. Besides being more stable it will also support different prices for different item data (damage) values.
-
View User Profile
-
Send Message
Posted Oct 26, 2012@wakingsleeper
If you mean data value support (like 5, 5:1, 5:2, 5:3) then no, it's gonna be implemented in next version.
If you mean tool damage then yes, kind of. You can buy two half-broken swords for the price of one etc...
I'm not sure of when the next version is gonna be finished. Probably a week from now. Hope this helps! :)
-
View User Profile
-
Send Message
Posted Oct 25, 2012Hello i am wondering if this plugin has damage value support (im trying to run it on a tekkit server), i have some item number that have 6 or 7 items that are completely different and need different prices for each, was hoping you could either tell me im an idiot and let me know how to do it or add it in for next release??
Thanks
-
View User Profile
-
Send Message
Posted Oct 23, 2012@Bengals1200
I don't know, everything worked for me; I could enter stores by right-clicking though I was in an area where I couldn't place blocks, both in regular Bukkit 1.2.5R4 and Tekkit. You'll have to send me your RealShopping and WorlGuard files tomorrow. PM me!
By the way, which version of RealShopping are you using?
-
View User Profile
-
Send Message
Posted Oct 23, 2012@Bengals1200
It might be the 1.2.5R4 version of Bukkit which is causing the problem. I know Bukkit made some changes in the handling of events (like clicking stuff) some time ago, but I don't remember when. So it is possible that WorldGuard might be able to "block" the event form getting to RealShopping so to say. If that is the case I'll release an update for 1.2.5 :)
For now I'm gonna download 1.2.5R4 and Tekkit and do some testing. Stay updated :)
-
View User Profile
-
Send Message
Posted Oct 22, 2012@kuben0
Okeydokey. Well I gave my players /rsenter, but they would just like to click on the glass. So I made a little Test shop in an unprotected area, and told some players to click the glass. They entered the store with no problem. We went back to the spawn, and they could not enter. I don't have anything else (Plugins) that would conflict users from clicking the glass. I even went on the logs to see if there were any SEVERE's. So it has to be the WorldGuard. I'm not sure what I could do about this. It might be because it's a Tekkit server? But even then, I downloaded the 1.2.5R4 which is needed for Tekkit; so I highly doubt that Tekkit would be the problem. Maybe if there is no way to fix it, can you make an update? For 1.3.2 and 1.2.5R4? So I may have the update as well. Because it must be the WorldGuard which really sucks :/ Thanks for reading!
-
View User Profile
-
Send Message
Posted Oct 22, 2012@Bengals1200
I don't know, I've never used WorldGuard before. However it shouldn't make any difference if the region is protected or not. Whenever a player clicks the glass, an event is sent to ALL the plugins. So it doesn't matter if WorldGuard prevents the players from building or not. I just tried that on my server and I could still enter the store by clicking the glass.
The problem is probably something else. Try to enter the store with /rsenter instead and see if it works. If not, WorldGuard is not the problem. Either way respond with a comment and I will help you further :)
-
View User Profile
-
Send Message
Posted Oct 21, 2012I am having a problem. The spawn is protected with World Guard so no one can build or break blocks at spawn. I set a flag enabling users to open chests for the shops, but they can't right click the glass. Is there any flag in World Guard that can allow them to right-click the glass and obsidian without having to add them to World Guard? Because I cannot add 82 players to the spawn! Is there a flag?
-
View User Profile
-
Send Message
Posted Oct 21, 2012@kuben0
Ok, thanks very much