! ! ! 这是一个已弃用的数据包。请在此处下载新版本 here。
Galaxy's Server Economy
功能:
- 余额系统
- 支付系统
- 股票市场
- 借记卡 / 支付终端
使用说明:
余额系统:
使用 /trigger ShowBalance 查看你的余额
要从账户中存入/取出钻石,你需要召唤一些交互实体:
使用 /function galaxyseconomy:summon_atm/[direction] 召唤预设的自动取款机。
使用 /kill @e[tag=ATM,distance=..1] 移除一个自动取款机。
注意:
- 将 [direction] 替换为 north(北)、east(东)、south(南)或 west(西)。请使用自动取款机所朝向的方向。
你也可以自定义自动取款机。
使用
/summon interaction ~ ~ ~ {width:[width here]f,height:[height here]f,response:1b,Tags:["bank_interaction","bank_diamond_sell"]}
召唤一个存款交互实体。
使用
/summon interaction ~ ~ ~ {width:[width here]f,height:[height here]f,response:1b,Tags:["bank_interaction","bank_diamond_buy"]}
召唤一个取款交互实体。
注意:
- 将 [width here] 和 [height here] 替换为正数,以描述交互实体的大小
支付系统:
使用 /trigger Pay set [amount] 向 10 格半径内最近的玩家付款
股票市场:
股票市场也使用交互实体来买卖股票(矿石):
使用
/summon interaction ~ ~ ~ {width:[width here]f,height:[height here]f,response:1b,Tags:["bank_interaction","bank_[stock]_<sell/buy>"]}
召唤一个股票交易交互实体。
注意:
- 将 [width here] 和 [height here] 替换为正数,以描述交互实体的大小
- 将 <sell/buy> 替换为 "sell"(卖出)或 "buy"(买入),根据你的需求选择
- 将 [stock] 替换为任意股票。支持的股票包括:
- redstone(红石)
- lapis(青金石)
- iron(铁)
- copper(铜)
- gold(金)
- emerald(绿宝石)
- netherite(下界合金)
使用 /scoreboard players set [Stock] Stock [amount] 设置股票价格
注意:
- 将 [amount] 替换为以美分为单位的价格
- 例如 $3.79 -> 379
- 将 [Stock] 替换为任意股票
- 首字母必须大写
emerald-> Emerald
借记卡 / 支付终端:
使用
/give @s name_tag{display:{Name:'{"text":"Debit Card","color":"light_purple","italic":false}'},DebitCard:1b}
给自己一张借记卡。
注意:
- 如果你知道如何操作,你可以修改此物品的属性(如名称、描述等)。只需确保标签
DebitCard:1b仍然存在即可。
使用 /function galaxyseconomy:summon_payment_terminal/[direction] 召唤一个支付终端。
站在上面并使用 /trigger ClaimPaymentTerminal 认领它。
使用 /kill @e[tag=PaymentTerminal,distance=..1] 移除一个支付终端。
使用
/give @s name_tag{display:{Name:'{"text":"Payment Terminal Key","color":"light_purple","italic":false}'},TerminalKey:1b}
给自己一把支付终端钥匙。
支付终端拥有自己的“银行账户”。使用钥匙点击 刷卡 按钮来领取你的收益。
注意:
- 将 [direction] 替换为 north(北)、east(东)、south(南)或 west(西)。请使用面向客户的方向
- 这将在你脚下生成/销毁一个支付终端
- 如果你知道如何操作,你可以修改钥匙物品的属性(如名称、描述等)。只需确保标签
TerminalKey:1b仍然存在即可。
使用 /tag @s add EconomyBankSubscriber “订阅”高级订阅服务,允许你:
使用 /trigger SellAll[Stock] 出售库存中所有的股票方块。
使用 /trigger BuyAll[Stock] set [amount] 购买组股票方块。
注意:
- 将 [Stock] 替换为任意股票
- 首字母必须大写
emerald-> Emerald
- 将 [amount] 替换为任何正整数,以描述你想购买的股票方块组数
! ! ! This is a deprecated data pack. Download the new version here.
Galaxy's Server Economy
Features:
- Balance System
- Pay System
- Stock Market
- Debit Cards / Payment Terminals
Usage Instructions:
Balance System:
Use /trigger ShowBalance to see your balance
To depoit / withdraw Diamonds from your account, you'll need to summon some interactions:
Use /function galaxyseconomy:summon_atm/[direction] to summon the preset ATM.
Use /kill @e[tag=ATM,distance=..1] to remove an ATM.
Note:
- Replace [direction] with either north, east, south, or west. Use the direction the ATM is facing.
You can also customize ATMs.
Use
/summon interaction ~ ~ ~ {width:[width here]f,height:[height here]f,response:1b,Tags:["bank_interaction","bank_diamond_sell"]}
to summon a deposit interaction.
Use
/summon interaction ~ ~ ~ {width:[width here]f,height:[height here]f,response:1b,Tags:["bank_interaction","bank_diamond_buy"]}
to summon a withdraw interaction.
Note:
- Replace [width here] and [height here] with a positive number describing the interaction's size
Pay System:
Use /trigger Pay set [amount] to pay the nearest Player in a 10-block radius
Stock Market:
The Stock Market also uses interactions to buy/sell stock (ores):
Use
/summon interaction ~ ~ ~ {width:[width here]f,height:[height here]f,response:1b,Tags:["bank_interaction","bank_[stock]_<sell/buy>"]}
to summon a stock interaction.
Note:
- Replace [width here] and [height here] with a positive number describing the interaction's size
- Replace <sell/buy> with either "sell" or "buy" depending on your needs
- Replace [stock] with any stock. Stocks include:
- redstone
- lapis
- iron
- copper
- gold
- emerald
- netherite
Set stock prices with /scoreboard players set [Stock] Stock [amount]
Note:
- Replace [amount] with the price in cents
- i.e. $3.79 -> 379
- Replace [Stock] with any stock
- First letter needs to be caps here
emerald-> Emerald
Debit Cards / Payment Terminals:
Use
/give @s name_tag{display:{Name:'{"text":"Debit Card","color":"light_purple","italic":false}'},DebitCard:1b}
to give yourself a Debit Card.
Note:
- If you know how to, you may modify this item's attributes (like name, lore, etc.). Just make sure the tag
DebitCard:1bis still there.
Use /function galaxyseconomy:summon_payment_terminal/[direction] to summon a Payment Terminal.
Stand on it and use /trigger ClaimPaymentTerminal to claim it.
Use /kill @e[tag=PaymentTerminal,distance=..1] to remove a Payment Terminal.
Use
/give @s name_tag{display:{Name:'{"text":"Payment Terminal Key","color":"light_purple","italic":false}'},TerminalKey:1b}
to give yourself a Payment Terminal Key.
The Payment Terminal has its own "bank account". Use the Key on the Tap Card button to claim your earnings.
Note:
- Replace [direction] with either north, east, south, or west. Use the direction facing your customers
- This will spawn/kill a Payment Terminal at your feet
- If you know how to, you may modify the Key item's attributes (like name, lore, etc.). Just make sure the tag
TerminalKey:1bis still there.
Use /tag @s add EconomyBankSubscriber to "subscribe" to a premium subscription that allows you to:
Use /trigger SellAll[Stock] to sell all blocks of stock in your inventory.
Use /trigger BuyAll[Stock] set [amount] to buy stacks of blocks of stock.
Note:
- Replace [Stock] with any stock
- First letter needs to be caps here
emerald-> Emerald
- Replace [amount] with any positive integer that describes the amount of stacks of blocks of stock you'd like to buy
Bugs / Questions:
Please report any bugs / suggestions / questions on the linked discord
下载 GalaxyByne's Economy
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GalaxyByne's Economy
下载 GalaxyByne's Economy
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GalaxyByne's Economy
下载 GalaxyByne's Economy
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GalaxyByne's Economy
下载 GalaxyByne's Economy
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GalaxyByne's Economy
版本 Beta 1.2.1
- 修复了
/trigger ClaimPaymentTerminal
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
数据包
此数据包添加了属于阿瓦里海盗的独特结构,将他们的独特风格带入你的 Minecraft 世界!兼容性:1.20 至 26.3
数据包
一个 Minecraft 光线投射库,能够精确检测玩家正在查看的方块,包括像台阶和楼梯这样的特殊方块形状。
数据包
此数据包添加了新的“祝福模式”难度。
数据包
允许服务器管理员方便地禁用 Xaero's Map 系列模组中的实体雷达、小地图等功能,使竞技游戏更加公平。
数据包
使用原版/生存友好的方法更改青蛙的变种类型。支持原版(寒冷、温带、温暖)以及可选的“More Frogs 2”变种:深红、末影、地狱、毒镖、紫珀、幽匿、灵魂、诡异和木头。
数据包
手持潜影盒时可直接打开,无需将其放置在地面上。只需按住 Shift 并右键点击即可访问你的潜影盒。
评论 0
登录后参与评分
还没有评论,来抢沙发吧