have you considered just using the built in eq /group roles?
/grouproles list -- Lists all the roles in the current group.
/grouproles set Name RoleID -- Sets the group member's role.
/grouproles unset Name RoleID -- Unsets the group member's role.
/grouproles roleset -- Lists the available role sets.
/grouproles roleset save Name -- Saves the current group's role set.
/grouproles roleset load Name -- Loads a previously saved group role set.
/grouproles roleset delete Name -- Deletes a previously saved group role set.