Addgroup not saving after player disconnectSolved
I'm using the command "addgroup <steamid> vipt 30d" which works until the player disconnects. I've tried using "server.writecfg" but that doesn't help. after the player disconnects it removes them from group "vipt" but there data in Timmed Permissions is still there.

---------------------------------------------------------------------------------
"(10:10:58) | Group 'vipt' players: No players currently in group"
---------------------------------------------------------------------------------
*"Permissions": [],
"Groups": [
{
"Value": "vipt",
"ExpireDate": "2019-03-10T13:19:13.6498651Z"*
-------------------------------------------------------------------------------------

Any help would be greatly appreciated,
Gen. Sriracha

"server.writecfg" has nothing to do with Oxide groups; you should be using "save" or "server.save". This should happen automatically when the server saves, so manually calling save should be unnecessary.
In response to Wulf ():
"server.writecfg" has nothing to do with Oxide groups; you should be using "save" or "server.save"....
I was trying it as I don't know what else to do, I know other servers are using this plugin and command and so far I'm doing the same as them but its just not working for me.

I just don't understand why the command works and they are set in timed permissions but as soon as they log off it stops working.

Merged post

So its not when the player logs off, its when the server restarts.

Merged post

I think I may have found the issue; the group I've been using was also the same group I was using for VIPTrial. Upon login from testing it on myself a message would appear as the player would be loading in saying "your VIP trial has expired". The player wouldn’t see this unless they went straight into chat.

Locked automatically