
分词化
这个项目为游戏添加了代币系统和商店,并且是服务器端的!
Tokenized
Tokenized 是一个数据包/模组,为游戏添加了每小时代币系统。附带一个物品商店。
命令
/trigger shop_(所选物品)
物品与价格
| 物品 | 数量 | 价格(代币) |
|---|---|---|
| 铁锭 | 32 | 5 |
| 煤炭 | 32 | 5 |
| 面包 | 16 | 5 |
| 钻石 | 4 | 12 |
| 末影珍珠 | 8 | 12 |
| 命名牌 | 1 | 10 |
| 附魔之瓶 | 16 | 1 |
| 钻石礼包 | 16 | 25 |
| 烈焰棒 | 8 | 16 |
| 三叉戟 | 1 | 50 |
| 鞘翅 | 1 | 85 |
| 不死图腾 | 1 | 38 |
| 潜影壳 | 2 | 40 |
| 信标 | 1 | 125 |
| 潜影盒 | 1 | 25 |
| 下界合金锭 | 1 | 50 |
我为什么制作这个
我为了我的 Minecraft 服务器(JSS)制作了这个数据包,如果你愿意可以加入它
play.jacobssillyserver.com
兼容模组
兼容模组及说明
- Melius Commands 配合下方自定义命令使用
Shop.json
{
"id": "shop",
"literals": [
{
"id": "balance",
"executes": [
{
"command": "trigger balance set 1"
}
]
},
{
"id": "iron_ingot",
"executes": [
{
"command": "trigger shop_iron_ingot set 1"
}
]
},
{
"id": "coal",
"executes": [
{
"command": "trigger shop_coal set 1"
}
]
},
{
"id": "bread",
"executes": [
{
"command": "trigger shop_bread set 1"
}
]
},
{
"id": "diamond",
"executes": [
{
"command": "trigger shop_diamond set 1"
}
]
},
{
"id": "ender_pearl",
"executes": [
{
"command": "trigger shop_ender_pearl set 1"
}
]
},
{
"id": "saddle",
"executes": [
{
"command": "trigger shop_saddle set 1"
}
]
},
{
"id": "name_tag",
"executes": [
{
"command": "trigger shop_name_tag set 1"
}
]
},
{
"id": "exp_bottle",
"executes": [
{
"command": "trigger shop_exp_bottle set 1"
}
]
},
{
"id": "diamond_pack",
"executes": [
{
"command": "trigger shop_diamond_pack set 1"
}
]
},
{
"id": "netherite_scrap",
"executes": [
{
"command": "trigger shop_netherite_scrap set 1"
}
]
},
{
"id": "blaze_rod",
"executes": [
{
"command": "trigger shop_blaze_rod set 1"
}
]
},
{
"id": "trident",
"executes": [
{
"command": "trigger shop_trident set 1"
}
]
},
{
"id": "elytra",
"executes": [
{
"command": "trigger shop_elytra set 1"
}
]
},
{
"id": "totem",
"executes": [
{
"command": "trigger shop_totem set 1"
}
]
},
{
"id": "shulker_shell",
"executes": [
{
"command": "trigger shop_shulker_shell set 1"
}
]
},
{
"id": "beacon",
"executes": [
{
"command": "trigger shop_beacon set 1"
}
]
},
{
"id": "shulker_box",
"executes": [
{
"command": "trigger shop_shulker_box set 1"
}
]
},
{
"id": "netherite_ingot",
"executes": [
{
"command": "trigger shop_netherite_ingot set 1"
}
]
},
{
"id": "dragon_egg",
"executes": [
{
"command": "trigger shop_dragon_egg set 1"
}
]
}
]
}
- Custom Chest Menus 使用此菜单
Token_Shop.json
{
"$schema": "https://raw.githubusercontent.com/MagnusHJensen/custom-chest-menus/refs/heads/main/docs/v1.schema.json",
"format_version": 1,
"id": "token_shop",
"name": "Token Shop",
"size": "single",
"filler": {
"slot": 0,
"item": "minecraft:light_gray_stained_glass_pane",
"name": " "
},
"pages": [
{
"title": "Token Shop",
"items": [
{
"name": "Iron Ingot x32",
"slot": 0,
"item": "minecraft:iron_ingot",
"action": {
"type": "command",
"command": "trigger shop_iron_ingot set 1",
"run_as_player": true
},
"lore": [
"Cost: 5 tokens"
]
},
{
"name": "Coal x32",
"slot": 1,
"item": "minecraft:coal",
"action": {
"type": "command",
"command": "trigger shop_coal set 1",
"run_as_player": true
},
"lore": [
"Cost: 5 tokens"
]
},
{
"name": "Bread x16",
"slot": 2,
"item": "minecraft:bread",
"action": {
"type": "command",
"command": "trigger shop_bread set 1",
"run_as_player": true
},
"lore": [
"Cost: 5 tokens"
]
},
{
"name": "Diamond x4",
"slot": 3,
"item": "minecraft:diamond",
"action": {
"type": "command",
"command": "trigger shop_diamond set 1",
"run_as_player": true
},
"lore": [
"Cost: 12 tokens"
]
},
{
"name": "Ender Pearl x8",
"slot": 4,
"item": "minecraft:ender_pearl",
"action": {
"type": "command",
"command": "trigger shop_ender_pearl set 1",
"run_as_player": true
},
"lore": [
"Cost: 12 tokens"
]
},
{
"name": "Name Tag x1",
"slot": 5,
"item": "minecraft:name_tag",
"action": {
"type": "command",
"command": "trigger shop_name_tag set 1",
"run_as_player": true
},
"lore": [
"Cost: 10 tokens"
]
},
{
"name": "Experience Bottle x4",
"slot": 6,
"item": "minecraft:experience_bottle",
"action": {
"type": "command",
"command": "trigger shop_exp_bottle set 1",
"run_as_player": true
},
"lore": [
"Cost: 1 token"
]
},
{
"name": "Diamond Pack x16",
"slot": 7,
"item": "minecraft:diamond",
"action": {
"type": "command",
"command": "trigger shop_diamond_pack set 1",
"run_as_player": true
},
"lore": [
"Cost: 25 tokens"
]
},
{
"name": "Blaze Rod x8",
"slot": 8,
"item": "minecraft:blaze_rod",
"action": {
"type": "command",
"command": "trigger shop_blaze_rod set 1",
"run_as_player": true
},
"lore": [
"Cost: 16 tokens"
]
},
{
"name": "Trident x1",
"slot": 9,
"item": "minecraft:trident",
"action": {
"type": "command",
"command": "trigger shop_trident set 1",
"run_as_player": true
},
"lore": [
"Cost: 50 tokens"
]
},
{
"name": "Elytra x1",
"slot": 10,
"item": "minecraft:elytra",
"action": {
"type": "command",
"command": "trigger shop_elytra set 1",
"run_as_player": true
},
"lore": [
"Cost: 85 tokens"
]
},
{
"name": "Totem of Undying x1",
"slot": 11,
"item": "minecraft:totem_of_undying",
"action": {
"type": "command",
"command": "trigger shop_totem set 1",
"run_as_player": true
},
"lore": [
"Cost: 38 tokens"
]
},
{
"name": "Shulker Shell x2",
"slot": 12,
"item": "minecraft:shulker_shell",
"action": {
"type": "command",
"command": "trigger shop_shulker_shell set 1",
"run_as_player": true
},
"lore": [
"Cost: 40 tokens"
]
},
{
"name": "Beacon x1",
"slot": 13,
"item": "minecraft:beacon",
"action": {
"type": "command",
"command": "trigger shop_beacon set 1",
"run_as_player": true
},
"lore": [
"Cost: 125 tokens"
]
},
{
"name": "Shulker Box x1",
"slot": 14,
"item": "minecraft:shulker_box",
"action": {
"type": "command",
"command": "trigger shop_shulker_box set 1",
"run_as_player": true
},
"lore": [
"Cost: 25 tokens"
]
},
{
"name": "Netherite Ingot x1",
"slot": 15,
"item": "minecraft:netherite_ingot",
"action": {
"type": "command",
"command": "trigger shop_netherite_ingot set 1",
"run_as_player": true
},
"lore": [
"Cost: 50 tokens"
]
},
{
"name": "Close Menu",
"slot": 26,
"item": "minecraft:barrier",
"action": {
"type": "close"
},
"lore": []
}
]
}
]
}
我未来可能会添加的内容
- 一个可轻松调整的商店(价格和物品)(实现起来会比较困难)
下次更新中的新增内容
正在加载版本记录…
正在加载评论…
评论在新手盒子客户端中发表,这里同步展示。