Group

From OpenSim

Jump to: navigation, search

Contents

XmlRpcGroups

Makes it possible to see people's Group and us Them.
Please note that these are third party modules which you use at your own risk!
OpenSimulator takes no responsibility for these modules.

Through PHP 3rd party service

These are not part of core OpenSimulator.

  • Install the Group.sql file on your database xampp
  • Enable the Group Module in your Opensim.ini file.
  • Download Group Module <<<< LINK not working !

Changes in the OpenSim.ini file

[Groups]
    Enabled = true
    Module = GroupsModule
    DebugEnabled     = false
    GroupsCacheTimeout = 30
    ServicesConnectorModule = XmlRpcGroupsServicesConnector
 
    ;;Web Server folder comunity
    ;GroupsServerURI = "http://yourwebserverip/xmlrpc.php"
    NoticesEnabled = true 
    MessagingModule = GroupsMessagingModule
    MessagingEnabled = true 
 
    ;Not need
    ;XmlRpc Group Security settings
    ;XmlRpcServiceReadKey    = 1234 
    ;XmlRpcServiceWriteKey   = 1234 
 
    ; Disables HTTP Keep-Alive for XmlRpcGroupsServicesConnector HTTP Requests,
    ; this is a work around fora problem discovered on some Windows based region servers.
    ; Only disable keep alive if you see a large number (dozens) of the following Exceptions:
    ; System.Net.WebException: The request was aborted: The request was canceled.
    ; XmlRpcDisableKeepAlive = false

When you did it right, reboot your region and try to create your Group. Check the database to see that it has written your data.

P.D: Work only in in same grid no Hg enabeled

SQL file to import (group.txt)

CREATE TABLE IF NOT EXISTS `osagent` (
 
`AgentID` varchar(128) NOT NULL DEFAULT '',
 
`ActiveGroupID` varchar(128) NOT NULL DEFAULT '',
  PRIMARY KEY (`AgentID`)
) 
ENGINE=MyISAM DEFAULT CHARSET=latin1;
 
 
CREATE TABLE IF NOT EXISTS `osgroup` (
 
`GroupID` varchar(128) NOT NULL DEFAULT '',
 
`Name` varchar(255) NOT NULL DEFAULT '',
 
`Charter` text NOT NULL,
 
`InsigniaID` varchar(128) NOT NULL DEFAULT '',
 
`FounderID` varchar(128) NOT NULL DEFAULT '',
 
`MembershipFee` int(11) NOT NULL DEFAULT '0',
 
`OpenEnrollment` varchar(255) NOT NULL DEFAULT '',
 
`ShowInList` tinyint(1) NOT NULL DEFAULT '0',
 
`AllowPublish` tinyint(1) NOT NULL DEFAULT '0',
 
`MaturePublish` tinyint(1) NOT NULL DEFAULT '0',
 
`OwnerRoleID` varchar(128) NOT NULL DEFAULT '',
 
PRIMARY KEY (`GroupID`),
 
UNIQUE KEY `Name` (`Name`),
 
FULLTEXT KEY `Name_2` (`Name`)
) 
ENGINE=MyISAM DEFAULT CHARSET=latin1;
 
 
CREATE TABLE IF NOT EXISTS `osgroupinvite` (
 
`InviteID` varchar(128) NOT NULL DEFAULT '',
 
`GroupID` varchar(128) NOT NULL DEFAULT '',
 
`RoleID` varchar(128) NOT NULL DEFAULT '',
 
`AgentID` varchar(128) NOT NULL DEFAULT '',
 
`TMStamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
 
PRIMARY KEY (`InviteID`),
 
UNIQUE KEY `GroupID` (`GroupID`,`RoleID`,`AgentID`)
) 
ENGINE=MyISAM DEFAULT CHARSET=latin1;
 
 
CREATE TABLE IF NOT EXISTS `osgroupmembership` (
 
`GroupID` varchar(128) NOT NULL DEFAULT '',
 
`AgentID` varchar(128) NOT NULL DEFAULT '',
 
`SelectedRoleID` varchar(128) NOT NULL DEFAULT '',
 
`Contribution` int(11) NOT NULL DEFAULT '0',
 
`ListInProfile` int(11) NOT NULL DEFAULT '1',
 
`AcceptNotices` int(11) NOT NULL DEFAULT '1',
 
PRIMARY KEY (`GroupID`,`AgentID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
 
 
CREATE TABLE IF NOT EXISTS `osgroupnotice` (
 
`GroupID` varchar(128) NOT NULL DEFAULT '',
 
`NoticeID` varchar(128) NOT NULL DEFAULT '',
 
`Timestamp` int(10) unsigned NOT NULL DEFAULT '0',
 
`FromName` varchar(255) NOT NULL DEFAULT '',
 
`Subject` varchar(255) NOT NULL DEFAULT '',
 
`Message` text NOT NULL,
  `BinaryBucket` text NOT NULL,
 
 PRIMARY KEY (`GroupID`,`NoticeID`),
  KEY `Timestamp` (`Timestamp`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
 
 
CREATE TABLE IF NOT EXISTS `osgrouprolemembership` (
 
`GroupID` varchar(128) NOT NULL DEFAULT '',
 
`RoleID` varchar(128) NOT NULL DEFAULT '',
 
`AgentID` varchar(128) NOT NULL DEFAULT '',
 
PRIMARY KEY (`GroupID`,`RoleID`,`AgentID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
 
 
CREATE TABLE IF NOT EXISTS `osrole` (
 
`GroupID` varchar(128) NOT NULL DEFAULT '',
 
`RoleID` varchar(128) NOT NULL DEFAULT '',
 
`Name` varchar(255) NOT NULL DEFAULT '',
 
`Description` varchar(255) NOT NULL DEFAULT '',
 
`Title` varchar(255) NOT NULL DEFAULT '',
 
`Powers` bigint(20) unsigned NOT NULL DEFAULT '0',
 
PRIMARY KEY (`GroupID`,`RoleID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Personal tools
About This Wiki