sbox-issues icon indicating copy to clipboard operation
sbox-issues copied to clipboard

Editing Stats

Open badandbest opened this issue 1 year ago • 4 comments

For?

S&Box

What can't you do?

I'm unable to edit the stats of my gamemode.

Being able to edit stats would be useful for:

  • If someone cheats a highscore I want to delete it.
  • If a bug happens that increases someones stats by a large amount, I don't want to completely reset their progress, but rather edit the stat to pre-fuckup value.

How would you like it to work?

Editing stats could be on the stats page of each gamemode.

For deletion, it could be a button on the left of the score. For editing, maybe you could just click the score like a text field and set it to whatever you want. ui design is my passion

What have you tried?

It is currently possible to set my own stat by using Stats.SetValue( "distance", value );. But I can't specify a SteamID to let me set the value of others. Which would also be useful.

Additional context

No response

### Features
- [ ] Edit stats
- [ ] Delete stats

badandbest avatar Feb 16 '24 01:02 badandbest

half-dupe of #4592

GavrilovNI avatar Feb 16 '24 01:02 GavrilovNI

Would be an extremely useful feature, love to see it.

Flubbex avatar Mar 10 '24 10:03 Flubbex

please garry i am on my knees begging for stat deletion

rcnoob avatar Aug 04 '24 17:08 rcnoob

Some hacker fucked my stats, now its -57 MILLION in energy... image Either editing or at least deleting would be very important! @garrynewman

MenschlichTv avatar Sep 21 '24 18:09 MenschlichTv

You can delete stats but not edit them.

badandbest avatar Mar 14 '25 09:03 badandbest

@badandbest but even that is useless because it doesn’t update leaderboards…

MenschlichTv avatar Mar 14 '25 10:03 MenschlichTv

oh my god...

badandbest avatar Mar 14 '25 10:03 badandbest

Its almost two years now... PLEASE @garrynewman ...

MenschlichTv avatar Dec 08 '25 17:12 MenschlichTv