Home›Java›Datapacks›val's XP Cap
val's XP Cap
DatapacksJava

val's XP Cap

Java data pack listed for Minecraft 26.x. Downloads from the MC Java Mods app on Android.

by valproate · on Modrinth

A datapack that aims to slow down the progression by putting a cap on the amount of XP a player can earn within a day or interval.

⬇ Download on Modrinth

val's XP Cap

banner

A Minecraft datapack that limits how much experience points a player can earn within a configurable time interval. By default this pack is configured to 420 experience points per day. This equates to about level 0 to 17.5 ingame.

Config

You can customize the XP cap and reset interval in data/val_xp/functions/load.mcfunction.

1. Maximum XP per interval

scoreboard players set #max_xp_per_interval val_xp_config 420

Controls the maximum amount of XP a player can earn during each interval.

Change 420 to whatever limit you want.

2. XP limit reset interval

scoreboard players set #ticks_per_interval val_xp_interval_counter 24000

Controls how frequently the XP limit resets, measured in game ticks.

One Minecraft day is 24,000 ticks.

Interval Ticks
1 day 24,000
2 days 48,000
3 days 72,000
1 week 168,000

For example, setting the value to 168000 makes the XP limit reset every 7 Minecraft days.

Installation

  1. Download the datapack.
  2. Place the datapack folder inside your world's datapacks directory.
  3. Run re-open your world or just run /reload in-game.
  4. The datapack is ready to use!
Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more