here is my outline for the system:
Main Handler:
1: check the player is not already in a group, check that the group is open, assign player to the group, use messaging service to update all servers
2: on success, bring up a menu to customize the sect: name, color → register the group into a datastore, use messaging service to update all servers.
Sect = {
Name = “Name”;
Color = Color3.new(1,0,0);
Members = {“BreezeOnTheDoor”,”AlphaMale”,”ProGamer”},
}
3a: check if the player is in the sect, remove the player from the sect, update all servers
3b: get sect information from datastore, send info back to client
4: remove the table from datastore
When player joins, they should have a value in their data with their sect in it. Check the datastore to see if their sect exists. If deleted like 4, then set value to nil
Client:
1: Use groupID to join a group or the group’s name
2: create a sect: prompt dev product purchase
3: (for sect owners): manage group
3a: kick member
3b: view members
4: disband sect
the “sect” is basically just a guild or clan. I was wondering if datastores updated across all servers automatically or if I had to use messaging service. If I have to use messaging service, I don’t know how I would go about that so I need help on that.