gotcha. these are not web browser or web panel issues then. for anyone else using a web panel, refresh (or hard refresh) the web page and try again. if it still doesn't work then the option is broken.
TLDR; the metabolism option broke in a Rust update. wait for the next update.
if anyone wants to understand or learn about what's going on, then continue reading. I don't mind explaining, and I think it's important that people understand these things. running a server is fun, but so is understanding how everything works, including how to reload plugins with minimal downtime.
- changes to the config were applied. it made no difference because that option was broken by a Rust update. HandleMetabolismDamage exits early at
damageAmount > threshold - the hurt trigger output in your trace is due to that issue. if the metabolism option worked correctly then metabolism would be shown in the trace instead. so why exactly does it show hurt trigger? because they use the same damage type, and the game does not pass any identifiers to distinguish them apart other than the damage amount itself. this is why the output shows "Unknown_Weapon, Unknown_Prefab" because both the initiator and the weapon prefab are null.
- the plugin should not reload itself after a source edit. that's handled by Carbon and Oxide. use
c.reload TruePVE (and Oxide users can use o.reload TruePVE) if the plugin is not automatically reloaded.
if the plugin does not reload after using the reload command then a server restart is generally not required. a server restart will cause unwanted downtime and disrupt the players gaming session. rarely is it necessary to restart the server for a plugin unless a plugin is crippling the server or required in the plugins documentation. if you want to avoid a server restart then follow the below steps.
- move TruePVE.cs outside of the plugins folder
c.unload TruePVE (Oxide users can type o.unload TruePVE) to ensure the plugin is unloaded. do not skip this step.- usually you can skip this, but sometimes it's required to change the files hash even if it was just changed.
it's very easy to do this.
open TruePVE.cs
go to line 22
change "nivex" to "pizza" for example
and save the file. - move TruePVE.cs back into the plugins folder
- reload the plugin if Carbon/Oxide is still being stubborn and doesn't load it for you.
if you still cannot get the plugin to reload then you can restart the server. something is seriously wrong with it at that point.