This document explains the mechanism in OrgManager.
This plugin aims to provide an API that generalizes the organization mechanism in organization-based plugins, such as plugins for factions, plugins for teams, plugins for chat channels, etc.
There can be many types of organizations, as defined by plugins. While all types of organizations have the same basic mechanism, the following are same within each type but could be different between different types:
- Type ID: Each type is identified by a type ID constant. This should be prefixed by the identifier of the plugin that declares it, e.g.
orgmanager.simpleteam
. The type ID must match the regex/^[a-z0-9\-](\.[a-z0-9\-])+$/
.