I need this because players are exploiting it, when a player wants to go mining for example they reset stats and put all of their points into that category. Rinse and repeat. I need a fix for this asap please :)
Remove ability for a player to reset stats and skills?
Hi opens your huntrpg.cs plugin
and goes to line 1673
replaced
if (!AdminReset || player.IsAdmin)
{
elements.Add(CreateButton("hunt.cmd statreset", i++, height, 15, "R"), buttonsName);
elements.Add(CreateButton("hunt.cmd skillreset", i, height, 15, "R"), buttonsName);
}
by
if (!AdminReset || player.IsAdmin)
{}
and goes to line 1673
replaced
if (!AdminReset || player.IsAdmin)
{
elements.Add(CreateButton("hunt.cmd statreset", i++, height, 15, "R"), buttonsName);
elements.Add(CreateButton("hunt.cmd skillreset", i, height, 15, "R"), buttonsName);
}
by
if (!AdminReset || player.IsAdmin)
{}
Thankyou +1
Or at the top of the config turn the adminreset from false to true