GroupSupport
Current Version: 1.1
About
Group Support Allows Users To Create And Modify Groups To Use With Other Plugins.
Alone This Plugin Doesn't Shine. It Is A Support Plugin To Extend Other Plugins.
See How To Use For Details On How To Use This Within Your Plugin.
Commands
/gs Create - Creates A New Group, Group Name Must Be Unique
/gs Modify - Modify An Existing Group
/gs Merge - Merge 1 Or More Groups Into A New Group
/gs List - Lists Groups On The Server Or Members In A Group
/gs Reset - Clears All Players/Groups/Users From The Group
/gs Delete - Delete 1 Or More Existing Groups
/gs Help - Provides Help Info For GroupSupport
/gs Example - Provides A Detailed Example
There Are 3 Lists Per Group
Players - Who The Group Effects
Groups - Like Players, But Will Effect Each Player In The Groups
Users - Who Can/Cannot Use This Group
Create - Creates A New Group, Group Name Must Be Unique
The Group Will Not Be Created If The Name Already Exists
All Options Except Name Are Optional And Can Be Modified
Create [name] -ap ... -ag ... -au ... [-r -a -o]
-ap/ag/au ... Adds Players/Groups/Users Into The Group, Case Insensitive
[-r -a -o] Restricts|Allows Users To Use Group Or Owner Only Respectively
Only Use One Of [-r|-a|-o], If None Are Used It Defaults To Public Unless Users Have Been Added
The Last Of [-r|-a|-o] Entered Will Supersede All Others
Modify - Modify An Existing Group. You Must Be The Owner To Modify A Group
All Options Except [name] Are Optional
Modify [name] -cp -cg -cu -ap ... -ag ... -au ... -rp ... -rg ... -ru ... -rn [name] [-r -a -o]
-cp/cg/cu Clears The players/groups/users Lists In The Group
-ap/ag/au ... Adds Players/Groups/Users Into The Group, Case Insensitive
-rp/rg/ru ... Removes Players/Groups/Users From The Group, Case Insensitive
-rn ... Renames The Group, [name] Must Be Unique
[-r -a -o] Restricts|Allows Users To Use Group Or Owner Only Respectively
Only Use One Of [-r|-a|-o], If None Are Used It Defaults To Public Unless Users Have Been Added
The Last Of [-r|-a|-o] Entered Will Supersede All Others
Merge - Merge 1 Or More Groups Into A New Group
Merge [name] [group] [group] ...
Ex. merge groups123 group1 group2 group3
List - Lists Groups On The Server Or Members In A Group
Will Only List Groups That You Can Use
list [name] [players|groups|users]
[name] Is Optional, If [name] Is Used It Will List All Members In That Group
[players|groups|users] Is Optional, If Used [name] Is Required
Will Show All Members Of The Selected List(s)
Reset - Clears All Players/Groups/Users From The Group
reset [name1] [name2] ...
Same As Calling
modify [name1] -cp -cg -cu
modify [name2] -cp -cg -cu
Delete - Delete 1 Or More Existing Groups
Delete [group] [group] ...
Example Uses
If GroupSupport Was To Be Implemented Into SecretSwitch It Would Be Used To Allow Certain People To Activate The Switch And Not Others.
Examples
player1 Uses Commands
/gs create group1
/gs modify group1 -ap player1 player2 -au player2 -a
player1 Created An Empty Group. Then Added Them Self And player2 To To Group And Allowed player2 To Use The Group
player2 Uses Commands
/gs list
/gs list group1
/gs create group2 -ag group1 -o
/gs modify group2 -rn newGroup
player2 Sees That There Is A Group That Has Him In It And Creates A Group That Contains group1 And Sets It To Owner Use Only. Then Renames It To newGoup
player1 Uses Commands
/gs create group3 -ag newGroup -au player2 -r
/gs delete group1 group3
player1 Created A Group But Could Not Add newGroup Because They Did Not Have Access To That Group. Then Deleted Both Of There Groups
Update to 1.6.2 PLZ!
Update!
By default, does this work with any existing plugins? Have you thought of Vault compatibility to ensure such?
@Fossilmodz
First You Must Be The Owner Of A Group To Add People To It.
If A Group Has Been Created Named group1 Then You Will Use The Modify Command To Add A Player To A Group.
/gs modify group1 -ap Fossilmodz
If No Group Has Been Created And You Wish To Make One With People In It Then Use The Create Command.
/gs create group1 -ap Fossilmodz
If Someone Else Created The Group And Wants You To Be Able To Use It Then Use
/gs modify group1 -ap Fossilmodz -au Fossilmodz
Or
/gs create group1 -ap Fossilmodz -au Fossilmodz
How do you join a group?
@Mitsugaru
Sounds Great.
@Demenius90
Alright, I may consider hooking into this then.
I Have Added A Page On How To Use This Plugin From Within Another Plugin.
Is there a page that describes how devs are to hook into this plugin?