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 Configuration
Section titled “Server Configuration”#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."totemItemId
Section titled “totemItemId”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
globalHealthLinkEnabled
Section titled “globalHealthLinkEnabled”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
Battles Configuration
Section titled “Battles Configuration”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.
trackPlayerBattles
Section titled “trackPlayerBattles”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
trackNPCBattles
Section titled “trackNPCBattles”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
trackWildBattles
Section titled “trackWildBattles”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
Messages Configuration
Section titled “Messages Configuration”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.
totemConsumed
Section titled “totemConsumed”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."
pokemonRemoved
Section titled “pokemonRemoved”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 Configuration
Section titled “Permissions Configuration”#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"Command Permissions
Section titled “Command Permissions”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 protectionCHEAT_COMMANDS_AND_COMMAND_BLOCKS- Permission level for using cheat commands and command blocksMULTIPLAYER_MANAGEMENT- Permission level for managing multiplayer settingsALL_COMMANDS- Permission level for using all commands
hardcoremon
Section titled “hardcoremon”The permission level required to use the /hardcoremon command.
- Type:
enum - Default:
NONE
setHealthLink
Section titled “setHealthLink”The permission level required to use the /hardcoremon setHealthLink command.
- Type:
enum - Default:
NONE
getHealthLink
Section titled “getHealthLink”The permission level required to use the /hardcoremon getHealthLink command.
- Type:
enum - Default:
NONE
forceHealthLink
Section titled “forceHealthLink”The permission level required to use the /hardcoremon forceHealthLink <player> command.
- Type:
enum - Default:
ALL_COMMANDS
getHealthLinkOther
Section titled “getHealthLinkOther”The permission level required to use the /hardcoremon getHealthLinkOther <player> command.
- Type:
enum - Default:
ALL_COMMANDS
soulLink
Section titled “soulLink”The permission level required to use the /hardcoremon soulLink command.
- Type:
enum - Default:
NONE
soulLinkInvite
Section titled “soulLinkInvite”The permission level required to use the /hardcoremon soulLink invite <player> command.
- Type:
enum - Default:
NONE
soulLinkAccept
Section titled “soulLinkAccept”The permission level required to use the /hardcoremon soulLink accept <player> command.
- Type:
enum - Default:
NONE
soulLinkDecline
Section titled “soulLinkDecline”The permission level required to use the /hardcoremon soulLink decline <player> command.
- Type:
enum - Default:
NONE
soulLinkRemove
Section titled “soulLinkRemove”The permission level required to use the /hardcoremon soulLink remove <player> command.
- Type:
enum - Default:
NONE