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 Sep 4, 2012This plugin is great! Thank you so much! In the next update, would it be possible to prevent players from eating in a shop? I would like to make a food store but the players are able to fill up and leave for free.
-
View User Profile
-
Send Message
Posted Sep 1, 2012@jwmpine
I'm not sure about how RealShopping could work with DynamicEconomy (because they have command based buying and a preset stock) but I like your idea :) I'm gonna try to figure out a way of having dynamic prices based on the global request of an item.
-
View User Profile
-
Send Message
Posted Sep 1, 2012I wanted to know if your plugin can work with dynamic economy because I want a price difference happening based on what people buy from other stores. So when player open their own store they can check global average prices and set their prices to that.
-
View User Profile
-
Send Message
Posted Aug 27, 2012@kuben0
okay, thanks,
-
View User Profile
-
Send Message
Posted Aug 26, 2012@Kayuka
That's not possible, the mod still stores the same information about a player even when he's logged out. It wouldn't let you exit through the door.
You getting free items must be because of something else, maybe a price wasn't added for the items, or you were in creative mode. When you are in creative It will always let you exit, out of practical reasons.
http://dev.bukkit.org/server-mods/realshopping/tickets/ is where you can post bugs, by the way :))
-
View User Profile
-
Send Message
Posted Aug 26, 2012I found (Sorry if its already posted or not a bug) this bug, if you take stuff out the chests in the store then disconnect from the server and join back, you get the stuff free. (Prob not the place to post this but oh well,)
-
View User Profile
-
Send Message
Posted Aug 22, 2012@Kayuka
That's possible. As long as it's a player owned store (created with rssetstores) and you are the owner, you get the money from all items the players buy. Creating infinite chests is blocked but if you find another plugin to do that it'll work.
However there is a way you could do it with only my plugin if you are the server owner. First you create an admin store (rsset) and add the desired infinite chests. Then you find Plugins/RealShopping/shops.db in your server folder and open it in notepad. Find the line for your store and swap "@admin" for your in-game name. Reload the server (or just rsreload if you want) and voilà - it's done!
I don't really see the point of it though, earning money off stuff that isn't yours, sounds like cheating ;)
-
View User Profile
-
Send Message
Posted Aug 22, 2012@kuben0
what if you set up a shop that has no infinite chests, but attach a sign or something from another plugin to make the chest infinite? or is that not possible/blocked?
-
View User Profile
-
Send Message
Posted Aug 22, 2012@gadgetzombie
Well, you can't. You can only make money off items that are yours and the ones from infinite chests are spawned out of nowhere. Therefore only admin stores (without an owner) can have infinite chests.
-
View User Profile
-
Send Message
Posted Aug 22, 2012I made a shop and it has 5 unlimited chests in it and people buy stuff and their balance goes down but as owner of the shop how do I earn money from it? I know I can earn money from the non-infinite chests but I would like to earn money from the infinite ones. Thanks
-
View User Profile
-
Send Message
Posted Aug 20, 2012@kuben0
Ok I understand now, I'm going to see how I can make that work for my store area or try and find something where you can throw all your junk in a chest and get money and combine the 2 plugins and hope it works out together. Thanks for the help.
-
View User Profile
-
Send Message
Posted Aug 20, 2012@Virusbomb
Well the selling function is unfortunately more complicated than that, and I don't think I explained it good. You see, I couldn't make it so you just put the items in a chest and get paid (which would feel logical) because other players would be able to take the items out before you would get paid for them, and that would just cause a lot of trouble.
Here's how you do it instead: First you create a special cash register for selling things, which is an obsidian block with a brown mushroom on top. Then you right-click it with the whole stack of items you want to sell. For now they will stay in your inventory but the mod sees them as sold. You can proceed to sell other items and then at last you right-click the obsidian with nothing in your hand to confirm the sell. That's when you get the money and the items disappear from your inventory. HOWEVER there's some kind of lag (which I'm pretty sure is Bukkits fault) which makes it look like you still got the items. Your inventory is updated when you open a chest or something.
Hope you understand :)
-
View User Profile
-
Send Message
Posted Aug 20, 2012@hayao57
Oh, I didn't think of that. I'll add an extra parameter for the world name or something like that. I hope I'll be able to release a new version in a few days.
Glad you enjoy the mod :))
-
View User Profile
-
Send Message
Posted Aug 20, 2012So I've set up a store and some unlimited chests, and I made it so you can sell to the chests and get 100% of the buying cost. But now I'm stuck, when I put anything into the chests I get no credit and if i take them out it charges me. Can anyone explain what I'm missing?
-
View User Profile
-
Send Message
Posted Aug 20, 2012hi, thank you for this plugin! It's a really nice one, our players are learning how to use it, but already love it!! We just have a problem with the jail, hel and item's dropping positions. We use it on a multiworld server, and the coordinate can not be set for each worlds. Is it possible to implement this fact in your pluggin? as creating a coordinate system for each world, or define a coordinate system in one place for all the worlds?
-
View User Profile
-
Send Message
Posted Aug 18, 2012@breezeyboy
Sorry I've had too much on my head and I forgot about your comment. I just saw their video and I think they forgot to install Vault and an economy plugin, we'll see if they're gonna try again :)
-
View User Profile
-
Send Message
Posted Aug 17, 2012i just downloaded this and tried to set entrance and exit but when i did create it said theres no entrance??? pm me if u can help ty
-
View User Profile
-
Send Message
Posted Aug 16, 2012@SmashShock
They go straight to your economy plugin account :)
-
View User Profile
-
Send Message
Posted Aug 15, 2012How do you get the money from the register as a shop owner?
-
View User Profile
-
Send Message
Posted Aug 15, 2012LOL woopagaming failed at a video of this