介绍
介绍由机器翻译自 Modrinth 原页面,仅供参考。
需要 FABRIC API 和 CLOTH CONFIG API
货币可以配置为钻石或任意物品。
使用钻石的基础经济系统。使用“/diamonds”命令(可在配置中更改),并支持以下子命令
- balance [Optional: player] – 告知用户该玩家(默认为自己)拥有多少钻石
- buy price [item] – 告知用户物品的购买价格
- buy [item] [Optional: int] – 购买 [int (default 1)] 个 [item]
- deposit [Optional: int] – 从物品栏存入 [int (defaults to no cap)] 数量的货币
- deposit hand [Optional: int] – 从手持物品中存入 [int (defaults to unlimited)] 数量的货币
- deposit [item] [Optional: int] – 从物品栏存入 [int (defaults to unlimited)] 个 [item]
- sell price [item] – 告知用户物品的出售价格
- sell hand [Optional: int] – 出售手持物品中的 [int (default 1)] 个
- sell [item] [Optional: int] – 出售 [int (default 1)] 个 [item]
- send [player] [int] – 从你的账户扣除 [int] 个钻石,并存入 [player] 的账户
- top [Optional: int] – 告知用户当前排名,以及钻石数量最多的玩家和其持有的钻石数量
- withdraw [int] – 从你的账户中提取 [int] 个钻石,并尽可能减少所需物品数量
- withdraw [item] [int] – 从你的账户中以 [item] 的形式提取 [int] 个
仅限管理员使用的子命令:
- currency add [item] [int (sellValue)] [boolean (canSell)] [int (buyValue)] [boolean (canBuy)] [boolean inCurrencyList] – 添加一种货币物品并设置指定属性。对货币列表进行排序
- currency remove [item] – 将 [item] 移出货币列表。对货币列表进行排序
- currency sortList – 对货币列表进行排序;手动更改 diamondeconomy.sqlite 文件后运行
- currency set buyValue [int] – 将购买价格设为 [int];如果该物品在货币列表中,也会将出售价格设为 [int]。对货币列表进行排序
- currency set sellValue [int] – 将出售价格设为 [int];如果该物品在货币列表中,也会将购买价格设为 [int]。对货币列表进行排序
- currency set canBuy [boolean] – 如果为 true,则允许玩家购买该物品。对货币列表进行排序
- currency set canSell [boolean] – 如果为 true,则允许玩家出售该物品。对货币列表进行排序
- currency set inCurrencyList [boolean] – 如果为 true,则允许存入、提取、购买和出售该货币;同时将购买价格设为出售价格。对货币列表进行排序
- modify [players] [int] – 将玩家的货币数量调整 [int]
- set [players] [int] – 将玩家的钻石数量设为 [int]
常见问题
Diamond Economy 支持哪些 Minecraft 版本?
Diamond Economy 支持 Minecraft Java 版 1.16.4–1.21.1,共 18 个版本,可用的加载器:Fabric / Forge。下载时注意选择和你游戏版本一致的文件。
Diamond Economy 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
IAmSneak 的其他作品
查看全部 →Diamond Auction House
by IAmSneak
钻石经济拍卖行附属
241.7万
3 年前
Modrinth · CurseForge
Diamond Chest Shops
by IAmSneak
为 Diamond Economy 模组添加箱子商店
22.7万
3 年前
Modrinth · CurseForge
Phantom Config
by IAmSneak
让幻翼不再那么烦人。
3.3万
2 年前
Modrinth · CurseForge
Elytra Nerf
by IAmSneak
让鞘翅(略微)变差(算是吧)。建造火车。
3.2万
3 年前
Modrinth · CurseForge
评论
登录后评论和评分