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 Jun 13, 2013@kuben0
Oh I see that makes perfect sense. Thanks for the quick reply and thanks for the amazing mod!
-
View User Profile
-
Send Message
Posted Jun 13, 2013Very serious problem: not getting a config folder
this is making my life a bit difficult as there is nowhere to save rs data when i reset and/or stop my server
EDIT: found it but it still doesn't save, will try backing it up
-
View User Profile
-
Send Message
Posted Jun 13, 2013@Zorbeez
Yes, it would be too complicated to have it put back in a chest, because what if that chest already is full?
Instead the plugin remembers stolen items. By using /rsstores STORE collect all "stolen" items will be dropped where you're standing. Or you can stand on top of an empty chest and do /rsstores STORE collect -c and the items will be put in that chest :)
-
View User Profile
-
Send Message
Posted Jun 13, 2013I had a player grab an item from the chest and do /town spawn to get out of the store. It detected he left the store and removed the item from his inventory, but it didn't put it back in the chest. The item just got deleted. Am I missing something?
-
View User Profile
-
Send Message
Posted Apr 28, 2013@tracy12364
That's because the players need the right permissions. OPs have all permissions automatically and that's why they can do stuff. Permissions are on the bottom of this page.
If you don't know how to set up permissions then look for it at the forums, or find a permissions plugin :)
-
View User Profile
-
Send Message
Posted Apr 27, 2013I Love it! But there's two problems, First one is, No one can get in shop entrance (Glass) Except ops and the second thing is that only ops can access the chests! BTW i'm using v0.44 cause i have minecraft bukkit 1.5.1
-
View User Profile
-
Send Message
Posted Apr 27, 2013@Incompy
Answer to the PM i sent you
-
View User Profile
-
Send Message
Posted Apr 27, 2013My players and I are being charged a lot for nothing, what's going on?
I went in to sell items then when I left, it wouldn't let me saying I haven't paid for my articles. I pay and it turns out I owed 1000+ dollars?
-
View User Profile
-
Send Message
Posted Apr 22, 2013Chests were deleted from shops randomly again.
-
View User Profile
-
Send Message
Posted Apr 21, 2013@phlegacy
Oh, I actually hadn't thought of that.I'm re-writing some of the commands today so I'll add that too :)
-
View User Profile
-
Send Message
Posted Apr 21, 2013@kuben0
Oh okay, that makes sense. Also, is there a way to delete an entrance/exit without deleting the store?
-
View User Profile
-
Send Message
Posted Apr 21, 2013@Incompy
In that case I have no ideas of what is happening. If you want to, you can send me your RealShopping folder in a .zip file in a private message, and I'll run some tests on the stores, and try to find what's wrong.
-
View User Profile
-
Send Message
Posted Apr 21, 2013@phlegacy
Well, if you server should start without RealShopping running for some reason, then players would be able to open the doors as usual and raid the store.
Also it may be possible, though the bukkit team has done a great job and I doubt it would happen, that a player could open a door due to severe lagging or a bug or something. If you run a stabile server then you should be safe.
I'll keep this method because it is more open to customization. You can set up the entrance and exit so it just teleports you to the other side if you like.
Here, I made an example image which I'm gonna put up on the setting up page soon. http://dev.bukkit.org/server-mods/realshopping/images/18-example-entrance-set-ups/
-
View User Profile
-
Send Message
Posted Apr 20, 2013In your updates, what do you mean by "although glass is safer"? I just want to know before I implement the doors.
Edit: Also, the entrance/exit method is a bit tedious for the door situation. Perhaps make it so it acts the same way a compass does and just teleports you to the otherside of the object?
-
View User Profile
-
Send Message
Posted Apr 20, 2013@kuben0
I used /rsset to make my store.
-
View User Profile
-
Send Message
Posted Apr 20, 2013@Incompy
The chests aren't working because you made the store "yours" somehow. Admin chests only work in admin stores (that is the ones created with /rsset and not /rssetstores). My guess is that you propably mixed up those commands, and it's likely that was what wiped out the entrances too.
You could fix the chests by opening the shops.db file in notepad or something, and change your username in the line about your store to @admin. Like this:
NameOfStore:world:kuben: numbers and stuff....
to
NameOfStore:world:@admin: numbers and stuff....
Or if you don't want to do that you could just delete the store completely, and start over. This time use only /rsset
-
View User Profile
-
Send Message
Posted Apr 20, 2013@kuben0
Now my admin chests just stopped working. They just stopped refilling themselves and the plugin just forgot about them, and the random entrance/exit clearing happened again.
I can't find any other plugins I like for shopping as much as this one, but this is getting out of hand. I find myself checking up on the one shop I have every 10 minutes to make sure it's going the way I want it to.
-
View User Profile
-
Send Message
Posted Apr 20, 2013@Incompy
Ok, so it works now. I'll look in the code for something that might have wiped them out.
-
View User Profile
-
Send Message
Posted Apr 20, 2013@kuben0
Just the entrance and the exit. The shop was still there so I just copied the prices over and remade all the admin chest shops.
-
View User Profile
-
Send Message
Posted Apr 19, 2013@notmyaccount
It's a file in plugins/RealShopping. Everything you need is on the config page
@Incompy
I can't know just like this why it happened. You gotta be more specific. Did only the entrances/exits disappear? You would be able to "see" the store with /rsstores then. Or are all stores gone?
Did you/somebody type a weird command? Maybe someone who shouldn't has permissions for deleting stores.