Skip to content

Cobbled Level Control - NPC Extensions

Cobbled Level Control includes extensions for Cobblemon NPCs, allowing them to interact with PokeTotems in various ways. These extensions can be used to create custom NPC dialogues and interactions involving PokeTotems.

  • Function
    q.player.level_control()

    Returns the player's UUID and their account record for use with the level control functions.

    Returns { "playerUUID": "string", "accountRecord": { "catching": number, "leveling": number } }
  • Function
    q.player.level_control.status()

    Returns the player's current level control status, including their difficulty setting and account record.

    Returns { "difficulty": "string", "catching": number, "leveling": number } OR 0
  • Function
    q.player.level_control.lvlup(<module string>)

    Levels up the player in a specific module, increasing their catching and leveling stats accordingly.

    Returns 1 for success, otherwise 0
  • Function
    q.player.level_control.setlvl(<module string>, <lvl int>)

    Sets the player's level in a specific module to a specific value, adjusting their catching and leveling stats accordingly.

    Returns 1 for success, otherwise 0