This function pack allows you to convert a selected player’s score from a specified scoreboard objective into XP levels.

Contributors

This work is licensed under the MIT License.

Usage Commands

/tag <target> add wiki:score_to_xp_level

Enables score-to-XP level conversion for the selected target.

/playsound random.wiki.levelup

This pack mutes the random.levelup sound to prevent undesired sound effects from playing during the conversion. If you wish to use the level-up sound effect elsewhere in your project, you can use the random.wiki.levelup sound ID instead.

Editable Files

functions/wiki/scoreboard/players/score_to_xp_level.mcfunction