# Leveling

## Rankup Leveling System

```yaml
formula: 600
currency: blocks
worlds-blocked:
- "world-blocked"
bar:
  number-bars: 20
  progress-bar-delimiter: ':'
rewards:
  for-each:
  - pouch give %player% Tier1
  - if(%rankup% > 100) then pouch give %player% Tier1
  - edp title %player% &eNew rankup level %edprison_rankup_level_formatted%!
  - edp sound %player% ENTITY_EXPERIENCE_ORB_PICKUP
  for-specific:
    rank5:
    - pouch give %player% Tier2
    rank10:
    - pouch give %player% Tier3
  for-interval:
    every20:
    - pouch give %player% Tier3
```

#### `formula`

The blocks required for each rankup (SUPPORTS FORMULA EXAMPLE: "%rankup%\*600")

#### `currency`

The currency to rankup, can be blocks|money|tokens|gems|crystals

#### `worlds-blocked`

The worlds blocked when you can't rank

#### `bar`

numbers-bars(amount of characters the placeholder bar has) and progress-bar-delimiter(the character of the bar)

#### `rewards`

for-each (commands executed every rankup)\
for-specific (commands executed on specific rankup levels)\
for-interval (commands executed every X rankup)

## Pickaxe Leveling System

```yaml
formula: "200*1.2*%levelPick%"
start-with-pickaxe: true
block-pickaxe-from-moving: true
keep-pickaxe-on-die: true
open-menu-button: RIGHT_CLICK
bar:
  number-bars: 20
  progress-bar-delimiter: ':'
rewards:
  for-each:
  - edp title %player% &eNew pickaxe level %edprison_pickaxe_level_formatted%!
  for-specific:
    pickaxe5:
    - pouch give %player% Tier2
    pickaxe20:
    - pouch give %player% Tier3
  for-interval:
    every50:
    - pouch give %player% Tier3
```

#### `formula`

The blocks required for each rankup (SUPPORTS FORMULA EXAMPLE: "%rankup%\*600")

#### `start-with-pickaxe`

Should the player receive a pickaxe on first join?

#### `block-pickaxe-from-moving`

Should the pickaxe be blocked from moving outside player's inventory?

#### `keep-pickaxe-on-die`

Should the pickaxe be kept on die?

#### `bar`

numbers-bars(amount of characters the placeholder bar has) and progress-bar-delimiter(the character of the bar)

#### `rewards`

for-each (commands executed every rankup)\
for-specific (commands executed on specific rankup levels)\
for-interval (commands executed every X rankup)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://edwardbelt.gitbook.io/edprison-core-documentation/features/leveling.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
