RealShopping v0.50
现已提供 ALPHA 版本
0.51 更新版的早期版本在获得批准后即可下载。请测试该版本并帮助我们发布无 Bug 的正式版本!在下载前,请务必阅读变更日志页面中的免责声明!
RealShopping 是一款力求尽可能逼真的商店插件。它可以使用 Vault 进行经济系统集成,强烈建议搭配使用。0.30 之前的源代码包含在 jar 包中,之后则托管于 GitHub
工作原理
通过右键点击“门”(可以是玻璃块或玻璃板)进入商店。插件会将你传送至店内,并记住你背包中的所有物品。然后你可以从商店里的箱子里取出想要购买的商品。接着走到收银台(顶部放有台阶的黑曜石块),右键点击它,插件便会识别你取走的物品并进行收费。最后,站在出口处右键点击门即可离开商店。
这是基本操作,也是该功能的起源。现在,RealShopping 拥有许多额外功能。浏览本页面的不同部分,看看是否有适合你的内容!
如果你不想阅读大量说明,可以通过观看页面下方的视频教程来掌握基础知识!:)
(点击图片可查看更高分辨率)

功能特性
- 可创建无限数量的商店。
- 支持物品 ID 和数据值的别名,可用于命令中。
- 每个商店拥有独立的价格设置。
- 支持自动补货的箱子。
- 带箱子的矿车充当购物车。
- 将购物车内的商品配送到你家中的箱子里。
- 若店主批准,可向商店出售物品。
- 支持语言包。
- 同时支持管理员商店和玩家拥有的商店。
- 可将玩家踢出或禁止进入你的商店。
- 对试图偷窃物品的玩家实施惩罚。
- 用户几乎无需使用命令即可获得良好体验。
- 自动更新器!
安装方法
只需将 RealShopping.jar 放入 plugins 文件夹,然后启动并停止服务器。系统将创建一个名为 RealShopping 的目录,其中包含若干文件。你可以编辑 realshopping.properties 配置文件,但默认设置已能满足大多数人的需求。
强烈推荐搭配 Vault 和经济类插件,以实现最佳的经济管理。
文档

视频教程
(此视频有些过时了,欢迎制作你自己的版本并通过私信发给我)
<p>感谢 IngrownPenguin 制作本教程!</p>
更新日志
(完整更新日志在此)
v0.50
除了大量重写之外,RealShopping 0.50 版本还带来了一些新的、重要的功能。我原本计划为 0.50 版本做的一些较小改进已推迟到 0.51 版本,以下是本版本的内容:
- 为 /rsprices 命令添加了搜索选项。你不再需要浏览多个页面的价格列表,现在可以直接搜索所需物品。
- 添加了别名——共六百个!这足以覆盖每种物品 ID 和数据值组合。执行命令时,你不再需要输入物品 ID,而是可以输入物品名称,插件会自动识别。如需完整列表和更详细的说明,请参阅插件页面。
- 为 /rsset、/rssetstores 和 /rssetchests 命令添加了交互式提示。这简化了商店的创建(尤其是入口较多的商店)以及自动补货箱的管理。如果出现问题,所有提示均可通过 quit 命令中止。
- 在 /rssetchests 提示中添加了免费管理模式。打开一个箱子,放入物品,然后关闭。箱子的内容将被永久更新。
- 在 /rssetchests 的 additems 和 delitems 中加入了乘号。如果你想在同一个箱子里连续添加相同的物品组,可以只输入一次,并在后面加上乘号和数字。示例见插件页面。
v0.44
我发布这个版本只是为了增加一个我认为必要的功能。现在商店会以耐久度百分比作为折扣来收购和出售部分损坏的工具。
请注意,我目前正在重写部分代码。一些命令的帮助选项略有改进,但除此之外,这可能会更容易出现 bug。如果你遇到了问题,请在 Tickets 板块报告,我会尽快修复。如果你有任何疑问,欢迎在评论区提问 :)
未来功能
以下是我对 RealShopping 未来的一些想法。如果你有任何建议,请在评论区留言。我非常感谢每一条建议 :)
- this 别名,可用于当前手持的物品。
- /rsme 命令,用于管理商店“新闻”订阅等功能。
- 进一步优化自动商店管理。
- 扩展并更个性化的通知系统。
- 更多惩罚小偷的创意方式,以及改进现有机制。
- 更多小型改进!
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)
<p>
Thanks to IngrownPenguin for making this tutorial!
Changelog
(Full changelog here)
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!
评论 0
登录后参与评分
还没有评论,来抢沙发吧