Skip to content

Edit players playtime for OP #90

@StarGamerShalom

Description

@StarGamerShalom

This may be a Combo Request/Help/Bug

Not sure if I missed it somewhere but it would be nice to have an easy way to edit players playtime for OP's that does not require a server restart to update.

Benefits:
This would be super helpful for servers that are moving from one plugin to another or if something happened server side and playtimes need to be added back in.

In my case for example I have a ranking system that relies on the playtime for ranking. I started this after some players have played for over a year but did not want to use that play time to rank them up to top rank instantly. This would be unfair to other players just joining when its meant for everyone to start at the same level since it is a new addition.

Issue is I am converting from another playtime plugin and I want players to have that playtime and not their playerdata playtimes. I can do this as players join the game again but then it seems to require a server restart every time for each player. Even that may be ok but then they will lose all their playtime they aquire from the time I make the adjustment until the server does its daily restart. Because I assume that when it does restart it is going to update their playtime to what I entered in the configs and not account for the time earned in between. Hope that all makes sense.

Thought about MySQL but when I attached it, it was not picking up any player information to be able to edit even though it had all the tables in there and connected. I removed it as I don't really need it on SQL anyway.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions