|LSL Portal||Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials|
For in-depth answers about common questions about groups, go here: Category:Groups
In Second Life, a group is an association of people. As of July 2008, there is still a fee of L$100 to create a new group. Once created, a group's name cannot be changed. Nor, it appears, can it be re-used.
A group must have in it 2 or more people. If a group's membership gets down to 1 person only, or 0, the system will purge it eventually. The present writer is unaware of a maximum number of people in a group.
A user with a Basic account my join a limit of 42 groups (updated January 2011), and a user with a Premium account my join up to 60 groups (updated May 2015). The original limit was 10; this was raised to 15 in SL 1.4.0, and again in SL 1.12.0 to 25. Calls for the maximum to be increased even further began almost immediately after it was raised to 25.
If a user with a Premium account is a member of more than 42 groups and downgrades to a Basic account, no memberships are lost, but they are not able to join any new groups until they belong to fewer than 42 groups.
Joining a Group
The creator of a group can set joining conditions to:
- invitation only;
- open to join, but there is a fee to join;
- open to join for free.
Group members are able to accord each other some access privileges, and can do sharing of financial items such as land tier, etc, if they choose. Some vending systems allow you to tell your vendors to accord certain discounts to group members.
Land and objects can be set to a group, shared with a group or be deeded to a group.
Note that a non-transferable item cannot be deeded to a group, because that would be a transfer of ownership.
Some objects, such as media objects like radios, TV's and security systems, will not function on group-owned land unless they are deeded to a group. Owing to this, note that non-transferable radios, for instance, can never work on group land.
When a person has a group active, that group's name appears in the bubble above his or her head. This is referred to as the "group tag." "Having your group tag active" means having a certain group currently set to be your active group.
Upon joining a group, it immediately sets itself to become your active group at that time (some people find this annoying.)
Scripting and Groups
- Identifying someone's group(s) through scripting
- There is as of yet (July 2008) no way of telling what groups someone belongs to, or of knowing what is the name of the group that they currently have active. The best you can do is compare the group they have active with the group that an object is set to, and get an answer as to whether they match or not. You do this using either llDetectedGroup() or llSameGroup(). (To be clear: all you get back is an answer as to whether there is a match between the object's group, and the person's active group, or not. You get no other information.)
- You cannot use llGiveMoney to give money to a group;
- If your scripts draw on functions that can only work if same entity (person or group) owns both the scripted object and the land it is rezzed on, then you need to either release the object with transfer privileges so that it can be deeded to group and therefore work on group-owned land, or warn the customer in advance of purchase that the item won't work on group-owned land;
- Communications such as instant messages cannot be sent to a group per se. Instead, what you have to do is create a list of the UUIDs of the people in that group, and loop through the list sending an instant message to each person separately;
- Note to teams working on shared scripting projects: membership in a common group is one of the pre-requisites to shared editing access to scripts.
- You can use the World API in order to obtain group information by UUID key.
- There is no LSL function that returns a group's name as a string. However, if you know a group key (as a result of calling llGetObjectDetails with OBJECT_GROUP, or calling llGetParcelDetails with PARCEL_DETAILS_GROUP), you can display the group's name in the viewer and chat history using the Viewer URI Name Space:
llOwnerSay("secondlife:///app/group/" + (string)group_key + "/about");
Pages in category "LSL Group"
The following 12 pages are in this category, out of 12 total.