signshop
适用于 Fabric 服务器的全功能玩家商店解决方案。灵感源自 Bukkit 平台的 ChestShop。
目前仍处于 Alpha 阶段,但已在 Beocraft(一个规模适中的生存 SMP 服务器)上稳定运行。技术文档正在编写中。
文档索引:
玩家指南
README 的这一部分包含作为玩家使用模组的教程。如果您正在寻找管理员指南,请向下滚动至 README 的 管理员指南 部分。
要创建告示牌商店,请在主手持有红石粉。点击装有商品的箱子,然后点击装有价格的箱子。
装有价格的箱子最初必须包含您计划出售的物品及其数量。价格箱还必须包含您计划用作货币的物品以及您打算收取的金额。
在点击了商品箱子和价格箱子后,点击第一行为 [trade] 的告示牌。告示牌的第一行必须是 [trade],其余行可以是任意文本。
目前仅支持箱子,尽管未来计划支持所有容器。
管理员指南
README 的这一部分介绍在使用此插件时的管理操作。
初始设置
此插件需要数据库连接,请创建数据库并在配置文件 config/signshop/config.properties 中设置参数。管理员命令即将推出。
database.password=password
database.url=jdbc\:mysql\://localhost\:3000/signshop
database.user=user
配置
非核心插件配置。
消息前缀
您可以更改此插件向玩家和管理员发送消息时添加的前缀。在示例消息 signshop >> Shop created sucsefully! 中,前缀为 signshop >> 。
prefix=§2§lsignshop§r >>
只需将此值留空即可禁用前缀。
prefix=
技术文档
README 的这一部分介绍 signshop 模组的技术内部工作原理。
这部分内容仍在编写中。
signshop
The all-in-one player shop solution for fabric servers. Idea based off
chestshop for bukkit.
Still in alpha, although it runs on beocraft (decently large survival smp). technical documentation in the works.
Document index:
- 1 Player guide
- 2 Admin guide
- 2.1 First setup
- 2.2 Configuration
- 3 Technical documentation
Player guide
This section of the README contains a tutorial on how to use the mod as a
player, if you are looking for the admin guide, go down to the admin
guide section of the README.
To create a signshop hold a redstone dust in your main hand. Click on the
chest containing the items, then click on the chest containing the price.
Chest containing the price at first must contain the item and the amount of
item(s) you plan to sell. The price chest must also contain the item you plan
on using as currency and in an amount you plan to charge.
After you have clicked on both the item and price chests click on a sign that
has [trade] as its first line. Sign has to have [trade] as its first line,
the rest can have whatever text you want.
Currently only chests work, although it is planned to make all containers work
in the future.
Admin guide
This section of the README goes over administration when using this plugin.
First setup
This plugin requires a database connection, create a database and set the
parameters in the config config/signshop/config.properties. Admin commands
coming soon.
database.password=password
database.url=jdbc\:mysql\://localhost\:3000/signshop
database.user=user
Configuration
Non-essential plugin configuration.
Message prefix
You can change the prefix that is added to messages this plugin gives to
players and admins. In an example message signshop >> Shop created sucsessfully!, the prefix is signshop >> .
prefix=§2§lsignshop§r >>
The prefix can be disabled by simply leaving this as an empty string.
prefix=
Technical documentation
This section of the README goes over the technical inner workings of the
signshop mod.
This part of the text is still being written.
评论 0
登录后参与评分
还没有评论,来抢沙发吧