LevelingCore icon indicating copy to clipboard operation
LevelingCore copied to clipboard

[Feature]: Item Level Display

Open GlobalHive opened this issue 9 months ago • 8 comments

Mod Version

0.9.5

Hytale Version

2026.02.06-aa1b071c2

Feature summary

Display the required level in the item description. And / or send chat message.

Motivation and context

If you use a weapon without the required level it simply does no damage. Whats confusing.

Proposed solution or design

Add "Required level: {level}" to item description if item has a required level. And / or send chat message on attack "You do not meed the required level for this item" or something like that.

Alternatives considered

No response

Additional context

No response

GlobalHive avatar Feb 08 '26 12:02 GlobalHive

https://github.com/AzureDoom/LevelingCore/blob/1a3d2a876252168a7755e1e4510e04ea47974dac/src/main/java/com/azuredoom/levelingcore/systems/damage/MobDamageFilter.java#L81 it already sends a message though?

AzureDoom avatar Feb 08 '26 18:02 AzureDoom

Didnt see any with the latest version from curseforge.

Gonna check after work again.

GlobalHive avatar Feb 09 '26 07:02 GlobalHive

Image

Just checked locally and it's working and showing for me. Can you show me your main .json and the csv?

AzureDoom avatar Feb 09 '26 23:02 AzureDoom

Just checked, doesn't display for me.

Main Json

{
  "EnableXPLossOnDeath": true,
  "XPLossPercentage": 0.1,
  "DefaultXPGainPercentage": 0.5,
  "EnableDefaultXPGainSystem": true,
  "EnableLevelDownOnDeath": false,
  "EnableAllLevelsLostOnDeath": false,
  "MinLevelForLevelDown": 65,
  "EnableLevelChatMsgs": false,
  "DisableXPGainNotification": false,
  "EnableLevelAndXPTitles": true,
  "ShowXPAmountInHUD": true,
  "EnableStatLeveling": true,
  "HealthLevelUpMultiplier": 2.200000047683716,
  "StaminaLevelUpMultiplier": 1.350000023841858,
  "ManaLevelUpMultiplier": 1.600000023841858,
  "EnableStatHealing": true,
  "LevelUpSound": "SFX_Divine_Respawn",
  "LevelDownSound": "SFX_Divine_Respawn",
  "UseConfigXPMappingsInsteadOfHealthDefaults": true,
  "EnableLevelUpRewardsConfig": false,
  "DisableStatPointGainOnLevelUp": false,
  "StatsPerLevel": 5,
  "UseStatsPerLevelMapping": false,
  "StrStatMultiplier": 0.10000000149011612,
  "PerStatMultiplier": 0.10000000149011612,
  "VitStatMultiplier": 2.0,
  "AgiStatMultiplier": 0.25,
  "IntStatMultiplier": 2.0,
  "ConStatMultiplier": 0.800000011920929,
  "EnablePartyProXPShareCompat": true,
  "EnablePartyPluginXPShareCompat": true,
  "EnablePartyXPSplit": true,
  "PartyGroupXPMultiplier": 0.5,
  "KillerGetsFullXp": true,
  "EnablePartyXPDistanceCheck": true,
  "PartyXPDistanceBlocks": 500.0,
  "LevelMode": "NEARBY_PLAYERS_MEAN",
  "MobHealthMultiplier": 2.0999999046325684,
  "MobDamageMultiplier": 0.25,
  "MobRangeDamageMultiplier": 0.30000001192092896,
  "EnableItemLevelRestriction": true,
  "EnableXPBarUI": true,
  "ShowPlayerLvls": true,
  "ShowMobLvls": true,
  "MobLevelMultiplier": 0.35,
  "MobNameplate": "{name} [Lvl. {level}]"
}

itemlevelmapping.csv

itemnameid,lvl
Weapon_Club_Iron,5
Weapon_Longsword_Iron,5
Weapon_Spear_Iron,5
Weapon_Staff_Iron,5
Weapon_Axe_Iron_Rusty,5
Weapon_Club_Iron_Rusty,5

GlobalHive avatar Feb 10 '26 16:02 GlobalHive

Thanks! Ill compare to mine here

AzureDoom avatar Feb 10 '26 16:02 AzureDoom

Whoop, linked wrong issue, my PR just closes issue #19 not this one sorry.

GlobalHive avatar Feb 11 '26 01:02 GlobalHive

Tested locally with your configuration and still getting messages. Do you have any chat based mods?

AzureDoom avatar Feb 11 '26 06:02 AzureDoom

Image

Adding for me to investigate before weekend release. Hopefully I can pull in via cursemaven to make life easier

AzureDoom avatar Feb 19 '26 02:02 AzureDoom