Hello, if I understood correctly, vip1–3 are groups, and you want customers who purchase vip1–3 in your store to be assigned to these groups for 30 days.
You can achieve this either through a separate plugin that works via API, or by using a chat command or console command.
Chat commands:
/tperm add *nameOrId* vip1 wipe - Grants until the next wipe;
/tperm add *nameOrId* vip2 2592000 - Grants for 30 days;
/tperm add *nameOrId* vip3 "2025-05-30 17:57" - Specifies the exact date in UTC format until which the temporary group will remain active.
Chat commands can also be used in the console, just without the "/".
Console commands(for Carbon it will be c.usergroup):
o.usergroup add *nameOrId* vip1 wipe
o.usergroup add *nameOrId* vip2 2592000
o.usergroup add *nameOrId* vip3 "2025-05-30 17:57"