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 Apr 7, 2013@kuben0
I have added prices for all items, also there is cash register. and when anyone clicks door/glass/types /rsexit (I tried every possible way to make entrance). It just teleports him out without paying.
I'll try to create shop again and check whether this bug will occur.
EDIT: I recreated shop and now everything works well. I did everything the same way hmm. weird... The best shopping plugin i have ever had so far :)
-
View User Profile
-
Send Message
Posted Apr 7, 2013@szymekpl
How are they escaping? Just clicking on the glass/door and getting teleported out?
Another user had this problem too and it turned out that he had forgotten to add prices for all items he wanted to sell (however I don't find that likely in this case if they are being punished while teleporting out). Please check if everything is set up right and message me if not, because it's a serious bug then.
@FR33HUGS
Great that everything works for you :)
It turned out that it wasn't a bug. I had made a function which counts let's say 5 half broken tools as 2.5 tools, and then rounds up (always up) to 3. One half broken tool would always round up to 1 though which was the problem in you case. I'm gonna change that to X percent of uses to X percent of price and upload it tomorrow (if I don't have to fix any other weird bugs :D ).
-
View User Profile
-
Send Message
Posted Apr 7, 2013Maybe it's just me but people can quit shop without paying. There's also no punishment for them (only when they try to tp using command e.g. /spawn). No matter if there is door, glass as entrance/exit. Is there any way to fix that?
I'm using the latest beta build of Bukkit (1.5.1)
-
View User Profile
-
Send Message
Posted Apr 6, 2013@kuben0
It's good to know that it wasn't user error on my part, and not some other plugin conflicting. I wasn't getting any error messages so I wasn't sure.
Everything else, as far as I can tell, is working 100%.
-
View User Profile
-
Send Message
Posted Apr 6, 2013@FR33HUGS
Well, you're actually helping me a lot, and many features already come from suggestions :)
I checked that on my server, and it seems you're right. It's a bug in both the selling and buying functions, and I have no idea how of it snuck in. But I'm gonna find and fix it ASAP and upload a fixed version.
Thanks for the help, and I'm glad you like it :)
-
View User Profile
-
Send Message
Posted Apr 5, 2013@kuben0
Thanks for the reply, It's always nice to see a plugin developer responding to suggestions from their users =D
But I must be missing something about % durability lowering the price. Our server shop buys and sells low durability items for the same price as new ones.
It's not a big deal, our shop buys items for 50% value anyway, but basically that means our players can turn in their near dead pickaxe and get a new one half off.
Nonetheless, I seem to have found a shop plugin that my players actually enjoy so we'll likely be using it for the foreseeable future, thanks again.
-
View User Profile
-
Send Message
Posted Apr 5, 2013@FR33HUGS
Thanks for the support!
-
View User Profile
-
Send Message
Posted Apr 4, 2013Just a couple suggestions I think would add to the functionality of this plugin.
Having an option like "/rssetprice add this:10" to set the currently held item to $10 without having to look up an item ID etc. would be cool.
Also an option to turn off the selling of damaged tools/armor to the store, or an option to lower the price depending on the condition of the tool. (i.e. a pickaxe with 50 durability selling to the store for 50% of the normal sell price.) I've found in other shop mods that I've used that players with a pickaxe with 1 durability left can sell it to the store for the same price as a new pickaxe, and then go buy a new one.
Just my thoughts. We're loving the plugin so far, Thank You!
-
View User Profile
-
Send Message
Posted Apr 1, 2013@kiracookie
It would function normally. RealShopping just stores item IDs (and data values). It doesn't care if such an item exists or not. So it will work on every future version and even Tekkit if you like.
-
View User Profile
-
Send Message
Posted Mar 31, 2013If I tried to use the 1.4.7 version on a 1.5.1 server, and someone tried to input a new item such as marble or the redstone block, would it still read it and function normally? Or would it give the user some type of error message and be unable to buy/sell the new items that mojang has added into the game?
-
View User Profile
-
Send Message
Posted Mar 31, 2013@kiracookie
There's no Bukkit for 1.5 yet except for a development version, but it doesn't really matter because they don't change that much in the API each version. That means that mods are in most cases both forwards and backwards compatible. So no, it's still long till I release an update.
And no, you just have command permissions and the realshopping.properties file. Replenishing chests are only possible to set up in admin stores though, so as long as only admins have the rsset permission you'll be fine :)
-
View User Profile
-
Send Message
Posted Mar 31, 2013Will this be updated for 1.5 soon? Also I was wondering if you had different nodes set up so if I wanted users to be able to use this on a survival server, I would be able to make sure that they don't set up replenishing chests?
-
View User Profile
-
Send Message
Posted Mar 25, 2013@caleb12134
I sent you a private message, we'll discuss there :)
-
View User Profile
-
Send Message
Posted Mar 25, 2013Yeah i followed that video above. ??? U want a copy of the setup file or will that not help?
Thanks
-
View User Profile
-
Send Message
Posted Mar 25, 2013@caleb12134
Propably you have something set-up wrong. Did you follow the instructions? Please PM me.
-
View User Profile
-
Send Message
Posted Mar 24, 2013People in my store can leave without paying????? Please help. I had to shut down store??? how do i make it to where they cant leave until they put it back or pay??
-
View User Profile
-
Send Message
Posted Mar 21, 2013@ogr93
Not currently, but I can implement it to the next version. What kind of groups do you mean?
-
View User Profile
-
Send Message
Posted Mar 20, 2013is posible to set up a number limit of shops for each group?
-
View User Profile
-
Send Message
Posted Mar 13, 2013@salianifo
Thanks, I'm uploading 0.43 now. Sorry I couldn't finish it last week.
For the version after I'm gonna take some time to clean up a lot in the code. It's getting more and more chaotic, and I can barely find anything anymore. All new features will unfortunately have to wait before I start coding them, but it will give me some time to think through which I'm gonna implement.
So we'll see about this particular request, it may be that it's too complicated (multiple users accessing chests and so on..) to be reliable, but I'll definitly think about it :)
Oh, and by the way here's the english language pack:
https://github.com/kuben/realshopping/blob/master/langpacks/english.xml
-
View User Profile
-
Send Message
Posted Mar 13, 2013I have another request, would there be a way to designate a chest as a buy/sell chest? So instead of the shop owner having to manually collect items bought from players, that they would go into a chest the be sold to other players. I'd like to make an admin shop that is basically a pawn shop. Players sell stuff to it, and other players can buy that stuff. Maybe make it so you can set a chest to deposit items bought from players into, similar to making an infinite chest, and when it got full, it would keep the excess sold items until there is room for them in the chest.
I'm really looking forward to the next update of this plugin, it really goes well with the theme of my server! Keep up the good work ^_^