Tensura Power Limits 1.1.0
Curse Maven Snippet
What's new
Tensura: Power Limits 1.1.0
New name
Tensura: Skill Limits is now Tensura: Power Limits, since it now caps EP as well as skills. The new name goes all the way through:
- Commands are now
/powerlimits(was/skilllimits). - Config folder is now
config/powerlimits/. Your oldconfig/skilllimits/folder is moved there by itself the first time 1.1.0 starts, so your settings are kept. - Game rule is now
powerLimitsUsePoints. Worlds that hadskillLimitsUsePointson need/gamerule powerLimitsUsePoints trueagain (or setmode = "points"in config.toml). - Datapack tags and IDs start with
powerlimits::#powerlimits:group/<name>,#powerlimits:category/<name>, the advancementpowerlimits:awaiting_reincarnation, and limit items'custom_data={powerlimits:{...}}. - Mod id is
powerlimits; the API isPowerLimitsAPIincom.powerlimits.api. - Remove the old
tensura-skilllimits-*.jarwhen you addtensura-powerlimits-1.1.0.jar. The game won't start with both and says so.
Player data from 1.0.x doesn't carry over. On a world that ran 1.0.x, players lose their permanent bonuses (from commands and limit items), gifted skills start counting like any other, skills given up for good can be learned again, skills the mod was holding back stay where they are, the team records start over, and the reincarnation hold is forgotten for players already waiting. Before updating a live server, you can have players press Restore on held-back skills, and note anyone's bonuses (/skilllimits view <player>) to give them again with /powerlimits bonus.
New: EP caps
Server owners can now cap how much EP a player can grow to. It's in a new file, config/powerlimits/ep.toml, and is off by default, so existing servers don't change.
- Cap by evolution: by default a player's EP stops at what their race's next evolution needs. Evolving raises the cap.
evolutionPercentscales it (150 = half as much again). When a race has several evolutions to pick from, the one that needs the most EP sets the cap, so no path is shut. - Fixed or growing caps: write a number (
500k,2mwork too), ormin-maxto grow with evolution like the skill limits.-1means no cap. - Caps per race or race tag:
"tensura:slime=50000","#tensura:divine=-1","#tensura:spiritual=evolution". - Final forms share one cap, like the Max of the skill limits:
finalForm, 5M by default. A final form's cap is never below the EP it took to become it. - An evolution with no EP requirement (one that needs a name or an item) counts the EP its race starts with, as Tensura does, so every race has a sensible cap. No cap is ever below the EP a race starts with, so evolving never puts a player straight over their new cap.
- An evolution that raises the cap and the stats together always gives the stats, up to the new cap, whatever order things happen in.
- Modifiers: use
epas the target in the usual modifiers list, with any condition:"truedemonlord|ep=-1","tag:vip|ep+250k","advancement:minecraft:end/kill_dragon|ep+1m". - Items and commands:
"minecraft:nether_star|ep|100k"raises a player's cap for good; so does/powerlimits bonus <player> add ep 100k. - Extra EP: by default, EP earned at the cap is saved and given back as soon as the cap goes up. Set
whenAtCap = "lose"to throw it away instead. - Saved EP has a limit:
saveLimit(default"100%", as much as the player's cap; a number like"500k", or -1 for no limit). Grinding at one cap can no longer skip most of the next tier right after evolving. - Players already above their cap keep their EP; they just don't gain more until the cap passes them.
- Players see their EP, cap and saved EP when hovering a count in the skill menu, and in
/powerlimits info. They get one action-bar message when they reach the cap, which says whether extra EP is saved, whether their saved EP is full, and whether evolving will raise the cap (so final forms and fixed caps aren't told to evolve). - Awakenings go past the cap: becoming a true demon lord or true hero, and the Harvest Festival gift, ignore the cap by default (
skipCap), so those big moments are never lost. Evolution stats can be added to the list;skipCapClasseslets other mods through. Admin commands that set EP, reincarnations and race resets are never capped. - Cap going down:
whenOverCap = "keep"(default) lets players keep EP above a lowered cap;"trim"cuts them to the cap and saves the difference./powerlimits ep trim <players>does it by hand. - Messages: players are told in chat when their cap goes up or down (with any saved EP in the same line).
atCapMessagesets your own at-cap text ({cap}, & colours) or"none";capChangeMessages = falseturns the chat lines off.
Also new
- Skill limits can be switched off:
skillLimits = falsein config.toml turns off every skill rule (limits, groups, bans, team limits, the Unlearn button). EP caps and the reincarnation hold keep working, so a server can use only the EP caps. Players then see a single EP plate under the ability slots in the skill menu. /powerlimits ep export currentwritesep-caps.txt: every race, what its next evolutions need and the EP cap it gets, plus the modifiers that change it.- Group names: the new
nameslist in groups.toml sets the name players see for a group in chat,/powerlimits infoand the skill menu:"class_tank=Tank","fire_magic=Pyromancy"(up to 24 letters). Groups not listed keep their own name. - Modifier condition
team:<name>: players on that scoreboard team (/team join <name> <player>), e.g."team:red|extra+1"or a team limit"team:red|sins.total=1". Run/powerlimits refreshafter moving players between teams. - Modifier condition
race:#<race tag>, e.g.race:#tensura:divine. /powerlimits bonusaccepts large amounts forep, written like the config files:100k,2.5m,1b.- A race that evolves into a race from another mod whose EP can't be read gets no cap from "evolution" (instead of a cap of 0);
ep-caps.txtmarks it so you can give it one withraceCaps.
Note for servers
Players need 1.1.0 to join a server running 1.1.0. With skillLimits = false (EP caps and the reincarnation hold only), players can join without the mod at all; they only miss the EP shown in the skill menu.
Skill limits that grow with EP
- New
growWithsetting in config.toml (new Growth section):"evolution"(default, as before) or"ep". - With
"ep", each EP milestone inepSteps(default 100k, 400k, 2M, Tensura's own tiers) moves every Min-Max limit one equal step toward Max. Example: extra 6-12 is 6 under 100k EP, 8 from 100k, 10 from 400k, 12 from 2M. - The highest EP a player has reached counts, so losing EP never lowers their limits. It starts over when they reincarnate.
- Works for points totals and "A..B" modifiers too.
/powerlimits viewshows a player's highest EP and milestones reached.
Easier config files
Your existing settings are moved over automatically the first time the game starts. The old files are backed up in config/powerlimits/backup-before-1.1.0/.
- Every limit is written the same way now: a number, or
"min-max"to grow. sets.toml went from 20 settings to 10 (extra = "6-12"instead ofextraMinandextraMax). The points total istotal = "100-150". - The switched-on resistance limit is now one line in the switched-on list (
"resistance=4-6"), like every other type. - New Growth section in config.toml:
growWithandepStepsexplain in one place how every min-max number grows. - The reincarnation hold moved to config.toml.
uniqueFollowsOnlymoved next to the other only= settings in groups.toml Modifiers. - Team limits have their own
[Teams]section in groups.toml. - ep.toml:
extraEPis nowwhenAtCap, andoverCapis nowwhenOverCap(matchingwhenOverLimit). - A typo in a skill type's limit (
extra = "six") now uses that limit's default value and tells ops, instead of quietly removing the limit. - Clearer comments in every config file and a tidier guide.txt: one "writing a limit" section at the top (including that a min-max value goes in quotes), and modifiers, the only= settings and team limits in the same order as in groups.toml.
Mode in config.toml
- New
modesetting in config.toml:"sets","points", or"gamerule"(default, as before: each world picks with the game rulepowerLimitsUsePoints). Modpacks and servers can now ship points mode without setting a game rule in every world.
New commands
/powerlimits restore <players>brings back every skill the mod held back (sent back to waiting, or sealed), as far as there is room. Useful after a limit was lowered by mistake: players no longer have to press Restore on each skill./powerlimits ep resetpeak <players>: withgrowWith = "ep", forgets the highest EP a player reached, so their limits follow the EP they have now (for example after testing with/tensura edit stat).
Safer config files
- A missing pair of quotes no longer wipes a file. Before,
extra = 6-12orfinalForm = 5mwithout quotes made NeoForge reset the whole file to the defaults (keeping a-1.toml.bakcopy and only saying so in the log). The mod now adds the missing quotes itself when the game starts, and when a file is saved while the server runs. Ops are told in chat what was fixed. - If a mistake can't be fixed that way (a setting written twice, for example), ops are told in chat which file to fix and where their copy is. A running server keeps the settings it had until it restarts, instead of switching to the defaults.
- A min-max written the wrong way round (
"12-6") still works but now warns ops, since the limit would shrink as players grow. - sets.toml:
nullification = "shared"(the default) now means nullifications count toward the Resistance limit; before, this was-1, which means "no limit" everywhere else. Old files are moved over automatically.
Clearer config files and guide
- guide.txt starts with a Quick start: common goals, with the file and setting for each, and how to change a setting safely. Every section of the config files says which guide section explains it.
- sets.toml says on the magic and battlewill lines that the spellcraft group in groups.toml limits them (8-16 together), and that Tensura has no ultimate skills yet.
- Examples added for
free,bannedand modifiers (including anonly=line), and everyskipLimitssource is explained (spirit= Labyrinth Praying Path,copied= Predator, Gluttony, Great Sage, Possession, Drain and the like). - ep.toml's race cap example now uses a race tag, since a min-max cap on a single race always gives one number.
- New guide tips: limits that grow with playtime (through a scoreboard objective, no timer), and keeping a switched-on limit in points mode through a group. The guide also says that switching EP caps off gives every player their saved EP.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include