Home›Java›Mods›CobblemonNPCs
CobblemonNPCs
ModsJava

CobblemonNPCs

by chasem-dev · on Modrinth

CobblemonNPC's is an open source side mod enabling NPC management for server owners inside a config file. This mod was built using…

⬇ Download on Modrinth
CobblemonNPCs — screenshot 1

Cobblemon NPCs

Publishd on behalf of one of our users.

Built using https://player.games/create

Features

Requirements

Installation

  1. Download the latest release JAR file
  2. Place it in your server's mods directory
  3. Restart your server
  4. The configuration file will be generated at config/cobblemonnpcs/trainers.yml

Configuration

The mod generates a default configuration file at config/cobblemonnpcs/trainers.yml. Edit this file to define your trainers:

trainers:
  - trainer_id: "electric_master"
    trainer_name: "Sora"
    battle_dialogue: "Think you can withstand pure voltage?"
    defeat_dialogue: "You really overpowered me!"
    cooldown_hours: 12
    skin: "Sora"
    pokemon_team:
      - species: "cobblemon:raichu"
        level: 55
      - species: "cobblemon:jolteon"
        level: 54
    rewards:
      items:
        - item: "minecraft:diamond"
          count: 2
      commands:
        - "say {player} conquered {trainer}"

Configuration Fields

Commands

All commands require OP level 2 (or equivalent permission).

/spawntrainer <trainer_id>

Spawns a trainer NPC at your location.

Example:

/spawntrainer electric_master

/trainerskin <trainer_id> <skin_name>

Updates the skin for all existing instances of a trainer. Use default, clear, off, or none to remove the custom skin.

Examples:

/trainerskin electric_master Notch
/trainerskin electric_master clear

/trainerconfig reload

Reloads the trainer configuration from trainers.yml without restarting the server.

Usage

  1. Configure Trainers: Edit config/cobblemonnpcs/trainers.yml to define your trainers
  2. Reload Config: Run /trainerconfig reload to load your changes
  3. Spawn Trainers: Use /spawntrainer <trainer_id> to spawn trainers in-game
  4. Interact: Right-click on a trainer NPC to open the battle dialogue
  5. Battle: Select "Battle!" to start a Pokémon battle
  6. Rewards: Upon victory, players receive configured rewards and must wait for the cooldown before battling again

Building

To build from source:

./gradlew build

The compiled JAR will be in build/libs/.

Technical Details

License

All Rights Reserved - PlayerGames LLC

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more