Tokenized

模组

· 作者 JacobA0225

该项目为游戏添加了代币系统和商店,并且是服务器端的!

0 本站下载 0 关注 更新于 9 个月前

最新 1.0.1-mod · 26.2 · Fabric / Forge

一键开服(送7天)

Tokenized

Tokenized 是一个数据包/模组,为游戏添加了每小时代币系统。并附带一个物品商店。

命令

/trigger shop_(选择物品)

物品与价格
物品 数量 价格(代币)
Iron Ingot 32 5
Coal 32 5
Bread 16 5
Diamond 4 12
Ender Pearl 8 12
Name Tag 1 10
Bottle o' Enchanting 16 1
Diamond Pack 16 25
Blaze Rod 8 16
Trident 1 50
Elytra 1 85
Totem of Undying 1 38
Shulker Shell 2 40
Beacon 1 125
Shulker Box 1 25
Netherite Ingot 1 50

制作原因

我为我的 Minecraft 服务器(JSS)制作了此数据包,如果你想加入的话可以随时来玩。

play.jacobssillyserver.com

兼容模组

兼容模组及使用说明
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"
        }
      ]
    }
  ]
}
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": "代币商店",
  "size": "single",
  "filler": {
    "slot": 0,
    "item": "minecraft:light_gray_stained_glass_pane",
    "name": " "
  },
  "pages": [
    {
      "title": "代币商店",
      "items": [
        {
          "name": "铁锭 x32",
          "slot": 0,
          "item": "minecraft:iron_ingot",
          "action": {
            "type": "command",
            "command": "trigger shop_iron_ingot set 1",
            "run_as_player": true
          },
          "lore": [
            "花费:5 代币"
          ]
        },
        {
          "name": "煤炭 x32",
          "slot": 1,
          "item": "minecraft:coal",
          "action": {
            "type": "command",
            "command": "trigger shop_coal set 1",
            "run_as_player": true
          },
          "lore": [
            "花费:5 代币"
          ]
        },
        {
          "name": "面包 x16",
          "slot": 2,
          "item": "minecraft:bread",
          "action": {
            "type": "command",
            "command": "trigger shop_bread set 1",
            "run_as_player": true
          },
          "lore": [
            "花费:5 代币"
          ]
        },
        {
          "name": "钻石 x4",
          "slot": 3,
          "item": "minecraft:diamond",
          "action": {
            "type": "command",
            "command": "trigger shop_diamond set 1",
            "run_as_player": true
          },
          "lore": [
            "花费:12 代币"
          ]
        },
        {
          "name": "末影珍珠 x8",
          "slot": 4,
          "item": "minecraft:ender_pearl",
          "action": {
            "type": "command",
            "command": "trigger shop_ender_pearl set 1",
            "run_as_player": true
          },
          "lore": [
            "花费:12 代币"
          ]
        },
        {
          "name": "命名牌 x1",
          "slot": 5,
          "item": "minecraft:name_tag",
          "action": {
            "type": "command",
            "command": "trigger shop_name_tag set 1",
            "run_as_player": true
          },
          "lore": [
            "花费:10 代币"
          ]
        },
        {
          "name": "经验瓶 x4",
          "slot": 6,
          "item": "minecraft:experience_bottle",
          "action": {
            "type": "command",
            "command": "trigger shop_exp_bottle set 1",
            "run_as_player": true
          },
          "lore": [
            "花费:1 代币"
          ]
        },
        {
          "name": "钻石包 x16",
          "slot": 7,
          "item": "minecraft:diamond",
          "action": {
            "type": "command",
            "command": "trigger shop_diamond_pack set 1",
            "run_as_player": true
          },
          "lore": [
            "花费:25 代币"
          ]
        },
        {
          "name": "烈焰棒 x8",
          "slot": 8,
          "item": "minecraft:blaze_rod",
          "action": {
            "type": "command",
            "command": "trigger shop_blaze_rod set 1",
            "run_as_player": true
          },
          "lore": [
            "花费:16 代币"
          ]
        },
        {
          "name": "三叉戟 x1",
          "slot": 9,
          "item": "minecraft:trident",
          "action": {
            "type": "command",
            "command": "trigger shop_trident set 1",
            "run_as_player": true
          },
          "lore": [
            "花费:50 代币"
          ]
        },
        {
          "name": "鞘翅 x1",
          "slot": 10,
          "item": "minecraft:elytra",
          "action": {
            "type": "command",
            "command": "trigger shop_elytra set 1",
            "run_as_player": true
          },
          "lore": [
            "花费:85 代币"
          ]
        },
        {
          "name": "不死图腾 x1",
          "slot": 11,
          "item": "minecraft:totem_of_undying",
          "action": {
            "type": "command",
            "command": "trigger shop_totem set 1",
            "run_as_player": true
          },
          "lore": [
            "花费:38 代币"
          ]
        },
        {
          "name": "潜影贝壳 x2",
          "slot": 12,
          "item": "minecraft:shulker_shell",
          "action": {
            "type": "command",
            "command": "trigger shop_shulker_shell set 1",
            "run_as_player": true
          },
          "lore": [
            "花费:40 代币"
          ]
        },
        {
          "name": "信标 x1",
          "slot": 13,
          "item": "minecraft:beacon",
          "action": {
            "type": "command",
            "command": "trigger shop_beacon set 1",
            "run_as_player": true
          },
          "lore": [
            "花费:125 代币"
          ]
        },
        {
          "name": "潜影盒 x1",
          "slot": 14,
          "item": "minecraft:shulker_box",
          "action": {
            "type": "command",
            "command": "trigger shop_shulker_box set 1",
            "run_as_player": true
          },
          "lore": [
            "花费:25 代币"
          ]
        },
        {
          "name": "下界合金锭 x1",
          "slot": 15,
          "item": "minecraft:netherite_ingot",
          "action": {
            "type": "command",
            "command": "trigger shop_netherite_ingot set 1",
            "run_as_player": true
          },
          "lore": [
            "花费:50 代币"
          ]
        },
        {
          "name": "关闭菜单",
          "slot": 26,
          "item": "minecraft:barrier",
          "action": {
            "type": "close"
          },
          "lore": []
        }
      ]
    }
  ]
}

未来可能添加的内容

  • 易于调整的商店(价格和物品)(实现起来会比较困难)

下次更新新增内容

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源