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 Aug 3, 2013@SwiftnessQc
It uses Vault. Vault is a plugin which acts as a bridge between other plugins and (among other stuff) economy plugins. Thanks to this RealShopping doesn't need to decide on which economy mod to use, Vault handles it.
But of course, you need to have Vault installed. If you don't have it RealShopping uses it's own economy which is reeeeeeally basic. So just drop the Vault.jar to your plugins folder, and you're good to go, it doesn't need any setting up :)
-
View User Profile
-
Send Message
Posted Aug 3, 2013@SwiftnessQc
i gifure out how to sell it works now but what money system does it use it doesnt seems to reconise my essential money plugin i also tryed Iconomy and doesnt reconise it when i sold some stuff it didnt go to any of those 2 plugin ...
-
View User Profile
-
Send Message
Posted Aug 2, 2013how can i buy from other players ? i cant find the command to enable it when i click on the obsidian with a moshroom it says not buying from players also used this command : /rsstores store buyfor percent_of_original_price and it is still not working didnt showed me any error and in my files it is set at enable player to sell true
also when i try to buy something it says i cant afford it but i have 1,000$ and the item cost 1$ ... do i need to use a specific money plugin ?
-
View User Profile
-
Send Message
Posted Aug 2, 2013@kuben0
ok i will try that tanks for your help
-
View User Profile
-
Send Message
Posted Aug 2, 2013@marthijn99
Permissions are something I'm struggling with on my server too, so I don't know if I can help you. You could look around on the forums for tutorials on permissions but I think it's easiest with a permissions plugin. I use PermissionsEX. They have their own forums and their own wiki pages, so try to find help there.
-
View User Profile
-
Send Message
Posted Aug 1, 2013@kuben0
ah yes thats the problem sorry for my bad english thje porblem is i cant get in the store when i am not op
but hoe do i set up this permissions?
-
View User Profile
-
Send Message
Posted Aug 1, 2013@marthijn99
Sorry I don't understand. Is this another problem, or still the same one?
If you can't get in the store when not OP, it might be a permissions problem. You need to have the realshopping.rsenter and a couple more permissions for it to work. See this page.
-
View User Profile
-
Send Message
Posted Jul 31, 2013@kuben0
even when i try to do it your way like in the video it still is not working
-
View User Profile
-
Send Message
Posted Jul 31, 2013@kuben0
@ kuben0 sitl cant get in the store when i am no OP
and yes i created the store with prompt command but else it doenst work
-
View User Profile
-
Send Message
Posted Jul 30, 2013@marthijn99
I'm guessing you created the store with /rsset prompt which is supposed to make it an admin store, but I messed up in the code and it doesn't. So to change it to an admin store you have to open shops.db in a text editor (notepad), find the line with your store, which will look something like this:
name_of_store:world:your_user_name:0:notify:and_a_bunch_of_other_stuff
and change your username to @admin. Then save and reload with /rsreload.
I'm sorry for the inconvenience
-
View User Profile
-
Send Message
Posted Jul 30, 2013@kuben0
@kuben0
got it but how do i chance it in to a public store?
-
View User Profile
-
Send Message
Posted Jul 29, 2013@marthijn99
Are you by any chance in creative mode? If not, are you sure all prices are set-up correctly, does hitting the cash register say that you need to pay X$ ?
-
View User Profile
-
Send Message
Posted Jul 29, 2013i can just walk out the door without paying
-
View User Profile
-
Send Message
Posted Jun 21, 2013@asede
Just /rsimport. It opens up an interactive prompt, so it will ask you Which file do you want to import from? and give you a list of files. Then you type 1 or whatever number you choose. After that it asks you some more stuff, and finally it imports the prices :)
-
View User Profile
-
Send Message
Posted Jun 20, 2013how do you select which file you want from rsimport? hwo do you type that in? ive done /rsimport1 /rsimport 1
none work. help!
-
View User Profile
-
Send Message
Posted Jun 17, 2013@stengun
I guess I could add item lores (and enchantments while I'm on it) to the prices. But I won't start doing that for the next four weeks, because I'm abroad :/
If you understand my code :) and are willing to spend time to implement that then sure, I'll accept it if it looks decent. PM me if you're interested.
-
View User Profile
-
Send Message
Posted Jun 17, 2013Hi there!
Thank you, this is an awesome plugin, I use it and it's working very well. I have a feature request: can you please find a way to buy/sell custom items (like items with custom lore) with a separated price from the normal item?
Will you accept github pulls regarding this?
Regards.
-
View User Profile
-
Send Message
Posted Jun 16, 2013@kuben0
I'm back home. I'll get to work on playing with the plugin and I'll contact you in a couple of hours in regards to this plugin!
-
View User Profile
-
Send Message
Posted Jun 14, 2013Version 0.50 is finally uploaded, and should be available for download soon! Amongst other features are interactive prompts and item aliases, which should make your life a little easier now.
If you have any questions or suggestions, feel free to post in the comments :)
-
View User Profile
-
Send Message
Posted Jun 14, 2013@MoeBoy76
Which files don't save? Is the server running when you're checking? Because only prices.xml realshopping.properties and shops.db are saved when the server is running.