- Added /sr resetMap <Map>
- Permission: sr.command.resetMap
- Resets the time record for all players on a specific map. Note that this will not delete the player from the map database (map and player data have separate tables), only reset their time.
- Added /sr resetPlayer <Player> <Map>
- Permission: sr.command.resetPlayer
- Resets the time record for a specific player on a specific map.
Tested to some extent, if you are planning to use the resetMap command I'd recommend you testing on a setting environment first, if you want to make sure, create a backup of your database; for MySQL just backup the
speedrun_times table and for SQLite backup the entire file.
EDIT: Got some feedback that everything is working fine, should be good!