Skip to content

Configuration - CobbleHardcoreMon

All of the configuration files for CobbleHardcoreMon are located in the <game_directory>/config/cobblehardcoremon/ directory.

Configuration files:

  • server.toml - This file contains the server-side configuration options for CobbleHardcoreMon.
  • permissions.toml - This file contains the permissions configuration for CobbleHardcoreMon.
server.toml
#Server configuration for CobbleHardcoreMon mod
[server]
totemItemId = "minecraft:totem_of_undying"
globalHealthLinkEnabled = false
#Battle tracking configuration. These settings determine which types of battles are tracked for Cobblemon fainting events.
[server.battles]
trackPlayerBattles = true
trackNPCBattles = true
trackWildBattles = true
#Messages displayed to the player when a Cobblemon faints and is removed from their party. You can use {pokemon} as a placeholder for the Pokemon's name.
[server.messages]
totemConsumed = "{pokemon} was holding a totem, which has been consumed to prevent it from being removed from your party."
pokemonRemoved = "{pokemon} has fainted and is not holding a totem, and has been removed from your party."

The item ID of the Totem item that prevents a Cobblemon from being lost when it faints. By default, this is set to Minecraft’s “Totem of Undying” item, but you can change it to any other item ID if you want to use a different item as the Totem.

  • Type: string
  • Default: minecraft:totem_of_undying

Whether the Health Link feature is enabled by default for all players. If set to false, players can enable it individually in their settings.

  • Type: boolean
  • Default: false

Allows you to configure which types of battles are tracked for Cobblemon fainting events. You can choose to track player battles, NPC battles, and/or wild battles.

Whether to track battles between players and their Cobblemon. If set to true, Cobblemon that faint in player battles will be removed from the player’s party if they are not holding a Totem item.

  • Type: boolean
  • Default: true

Whether to track battles between players and NPCs (non-player characters) and their Cobblemon. If set to true, Cobblemon that faint in NPC battles will be removed from the player’s party if they are not holding a Totem item.

  • Type: boolean
  • Default: true

Whether to track battles between players and wild Cobblemon. If set to true, Cobblemon that faint in wild battles will be removed from the player’s party if they are not holding a Totem item.

  • Type: boolean
  • Default: true

Allows you to customize the messages displayed to the player when a Cobblemon faints and is removed from their party. You can use {pokemon} as a placeholder for the Pokemon’s name in the messages.

The message displayed when a Cobblemon faints and the player has a Totem item. The Totem item will be consumed and the Cobblemon will be saved.

  • Type: string
  • Default: "{pokemon} was holding a totem, which has been consumed to prevent it from being removed from your party."

The message displayed when a Cobblemon faints and is removed from the player’s party.

  • Type: string
  • Default: "{pokemon} has fainted and is not holding a totem, and has been removed from your party."
permissions.toml
#Permissions configuration for CobbleHardcoreMon mod
[permissions]
#Command permissions configuration
[permissions.commands]
hardcoremon = "NONE"
setHealthLink = "NONE"
getHealthLink = "NONE"
forceHealthLink = "ALL_COMMANDS"
getHealthLinkOther = "ALL_COMMANDS"
soulLink = "NONE"
soulLinkInvite = "NONE"
soulLinkAccept = "NONE"
soulLinkDecline = "NONE"
soulLinkRemove = "NONE"

Allows you to configure the permission levels required to use the commands provided by the CobbleHardcoreMon mod. The available permission levels are:

  • NONE - No permission required.
  • SPAWN_PROTECTION_BYPASS - Permission level for bypassing spawn protection
  • CHEAT_COMMANDS_AND_COMMAND_BLOCKS - Permission level for using cheat commands and command blocks
  • MULTIPLAYER_MANAGEMENT - Permission level for managing multiplayer settings
  • ALL_COMMANDS - Permission level for using all commands

The permission level required to use the /hardcoremon command.

  • Type: enum
  • Default: NONE

The permission level required to use the /hardcoremon setHealthLink command.

  • Type: enum
  • Default: NONE

The permission level required to use the /hardcoremon getHealthLink command.

  • Type: enum
  • Default: NONE

The permission level required to use the /hardcoremon forceHealthLink <player> command.

  • Type: enum
  • Default: ALL_COMMANDS

The permission level required to use the /hardcoremon getHealthLinkOther <player> command.

  • Type: enum
  • Default: ALL_COMMANDS

The permission level required to use the /hardcoremon soulLink command.

  • Type: enum
  • Default: NONE

The permission level required to use the /hardcoremon soulLink invite <player> command.

  • Type: enum
  • Default: NONE

The permission level required to use the /hardcoremon soulLink accept <player> command.

  • Type: enum
  • Default: NONE

The permission level required to use the /hardcoremon soulLink decline <player> command.

  • Type: enum
  • Default: NONE

The permission level required to use the /hardcoremon soulLink remove <player> command.

  • Type: enum
  • Default: NONE