Configuration
All of the configuration files for Cobblemon Skills are located in the <game_directory>/config/cobblemon_skills/ directory.
Configuration files:
permissions.toml- This file contains the configuration related to Command and GUI permissions.server.toml- This file contains the configuration related to server settings.professions/<profession>.toml- This file contains the configuration related to each profession, including rewards and experience gained.
Permissions Configuration
Section titled “Permissions Configuration”[permissions] [permissions.command] cobbleskills = "NONE" cobbleskills_reset = "NONE" cobbleskills_reset_self = "NONE" cobbleskills_reset_player = "MULTIPLAYER_MANAGEMENT" cobbleskills_reset_all = "ALL_COMMANDS" cobbleskills_leaderboard = "NONE" cobbleskills_profile = "NONE" cobbleskills_profession = "NONE" cobbleskills_admin = "ALL_COMMANDS" cobbleskills_admin_add_exp = "ALL_COMMANDS" cobbleskills_admin_set_level = "ALL_COMMANDS" cobbleskills_admin_reload = "ALL_COMMANDS" [permissions.gui] main_menu = "NONE" leaderboard = "NONE" profile = "NONE" profile_other = "NONE"Permissions Configuration
Section titled “Permissions Configuration”Allowed Values:
NONE- No one can use this command.SPAWN_PROTECTION_BYPASS- Only players with spawn protection bypass can use this command.CHEAT_COMMANDS_AND_COMMAND_BLOCKS- Only players with cheat commands and command blocks can use this command.MULTIPLAYER_MANAGEMENT- Only players with multiplayer management permissions can use this command.ALL_COMMANDS- All players can use this command.
command permissions
Section titled “command permissions”Permissions for accessing the commands of Cobblemon Skills.
cobbleskills
Section titled “cobbleskills”The permission level required to use the /cobbleskills command.
- Type:
enum - Default:
NONE
cobbleskills_reset
Section titled “cobbleskills_reset”The permission level required to use the /cobbleskills reset command.
- Type:
enum - Default:
NONE
cobbleskills_reset_self
Section titled “cobbleskills_reset_self”The permission level required to use the /cobbleskills reset self command.
- Type:
enum - Default:
NONE
cobbleskills_reset_player
Section titled “cobbleskills_reset_player”The permission level required to use the /cobbleskills reset player command.
- Type:
enum - Default:
MULTIPLAYER_MANAGEMENT
cobbleskills_reset_all
Section titled “cobbleskills_reset_all”The permission level required to use the /cobbleskills reset all command.
- Type:
enum - Default:
ALL_COMMANDS
cobbleskills_leaderboard
Section titled “cobbleskills_leaderboard”The permission level required to use the /cobbleskills leaderboard command.
- Type:
enum - Default:
NONE
cobbleskills_profile
Section titled “cobbleskills_profile”The permission level required to use the /cobbleskills profile command.
- Type:
enum - Default:
NONE
cobbleskills_profession
Section titled “cobbleskills_profession”The permission level required to use the /cobbleskills profession command.
- Type:
enum - Default:
NONE
cobbleskills_admin
Section titled “cobbleskills_admin”The permission level required to use the /cobbleskills admin command.
- Type:
enum - Default:
ALL_COMMANDS
cobbleskills_admin_add_exp
Section titled “cobbleskills_admin_add_exp”The permission level required to use the /cobbleskills admin addExp command.
- Type:
enum - Default:
ALL_COMMANDS
cobbleskills_admin_set_level
Section titled “cobbleskills_admin_set_level”The permission level required to use the /cobbleskills admin setLevel command.
- Type:
enum - Default:
ALL_COMMANDS
cobbleskills_admin_reload
Section titled “cobbleskills_admin_reload”The permission level required to use the /cobbleskills admin reload command.
- Type:
enum - Default:
ALL_COMMANDS
GUI permissions
Section titled “GUI permissions”Permissions for accessing the GUI components of Cobblemon Skills.
main_menu
Section titled “main_menu”The permission level required to access the main menu GUI.
- Type:
enum - Default:
NONE
leaderboard
Section titled “leaderboard”The permission level required to access the leaderboard GUI.
- Type:
enum - Default:
NONE
profile
Section titled “profile”The permission level required to access the profile GUI.
- Type:
enum - Default:
NONE
profile_other
Section titled “profile_other”The permission level required to access another player’s profile GUI.
- Type:
enum - Default:
NONE
Server Configuration
Section titled “Server Configuration”#Server configuration for Cobblemon Skills[server] #Maximum level for all professions # Default: 100 # Range: > 1 professionMaxLevel = 100 #Base experience required for each level # Default: 1020 # Range: > 1 professionBaseExpPerLevel = 1020 #Multiplier for experience required per level # Default: 20 # Range: > 1 professionExpLevelMultiplier = 20professionMaxLevel
Section titled “professionMaxLevel”The maximum level for all professions.
- Type:
integer - Default:
100 - Range:
> 1
professionBaseExpPerLevel
Section titled “professionBaseExpPerLevel”The base experience required for each level.
- Type:
integer - Default:
1020 - Range:
> 1
professionExpLevelMultiplier
Section titled “professionExpLevelMultiplier”The multiplier for experience required per level.
- Type:
integer - Default:
20 - Range:
> 1
Professions Configuration
Section titled “Professions Configuration”Each profession has its own configuration file located in the professions directory. The configuration files are named after the profession, for example, archeology.toml, botany.toml, etc.
Below is an example configuration for the Archeology profession:
#Name of the professionprofessionName = "Archeology"
#Archeology Experience Settings[experience] #Base experience gained from reviving a fossil # Default: 500.0 # Range: 0.0 ~ 1.7976931348623157E308 fossilRevivalBaseXp = 500.0 #Bonus experience gained from reviving a shiny fossil Pokémon # Default: 400.0 # Range: 0.0 ~ 1.7976931348623157E308 fossilRevivalShinyBonusXp = 400.0 #Experience gained from mining an ore block # Default: 400 # Range: > 0 oreBlockXp = 400 #Experience gained from mining a deepslate ore block # Default: 500 # Range: > 0 deepslateOreBlockXp = 500 #Experience gained from mining a miscellaneous ore block # Default: 300 # Range: > 0 miscOreBlockXp = 300 #Experience gained from mining a small tumblestone cluster # Default: 100 # Range: > 0 tumblestoneClusterSmallXp = 100 #Experience gained from mining a medium tumblestone cluster # Default: 200 # Range: > 0 tumblestoneClusterMediumXp = 200 #Experience gained from mining a large tumblestone cluster # Default: 300 # Range: > 0 tumblestoneClusterLargeXp = 300 #Experience gained from mining a full tumblestone cluster # Default: 400 # Range: > 0 tumblestoneClusterFullXp = 400 #Experience gained from mining a type cluster # Default: 500 # Range: > 0 typeClusterXp = 500 #Experience gained from mining a relic coin sack # Default: 600 # Range: > 0 relicCoinSackXp = 600 #Experience gained from mining a relic coin pouch # Default: 700 # Range: > 0 relicCoinPouchXp = 700 #Experience gained from mining a common archeology item # Default: 200 # Range: > 0 commonItemXp = 200 #Experience gained from mining an uncommon archeology item # Default: 400 # Range: > 0 uncommonItemXp = 400 #Experience gained from mining a rare archeology item # Default: 600 # Range: > 0 rareItemXp = 600
#Archeology Rewards Settings[rewards] #Whether extra drops are randomly applied to block breaking rewards in archeology profession randomExtraDrops = true #The minimum level required for extra drops in archeology profession # Default: 10 # Range: > 0 randomExtraDropsMinLvl = 10 #The chance for extra drops to be applied to block breaking rewards in archeology profession # Default: 0.25 # Range: 0.0 ~ 1.0 randomExtraDropsChance = 0.25
#Rewards configuration for the profession[[professionRewards]] levelRequirement = 10 displayName = "Novice" [[professionRewards.rewards]] type = "EXPERIENCE" experience = 20 [[professionRewards.rewards]] item = "minecraft:iron_ingot" amount = 3 type = "ITEM"#Rewards configuration for the profession[[professionRewards]] levelRequirement = 20 displayName = "Apprentice" [[professionRewards.rewards]] type = "EXPERIENCE" experience = 40 [[professionRewards.rewards]] item = "minecraft:gold_ingot" amount = 2 type = "ITEM"#Rewards configuration for the profession[[professionRewards]] levelRequirement = 30 displayName = "Adept" [[professionRewards.rewards]] type = "EXPERIENCE" experience = 60 [[professionRewards.rewards]] item = "minecraft:diamond" amount = 1 type = "ITEM"#Rewards configuration for the profession[[professionRewards]] levelRequirement = 40 displayName = "Expert" [[professionRewards.rewards]] type = "EXPERIENCE" experience = 80 [[professionRewards.rewards]] item = "cobblemon:tumblestone" amount = 4 type = "ITEM"#Rewards configuration for the profession[[professionRewards]] levelRequirement = 50 displayName = "Master" [[professionRewards.rewards]] type = "EXPERIENCE" experience = 100 [[professionRewards.rewards]] item = "cobblemon:sky_tumblestone" amount = 2 type = "ITEM"#Rewards configuration for the profession[[professionRewards]] levelRequirement = 60 displayName = "Grandmaster" [[professionRewards.rewards]] type = "EXPERIENCE" experience = 120 [[professionRewards.rewards]] item = "cobblemon:black_tumblestone" amount = 3 type = "ITEM"#Rewards configuration for the profession[[professionRewards]] levelRequirement = 70 displayName = "Legendary" [[professionRewards.rewards]] type = "EXPERIENCE" experience = 150 [[professionRewards.rewards]] item = "cobblemon:fossilized_drake" amount = 1 type = "ITEM"#Rewards configuration for the profession[[professionRewards]] levelRequirement = 80 displayName = "Mythical" [[professionRewards.rewards]] type = "EXPERIENCE" experience = 200 [[professionRewards.rewards]] item = "cobblemon:old_amber_fossil" amount = 1 type = "ITEM"#Rewards configuration for the profession[[professionRewards]] levelRequirement = 90 displayName = "Divine" [[professionRewards.rewards]] type = "EXPERIENCE" experience = 250 [[professionRewards.rewards]] item = "cobblemon:relic_coin" amount = 16 type = "ITEM"#Rewards configuration for the profession[[professionRewards]] levelRequirement = 100 displayName = "Transcendent" [[professionRewards.rewards]] type = "EXPERIENCE" experience = 500 [[professionRewards.rewards]] item = "cobblemon:relic_coin" amount = 32 type = "ITEM" [[professionRewards.rewards]] type = "COMMAND" command = "tellraw @a [\"\",{\"text\":\"{player}\",\"bold\":true,\"color\":\"aqua\"},{\"text\":\" has transcended in Archeology!\",\"color\":\"gold\"}]"Profession Configuration
Section titled “Profession Configuration”Each Profession configuration file contains the following sections:
professionName
Section titled “professionName”The name of the profession.
- Type:
string
Experience Settings
Section titled “Experience Settings”Experience settings for the profession, including base experience gained from various actions and bonuses for specific conditions.
Rewards Settings
Section titled “Rewards Settings”Rewards settings for the profession, including whether extra drops are randomly applied to block breaking rewards, the minimum level required for extra drops, and the chance for extra drops to be applied.
Profession Rewards Tiers
Section titled “Profession Rewards Tiers”These Rewards are available from the reward claim GUI, and are unlocked when the player reaches the required level for that tier. Each tier can have multiple rewards.
There is three types of rewards that can be configured for each profession: EXPERIENCE, ITEM, and COMMAND.
Experience rewards have the following configuration options:
type- The type of reward. Must be set toEXPERIENCE.experience- The amount of experience to reward the player.
Item rewards have the following configuration options:
type- The type of reward. Must be set toITEM.item- The item to reward the player. Must be a valid Minecraft item ID.amount- The amount of the item to reward the player.
Command rewards have the following configuration options:
type- The type of reward. Must be set toCOMMAND.command- The command to execute when the player reaches the required level.
Note: The command will be executed as the server console, and can include the placeholder
{player}to represent the player’s username.