Skip to content

Points and Shop

casqidev edited this page Jun 7, 2026 · 1 revision

Shop

The shop is configured in menus/shop.yml. You can configure the items that will be given, with the description, name and item you want. In addition to that, applying the value you want. Also if it was not enough, you are given the freedom to edit everything to your liking.

Items can:

  • Give direct items.
  • Run commands.
  • Do both.

Example:

items:
  voucher_koth:
    slot: 22
    material: CHEST
    name: "&fVoucher Koth"
    cost: 25
    lore:
      - "&7Information:"
      - ""
      - "&f You can redeem your points for"
      - "&f this mysterious voucher with epic items."
      - ""
      - "&fPrice: &e%cost% points"
      - "&e&nClick here to buy!"
    purchase:
      type: COMMAND
      commands:
        - "voucher give %player_name% voukoth 1"

Example with items with enchantments:

items:
  netherite_leggings:
    slot: 15
    material: NETHERITE_LEGGINGS
    amount: 1
    cost: 22
    lore:
      - "&7Item earned by"
      - "&7being the best at KOTH."
      - ""
      - "&7Enchantments:"
      - "&fProtection III"
      - "&fUnbreaking II"
      - ""
      - "&fPrice: &e%cost% points"
      - "&aClick here to buy"
    enchantments: { PROTECTION_ENVIRONMENTAL: 3, DURABILITY: 2 }

Example with an items with quantity:

items:
  ender_pearl:
    slot: 33
    material: ENDER_PEARL
    amount: 16
    cost: 7
    lore:
      - "&7Item earned by"
      - "&7being the best at KOTH."
      - ""
      - "&fPrice: &e%cost% points"
      - "&aClick here to buy"
    enchantments: {}
    purchase: { type: ITEM, commands: [] }

Points

You can earn points every time you participate in koth events. Killing players or simply dominating the koth area. You can save each point to exchange for items.

  • /koth points - Shows the player's KOTH points.

Clone this wiki locally