CustomShop

插件

· 作者 JoSte13

此插件添加了一个易于设置的商店。您可以使用 /shop 命令打开商店。

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

最新 1.0-English · 1.21.11 · Spigot

一键开服(送7天)

CustomShop

CustomShop 是一款轻量且完全可配置的商店插件,适用于 Spigot 1.21.8,旨在赋予服务器管理员对其游戏内经济商店的完全控制权。

特性

  • 通过简单的 config.yml 完全自定义
  • 易于设置的商店系统,无需复杂依赖
  • 支持多种经济插件(不限于 Vault)
  • 使用基于命令的经济支持(例如 /eco take <玩家> <金额>)
  • 轻量级且针对性能进行了优化
  • 非常适合生存、SMP 和 RPG 服务器

经济系统

与许多仅依赖 Vault 的商店插件不同,CustomShop 使用基于命令的灵活经济系统。这意味着它可以与任何支持以下命令的经济插件配合使用:

/eco take <玩家> <数量>

因此,CustomShop 与更广泛的经济插件兼容。

配置

CustomShop 中的所有设置均可在 config.yml 中轻松编辑。 您可以自定义以下内容:

  • 商店物品
  • 价格
  • 命令
  • 支付方式

无需编写代码——只需编辑配置文件并重启/重载插件即可。

DonutSMP 德语版 config.yml

config.yml
categories:

  end:
    slot: 11
    material: END_STONE
    name: "&5End"
    pay: eco

  nether:
    slot: 12
    material: NETHERRACK
    name: "&cNether"
    pay: eco

  gear:
    slot: 13
    material: TOTEM_OF_UNDYING
    name: "&7Gear"
    pay: eco

食物:
    槽位: 14
    材质: COOKED_BEEF
    名称: "&6食物"
    支付: eco

碎片:
    槽位: 15
    材质: AMETHYST_SHARD
    名称: "&b碎片"
    支付: shards

商店:

  末地:

    末影箱:

      槽位: 10

      显示名称: "&f末影真箱"

      材质: ENDER_CHEST

      价格: 2500

      命令:
        - "give %player% minecraft:ender_chest %amount%"

    末影珍珠:

      槽位: 11

      显示名称: "&f末影珠"

      材质: ENDER_PEARL

      价格: 75
      最大数量: 16

      命令:
        - "give %player% minecraft:ender_pearl %amount%"

    末地石:

      槽位: 12

      显示名称: "&f末地岩"

      材质: END_STONE

      价格: 128

      命令:
        - "give %player% minecraft:end_stone %amount%"

    龙息:

      槽位: 13

      显示名称: "&f龙之息"

      材质: DRAGON_BREATH

      价格: 1000
      最大数量: 1

      命令:
        - "give %player% minecraft:dragon_breath %amount%"

    末地烛:

      槽位: 14

      显示名称: "&f末地烛棒"

      材质: END_ROD

      价格: 100

      命令:
        - "give %player% minecraft:end_rod %amount%"

    紫颂果:

      槽位: 15

      显示名称: "&f紫颂果实"

      材质: CHORUS_FRUIT

      价格: 108

      命令:
        - "give %player% minecraft:chorus_fruit %amount%"

    爆裂的紫颂果:

      槽位: 16

      显示名称: "&f炸开的紫颂果"

material: 爆裂紫颂果

      price: 24

commands:
        - "give %player% minecraft:popped_chorus_fruit %amount%"

    shulker_shell:

      slot: 19

      display-name: "&f潜影贝壳"

      material: SHULKER_SHELL

      price: 350

      commands:
        - "give %player% minecraft:shulker_shell %amount%"

    shulker_box:

      slot: 20

      display-name: "&f潜影盒"

      material: SHULKER_BOX

      price: 800
      max-amount: 1
      commands:
        - "give %player% minecraft:shulker_box %amount%"

  
  nether:

    blaze_rod:

      slot: 10

      display-name: "&f烈焰棒"

      material: BLAZE_ROD

      price: 150

      commands:
        - "give %player% minecraft:blaze_rod %amount%"

    nether_wart:

      slot: 11

      display-name: "&f下界疣"

      material: NETHER_WART

      price: 96

      commands:
        - "give %player% minecraft:nether_wart %amount%"

    glowstone_dust:

      slot: 12

      display-name: "&f萤石粉"

      material: GLOWSTONE_DUST

      price: 15

      commands:
        - "give %player% minecraft:glowstone_dust %amount%"

    magma_cream:

      slot: 13

      display-name: "&f岩浆膏"

      material: MAGMA_CREAM

      price: 96

      commands:
        - "give %player% minecraft:magma_cream %amount%"

    ghast_tear:

      slot: 14

      display-name: "&f恶魂之泪"

      material: GHAST_TEAR

      price: 350

      commands:
        - "give %player% minecraft:ghast_tear %amount%"

    quartz:

      slot: 15

      display-name: "&f下界石英"

      material: QUARTZ

      price: 30

      commands:
        - "give %player% minecraft:quartz %amount%"

    soul_sand:

      slot: 16

      display-name: "&f灵魂沙"

      material: SOUL_SAND

      price: 50

      commands:
        - "give %player% minecraft:soul_sand %amount%"

    magma_block:

      slot: 19

      display-name: "&f岩浆块"

      material: MAGMA_BLOCK

      price: 35

      commands:
        - "give %player% minecraft:magma_block %amount%"

    crying_obsidian:

      slot: 20

      display-name: "&f哭泣的黑曜石"

      material: CRYING_OBSIDIAN

      price: 150

      commands:
        - "give %player% minecraft:crying_obsidian %amount%"


  gear:

    obsidian:

      slot: 10

      display-name: "&f黑曜石"

      material: OBSIDIAN

      price: 100

      commands:
        - "give %player% minecraft:obsidian %amount%"

    end_crystal:

      slot: 11

      display-name: "&f末地水晶"

      material: END_CRYSTAL

      price: 350

      commands:
        - "give %player% minecraft:end_crystal %amount%"

    respawn_anchor:

      slot: 12

      display-name: "&f重生锚"

      material: RESPAWN_ANCHOR

      price: 1000

      commands:
        - "give %player% minecraft:respawn_anchor %amount%"

    glowstone:

      slot: 13

      display-name: "&f萤石块"

      material: GLOWSTONE

      price: 100

commands:
        - "give %player% minecraft:glowstone %amount%"

    totem_of_undying:

      slot: 14

display-name: "&f不死图腾"

      material: TOTEM_OF_UNDYING

      price: 1500
      max-amount: 1

      commands:
        - "give %player% minecraft:totem_of_undying %amount%"

    ender_pearl:

      slot: 15

      display-name: "&f末影珍珠"

      material: ENDER_PEARL

      price: 75
      max-amount: 16

      commands:
        - "give %player% minecraft:ender_pearl %amount%"

    golden_apple:

      slot: 16

      display-name: "&f金苹果"

      material: GOLDEN_APPLE

      price: 250

      commands:
        - "give %player% minecraft:golden_apple %amount%"

    experience_bottle:

      slot: 19

      display-name: "&f经验瓶"

      material: EXPERIENCE_BOTTLE

      price: 100

      commands:
        - "give %player% minecraft:experience_bottle %amount%"

    arrow:

      slot: 20

      display-name: "&f箭"

      material: ARROW

      price: 100

      commands:
        - "give %player% minecraft:arrow %amount%"


  food:

    potato:

      slot: 10

      display-name: "&f土豆"

      material: POTATO

      price: 96

      commands:
        - "give %player% minecraft:potato %amount%"

    sweet_berries:

      slot: 11

      display-name: "&f甜浆果"

      material: SWEET_BERRIES

      price: 50

      commands:
        - "give %player% minecraft:sweet_berries %amount%"

    melon_slice:

      slot: 12

      display-name: "&f西瓜片"

      material: MELON_SLICE

      price: 36

      commands:
        - "give %player% minecraft:melon_slice %amount%"

    carrot:

      slot: 13

      display-name: "&f胡萝卜"

      material: CARROT

      price: 96

      commands:
        - "give %player% minecraft:carrot %amount%"

    apple:

      slot: 14

      display-name: "&f苹果"

      material: APPLE

      price: 25

      commands:
        - "give %player% minecraft:apple %amount%"

    cooked_chicken:

      slot: 15

      display-name: "&f烤鸡肉"

      material: COOKED_CHICKEN

      price: 48

      commands:
        - "give %player% minecraft:cooked_chicken %amount%"

    cooked_beef:

      slot: 16

      display-name: "&f牛排"

      material: COOKED_BEEF

      price: 35

      commands:
        - "give %player% minecraft:cooked_beef %amount%"

    golden_carrot:

      slot: 19

      display-name: "&f金胡萝卜"

      material: GOLDEN_CARROT

      price: 120

      commands:
        - "give %player% minecraft:golden_carrot %amount%"

    golden_apple:

      slot: 20

      display-name: "&f金苹果"

      material: GOLDEN_APPLE

      price: 250

      commands:
        - "give %player% minecraft:golden_apple %amount%"


  shards:

    test:

      slot: 10

      display-name: "&b测试紫水晶碎片"

      material: AMETHYST_SHARD

      price: 500

      commands:
        - "give %player% minecraft:amethyst_shard %amount%"

DonutSMP 英文 config.yml

config.yml
 categories:

  end:
    slot: 11
    material: END_STONE
    name: "&5末地"
    pay: eco

  nether:
    slot: 12
    material: NETHERRACK
    name: "&c下界"
    pay: eco

  gear:
    slot: 13
    material: TOTEM_OF_UNDYING
    name: "&7装备"
    pay: eco

  food:
    slot: 14
    material: COOKED_BEEF
    name: "&6食物"
    pay: eco

  shards:
    slot: 15
    material: AMETHYST_SHARD
    name: "&b碎片"
    pay: shards

shops:

  end:

    ender_chest:

      slot: 10

      display-name: "&f末影箱"

      material: ENDER_CHEST

      price: 2500

      commands:
        - "give %player% minecraft:ender_chest %amount%"

    ender_pearl:

      slot: 11

      display-name: "&f末影珍珠"

      material: ENDER_PEARL

      price: 75
      max-amount: 16

      commands:
        - "give %player% minecraft:ender_pearl %amount%"

    end_stone:

      slot: 12

      display-name: "&f末地石"

      material: END_STONE

      price: 128

      commands:
        - "give %player% minecraft:end_stone %amount%"

    dragon_breath:

      slot: 13

      display-name: "&f龙息"

      material: DRAGON_BREATH

      price: 1000
      max-amount: 1

      commands:
        - "give %player% minecraft:dragon_breath %amount%"

    end_rod:

      slot: 14

      display-name: "&f末地烛"

      material: END_ROD

      price: 100

      commands:
        - "give %player% minecraft:end_rod %amount%"

    chorus_fruit:

      slot: 15

      display-name: "&f紫颂果"

      material: CHORUS_FRUIT

      price: 108

      commands:
        - "give %player% minecraft:chorus_fruit %amount%"

    popped_chorus_fruit:

      slot: 16

      display-name: "&f爆裂紫颂果"

      material: POPPED_CHORUS_FRUIT

      price: 24

      commands:
        - "give %player% minecraft:popped_chorus_fruit %amount%"

    shulker_shell:

      slot: 19

      display-name: "&f潜影贝壳"

      material: SHULKER_SHELL

      price: 350

      commands:
        - "give %player% minecraft:shulker_shell %amount%"

    shulker_box:

      slot: 20

      display-name: "&f潜影盒"

      material: SHULKER_BOX

      price: 800
      max-amount: 1
      commands:
        - "give %player% minecraft:shulker_box %amount%"

  
  nether:

    blaze_rod:

      slot: 10

      display-name: "&f烈焰棒"

      material: BLAZE_ROD

      price: 150

      commands:
        - "give %player% minecraft:blaze_rod %amount%"

    nether_wart:

      slot: 11

      display-name: "&nether wart"

      material: NETHER_WART

      price: 96

      commands:
        - "give %player% minecraft:nether_wart %amount%"

    glowstone_dust:

      slot: 12

      display-name: "&f萤石粉"

      material: GLOWSTONE_DUST

      price: 15

      commands:
        - "give %player% minecraft:glowstone_dust %amount%"

    magma_cream:

      slot: 13

      display-name: "&f岩浆膏"

      material: MAGMA_CREAM

      price: 96

commands:
        - "give %player% minecraft:magma_cream %amount%"

    恶魂之泪:

      slot: 14

      display-name: "&f恶魂之泪"

      material: GHAST_TEAR

      price: 350

      commands:
        - "give %player% minecraft:ghast_tear %amount%"

    下界石英:

      slot: 15

      display-name: "&f下界石英"

      material: QUARTZ

      price: 30

      commands:
        - "give %player% minecraft:quartz %amount%"

    灵魂沙:

      slot: 16

      display-name: "&f灵魂沙"

      material: SOUL_SAND

      price: 50

      commands:
        - "give %player% minecraft:soul_sand %amount%"

    岩浆块:

      slot: 19

      display-name: "&f岩浆块"

      material: MAGMA_BLOCK

      price: 35

      commands:
        - "give %player% minecraft:magma_block %amount%"

    哭泣的黑曜石:

      slot: 20

      display-name: "&f哭泣的黑曜石"

      material: CRYING_OBSIDIAN

      price: 150

      commands:
        - "give %player% minecraft:crying_obsidian %amount%"


  装备:

    黑曜石:

      slot: 10

      display-name: "&f黑曜石"

      material: OBSIDIAN

      price: 100

      commands:
        - "give %player% minecraft:obsidian %amount%"

    末地水晶:

      slot: 11

      display-name: "&f末地水晶"

      material: END_CRYSTAL

      price: 350

      commands:
        - "give %player% minecraft:end_crystal %amount%"

    重生锚:

      slot: 12

      display-name: "&f重生锚"

      material: RESPAWN_ANCHOR

      price: 1000

      commands:
        - "give %player% minecraft:respawn_anchor %amount%"

    荧石:

      slot: 13

      display-name: "&f荧石"

      material: GLOWSTONE

      price: 100

      commands:
        - "give %player% minecraft:glowstone %amount%"

    不死图腾:

      slot: 14

      display-name: "&f不死图腾"

      material: TOTEM_OF_UNDYING

      price: 1500
      max-amount: 1

      commands:
        - "give %player% minecraft:totem_of_undying %amount%"

    末影珍珠:

      slot: 15

      display-name: "&f末影珍珠"

      material: ENDER_PEARL

      price: 75
      max-amount: 16

      commands:
        - "give %player% minecraft:ender_pearl %amount%"

    金苹果:

      slot: 16

      display-name: "&f金苹果"

      material: GOLDEN_APPLE

      price: 250

      commands:
        - "give %player% minecraft:golden_apple %amount%"

    经验瓶:

      slot: 19

      display-name: "&f经验瓶"

      material: EXPERIENCE_BOTTLE

      price: 100

      commands:
        - "give %player% minecraft:experience_bottle %amount%"

    箭:

      slot: 20

      display-name: "&f箭"

      material: ARROW

      price: 100

      commands:
        - "give %player% minecraft:arrow %amount%"


  食物:

    马铃薯:

      slot: 10

      display-name: "&f马铃薯"

      material: POTATO

      price: 96

      commands:
        - "give %player% minecraft:potato %amount%"

    甜浆果:

      slot: 11

      display-name: "&f甜浆果"

      material: SWEET_BERRIES

      price: 50

      commands:
        - "give %player% minecraft:sweet_berries %amount%"

    西瓜片:

      slot: 12

      display-name: "&f西瓜片"

      material: MELON_SLICE

      price: 36

      commands:
        - "give %player% minecraft:melon_slice %amount%"

    胡萝卜:

      slot: 13

      display-name: "&f胡萝卜"

      material: CARROT

      price: 96

      commands:
        - "give %player% minecraft:carrot %amount%"

    苹果:

      slot: 14

      display-name: "&f苹果"

      material: APPLE

      price: 25

      commands:
        - "give %player% minecraft:apple %amount%"

    熟鸡肉:

      slot: 15

      display-name: "&f熟鸡肉"

      material: COOKED_CHICKEN

      price: 48

      commands:
        - "give %player% minecraft:cooked_chicken %amount%"

    熟牛肉:

      slot: 16

      display-name: "&f熟牛肉"

      material: COOKED_BEEF

      price: 35

      commands:
        - "give %player% minecraft:cooked_beef %amount%"

    金胡萝卜:

      slot: 19

      display-name: "&f金胡萝卜"

      material: GOLDEN_CARROT

      price: 120

      commands:
        - "give %player% minecraft:golden_carrot %amount%"

    金苹果:

      slot: 20

      display-name: "&f金苹果"

      material: GOLDEN_APPLE

      price: 250

      commands:
        - "give %player% minecraft:golden_apple %amount%"


  碎片:

    测试用:

      slot: 10

      display-name: "&b测试用紫水晶碎片"

      material: AMETHYST_SHARD

      price: 500

      commands:
        - "give %player% minecraft:amethyst_shard %amount%"

为什么选择 CustomShop?

CustomShop 专为简洁与灵活而构建。无论您是运营小型生存服务器还是大型网络,您都可以快速搭建一个功能完备的商店系统,无需任何不必要的复杂性。

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

评论 0

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

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源