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!
Hi! I am having a little trouble with this plugin. It seems as though the permissions are not working for anyone who is not opped. I have installed other plugins that require permissions and they work just fine, but whenever I try the permissions for this particular plugin, they seem to not function for anyone who is not an operator. Is there a possible fix or something I could perhaps be missing? Thanks for the help!
Where is update for 1.8 ?
I cant import prices? I did everything exactly how you said but it tells me I dont have the poi libs
Can we associate TimeIsMoney with realshopping ? cause, when i do /money and I sell item on the obsidian, and I do /money again, I have the same amount
when a player tries to sell there items it says: "Not buying from players" how do i fix this???
@duhoverdrive
Thank you for testing! please send me your excel file via PM so I can try to reproduce the bug by myself and ship a fix for the imminent release.
I tried to import the excel file after following the instructions for importing. It gives me a no class def found error. I renamed and placed all of the proper files into plugins/lib and i restarted my server just to be extra sure.
@Rouchesta
Please be more accurate. Is a bug when setting or importing prices? When this happens? What build of RealShopping are you using? Feel free to submit a ticket in our page with all the informations we need to identify and fix that bug. And thanks for testing RealShopping
Why some prices like Cobblestone, Sand, ... decrease to 0.0$ (Buy Price). I don't understand 0.o
@Bodrochowski
Check our last commit on github, now we're leading to a 1.7.2 update with massive changes on item sell & buy.
You're now able to sell custom lore items and different items of the same type with different data.
RealShopping seems to ignore any items that have a colon in? For example, Splash Potion of Poison with ID 373:16388 is priced the same as a water bottle (373).
No matter what I do - changing the price in the xml or doing it through minecraft - it ignores it. In fact it deletes the entry in the xml if I add it.
However if in the xml I use a semicolon instead of a colon, it doesn't delete it, but just prices it as 0.
@IGMariocus
Try to compile our last realshopping snapshot from github. But you have to save your prices.xml because this new version needs a new prices.xml format. The best way will be backupping Realshopping folder and starting with a fresh one. The finished version will have an automatic prices converter eventually.
@tadukoo
stengun is now working with me on RealShopping and as he said, we're working on the problem. In the future, please submit bug reports in the Tickets section.
Thanks
@tadukoo
That error will be fixed in the shortcoming update. You're trying to sell an object that you don't own.
When I try to sell items to a shop, it takes the items, but gives an error in the console:
And it doesn't give me any money for the items.
@IGMariocus
Not sure I understand what you mean, but when you log back in you're still in the store so you can't run away with the items.
When you log off after taking the few objects in the store, We keep inventory. Is that it is possible to clean the inventory when you log off
@Ketsuna
It's a great idea and I'll definitely think about it. If I think of some good way to do it, then I'll implement it :)
Hi, so far our server loves your plugin, however we'd like to be-able to setup bulk buying. ie. buying a stack of cobble for $0.01. Is there anyway you could implement this some time in the future?