跳到正文

NoMonsInMyWorld

作者:Hysocs

a lightweight, server-side Minecraft Fabric mod for Cobblemon that gives you per-world control over Pokémon spawning. Block specific species, filter by type/shiny status, or completely disable spawns in hub worlds, minigame maps, or curated dimensions.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

NoMonsInMyWorld

NoMonsInMyWorld is a lightweight but powerful server-side utility for Cobblemon that gives you precise, per-world control over both Pokémon spawning and riding. Whether you need to create a Pokémon-free hub, ban specific species from a dimension, or prevent players from riding legendaries in certain worlds, this mod provides a simple, config-driven solution.

Dependencies


Features

  • Per-World Spawning Rules: Create unique spawning rules for each dimension. Completely disable spawning in your hub, allow only specific types in another, and leave the main world untouched.
  • Advanced Spawn Filtering: Block Pokémon using simple species names (e.g., cobblemon:zubat) or use powerful conditions to filter by type (type=flying), rarity (legendary=true), or attribute (shiny=true).
  • Per-World Riding Rules: Independently control which Pokémon can be ridden in each dimension. Completely disable riding in event worlds or blacklist specific powerful mounts from your survival worlds.
  • Owned Pokémon Protection: A smart filter allows players to send out their own Pokémon, even in dimensions where wild spawns of that species are disabled.
  • Live Reload: A simple command lets you apply configuration changes instantly without needing a server restart.
  • 100% Server-Side: No installation is required for players to join your server.

Commands

The mod is designed to be managed primarily through its configuration file, with a single command for convenience.

| Command | Permission | Description |
| :— | :— | :— |
| /nomonsinmyworld reload | nomonsinmyworld.reload | Reloads the config.json file from disk, applying any changes immediately. |


Configuration

NoMonsInMyWorld uses a single, easy-to-understand configuration file located at config/nomonsinmyworld/config.json. The entire configuration is managed within a worlds object, where you can add an entry for each dimension you want to control.

Example Configuration

{
  "version": "1.0.0",
  "worlds": {
    // Rules for the Overworld
    "minecraft:overworld": {
      "spawning": {
        "disallowedSpecies": ["cobblemon:rattata", "cobblemon:pidgey"],
        "exclusionConditions": ["type=ghost", "shiny=true"],
        "disableAll": false,
        "excludeOwnedPokemon": true
      },
      "riding": {
        "disallowedSpecies": ["cobblemon:charizard"],
        "exclusionConditions": ["legendary=true"],
        "disableAll": false,
        "excludeOwnedPokemon": false
      }
    },
    // Rules for a hub world (e.g., from another mod)
    "some_mod:hub_world": {
      "spawning": {
        "disableAll": true, // Master switch to block all wild spawns
        "excludeOwnedPokemon": true // Still allows players to send out their own Pokémon
      },
      "riding": {
        "disableAll": true // Master switch to block all riding
      }
    }
  }
}

Spawning Control (spawning section)

This section controls which wild Pokémon are allowed to spawn in a dimension.

| Setting | Description |
| :— | :— |
| disableAll | The master switch. If true, no wild Pokémon will spawn in this world, and all other spawning rules are ignored. |
| disallowedSpecies | A list of Pokémon species to block by name. Example: ["cobblemon:zubat", "cobblemon:magikarp"]. |
| exclusionConditions | (Powerful!) A list of conditions used to filter spawns. The syntax is key=value. This allows you to block entire categories of Pokémon. Examples: ["type=dragon"], ["legendary=true"], ["shiny=true"]. |
| excludeOwnedPokemon | A critical safety feature. If true (default), the spawn-blocking rules will not apply to Pokémon being sent out of a Poké Ball by a player. This prevents the mod from interfering with a player’s own team. |

Riding Control (riding section)

This section controls which Pokémon players are allowed to mount and ride in a dimension.

| Setting | Description |
| :— | :— |
| disableAll | The master switch. If true, players will be unable to mount or ride any Pokémon in this world. |
| disallowedSpecies | A list of specific Pokémon species that cannot be ridden. Perfect for banning certain powerful or large mounts. Example: ["cobblemon:rayquaza"]. |
| exclusionConditions | A list of conditions to prevent riding. This is extremely useful for creating server-wide rules. Example: ["legendary=true"] would prevent anyone from riding a legendary Pokémon in this dimension. |
| excludeOwnedPokemon | This is typically set to false for riding, as the intention is to control the player’s ability to mount their own Pokémon. If true, the riding rules would be ignored. |

常见问题

NoMonsInMyWorld 支持哪些 Minecraft 版本?

NoMonsInMyWorld 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

NoMonsInMyWorld 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

Hysocs 的其他作品

查看全部 →