Skip to content

Modules and Features

Juan Cruz Linsalata edited this page Feb 4, 2025 · 1 revision

Bet System

The bet system allows players to wager in-game currency on KoTH events. To place a bet:

Use the command /koth bet <amount> <participant> [kothId/name].

The kothId/name is optional and only needed if multiple KoTH events are running simultaneously.

Note: This feature requires Vault for economy support.

DecentHolograms Integration

MineKoth automatically integrates with DecentHolograms to display holograms above the KoTH zone. Ensure you have DecentHolograms installed for this feature to work.

MineClans Support

MineKoth supports MineClans for group-based gameplay. When a clan captures the KoTH, rewards and capture time are distributed among all clan members. This adds a team-play element to the plugin.

Random Events

Random events add excitement to KoTH events by introducing PvE challenges and rewards. Events include:

  • Loot Drops: Items fall from the sky.
  • Zombie/Skeleton Hordes: Mobs spawn in the KoTH zone.
  • Lightning Strikes: Players are struck by lightning.
  • Potion Effects: Players receive random buffs or debuffs.

Example configuration:

random-events:
  loot-drop:
    chance: 0.001
    loot:
      - "DIAMOND: 3"
      - "EMERALD: 2"
    drop-count: 5
  zombie-horde:
    chance: 0.0008
    spawn-count: 10
  lightning-strike:
    chance: 0.0005
    damage: 6
    fire-ticks: 100

Killstreaks

Killstreaks reward players for consecutive kills during a KoTH event. Rewards can include items and messages.

Example configuration:

killstreaks:
  enabled: true
  first-kill:
    1:
      - "item: REDSTONE_BLOCK,1"
      - "message-key: messages.first-kill-reward"
  killstreak-rewards:
    2:
      - "item: DIRT,1"
      - "message-key: messages.killstreak-reward"

Capture Rewards

Players are rewarded for capturing the KoTH. Rewards can be one-time or recurring.

Example configuration:

capture-rewards:
  enabled: true
  one-time:
    30:
      - "item: DIAMOND,1"
      - "message-key: awarded-diamond"
  repeating:
    30:
      - "item: IRON_INGOT,1"
      - "message-key: awarded-iron"

Discord Webhook Integration

You can configure a Discord webhook to notify your server when a KoTH event starts or ends.

Example configuration:

webhook:
  enabled: true
  url: "https://discord.com/api/webhooks/1234567890/12345678901234567890"

MySQL Support

MineKoth supports MySQL for synchronizing player data across multiple servers.

Example configuration:

playerdata:
  storage: "mysql" # options: mysql, yaml, memory
mysql:
  host: "localhost"
  port: 3306
  database: "mydatabase"
  username: "myusername"
  password: "mypassword"