Minecraft Data Packs / Game Mechanic

Permanent Experience

  • check_circle Advancements
  • check_circle Functions
  • 1,065 views, 27 today
  • 116 downloads, 2 today
  • 11
  • 10
  • 4
MrPlayerYork avatar MrPlayerYork
Level 14 : Journeyman Engineer
2
Introduction
What is up guys and girls, York here with another data pack that modifies a very well know feature in the game. This is Permanent Experience, a data pack that aims to give you a more RPG feeling to the leveling system. Without further ado, let's get to explaining how the pack works!!

EDIT: So after doing some testing and bug updates, I have figured out there is a lot more stuff that I did not plan to deal with. So this pack is being left at 1.3, however, I will be creating a new version of this pack from the ground up. So I'm not abandoning this project but a rewrite is in order.




The Biggest Change
YOU NEVER LOSE YOUR LEVELS!! Well, there is a caveat. While you will never lose your level, you have to wait for your levels to regenerate. Much like blacksmiths who make weapons and armor, your player should get tired. In this case, the players' power is getting sucked into a tool, weapon, or armor piece and that should make him exhausted (there are no effects added onto the player). How long does it take? Keep reading and I'll tell you.

Leveling Up
Leveling hasn't changed, kill monsters, get XP. Cool, but what makes this pack different is when a player levels up, that level is saved as their max level. This means if a player's current level is lower than their max level, they will enter the cooldown and regeneration mode. Players can still pick up XP in this mode but it will not be directly added to the XP bar until the player has fully regened their xp. *More about this in the Reserve section.

Max Level
You didn't think that was the end of the max level, did you? Well, there is a small thing I thought I should add in its own section. There is a global max level that you can be in the world. By default that is 50, but you can change that in the settings. *More about this in the Settings section. Once a player gets to the max level, no matter how much XP they gain, the pack will remove any levels that go above this cap.

P.A.T.
Or Permanent Anti-Cheat (Don't ask, I named it pat when I made the pack but as of writing this, I have no idea what the T meant.)
PAT is a system that I made to prevent players from profiting from their death. Since when a player dies, they can drop up to 7 levels of XP and they never lose levels, you can see why it's needed. This does not prevent other players from picking up a dead player's XP so they will be rewarded for their kill.

Reserve
Remember when I said something about players not picking up XP directly? Ya, me neither, let's go over that. When a player is regenerating their levels, 99% of the XP that they would pick up gets safely stored in a reserve. Once a player's level is recharged, that reserve will be emptied into the XP bar, allowing players to get credit for their kills and further level up.



Settings
To open the settings, type /function #mpe.settings
There are 3 setting options that you can mess around with till your heart contents if you don't like the default values. Let's talk about those values.
Global Max Level - Default: 50
We already talked about this in the Max Level section, so I won't re-explain what this does.
Minutes - Default: 20
This option depicts how long it takes a player to go from level 0 to their max level.
Intervals - Default: 5
Intervals help decide how many bursts of XP a player gets before reaching their max level. If you're trying to get a precise wait time between each burst, what helps is taking the sum of ((minutes*60) / intervals) and that is how many seconds a player has to wait before their next burst of XP.

Optional Stuff
If you are not a fan of the anti-cheat or the reserve, you can easily find their respective uninstall scripts by doing /function "mpe.anticheat:uninstall" or /function "mpe.reserve:uninstall"




Compatability Issues
If you are using the graves datapack from vanilla tweaks but you still want to keep the PAT system, go into the graves config and toggle XP Collection off.
CompatibilityMinecraft 1.16
toMinecraft 1.17 Snapshot
Tags

4 Update Logs

Version 1.3 : 04/06/2021 7:56:12 pmApr 6th

Another tiny update.
  • fixes a problem where the interval calculations were not being made when you changed the settings.
LOAD MORE LOGS

Create an account or sign in to comment.

1
04/08/2021 11:32 pmhistory
Level 1 : New System
Kaarter
Kaarter avatar
Really looking forward to trying it out with a load of other difficulty increasing , dungeon + RPG packs - Fits right into what I want



Edit :

Especially if it works with Ant_Redstone's 'Warp Book', Using EXP to teleport, varying on distance I believe, brings the option at a large expense - A really realistic balance
2
04/08/2021 4:38 am
Level 1 : New Explorer
Alexis_Kim
Alexis_Kim avatar
Unique take on xp, I like it. I'll take it out for a spin once you've updated it.
2
04/05/2021 7:34 pm
Level 14 : Journeyman Engineer
MrPlayerYork
MrPlayerYork avatar
I am deeply sorry that I caused some of you to download a very unoptimized datapack and hopefully, with version 1.2, those problems have been fixed.
2
04/05/2021 2:13 pm
Level 14 : Journeyman Engineer
MrPlayerYork
MrPlayerYork avatar
Please let me know what you think of the pack and if you have any better setting suggestions, I'll gladly add them as presets in a future update.
Planet Minecraft Logo

Website

© 2010 - 2021
www.planetminecraft.com

Welcome