Permissions
Original Author:
@Michidu
Maintainer:
@Lethal @Pelayori @Foppa @WETBATMAN
Default plugin for AtlasApi that allows you to manage group permissions. It's used mainly by other plugins and controls to which players can access certain features.
The default groups are 'Admins' and 'Default'. You can't remove those groups but you can configure them. All players connecting to your server automatically join the 'Default' group. 'Admins' group has all permissions by default.
Moreover, all admins will be automatically added to the 'Admins' group.
Console and Rcon commands:
Player Management:
Installation:
This plugin is installed in ArkApi by default. But if you need to update/reinstall it:
Original Author:
@Michidu
Maintainer:
@Lethal @Pelayori @Foppa @WETBATMAN
Default plugin for AtlasApi that allows you to manage group permissions. It's used mainly by other plugins and controls to which players can access certain features.
The default groups are 'Admins' and 'Default'. You can't remove those groups but you can configure them. All players connecting to your server automatically join the 'Default' group. 'Admins' group has all permissions by default.
Moreover, all admins will be automatically added to the 'Admins' group.
Console and Rcon commands:
Player Management:
- Permissions.Add <SteamID> <Group> - Adds player to a existing group permanently.
- Permissions.Remove <SteamID> <Group> - Removes player from the group.
- Permissions.AddTimed <SteamID> <Group> <Hours> <DelayHours> - Adds a player to an existing group time-based.
- Permissions.RemoveTimed <SteamID> <Group> - Removes player from the timed group.
- Permissions.PlayerGroups <SteamID> - Lists all player groups.
- Permissions.AddTribe <TribeID> <Group> - Adds tribe to a existing group permanently.
- Permissions.RemoveTribe <TribeID> <Group> - Removes tribe from the group.
- Permissions.AddTribeTimed <TribeID> <Group> <Hours> <DelayHours> - Adds tribe to an existing group time-based.
- Permissions.RemoveTribeTimed <TribeID> <Group> - Removes tribe from the timed group.
- Permissions.TribeGroups <TribeID> - Lists all tribe groups.
- Permissions.AddGroup <Group> - Adds a group.
- Permissions.RemoveGroup <Group> - Removes the group.
- Permissions.Grant <Group> <Permission> - Grants a specific permission to the group. Wildcard character (*) would give all permissions to this group.
- Permissions.Revoke <Group> <Permission> - Revokes specific permission from the group.
- Permissions.GroupPermissions<Group> - Lists all group's permissions.
- Permissions.ListGroups - Lists all groups and their permissions.
- /groups - Lists player's groups.
JSON:
{
"Database":"sqlite", // DB type: sqlite or mysql.
"MysqlHost":"localhost", // Only for mysql db.
"MysqlUser":"root", // Only for mysql db.
"MysqlPass":"pass", // Only for mysql db.
"MysqlDB":"atlasdb", // Only for mysql db.
"MysqlPort":3306, // Only for mysql db.
"MysqlPlayersTable":"AtlasPPlayers", // MySQL players table name (optional)
"MysqlGroupsTable":"AtlasPGroups", // MySQL groups table name (optional)
"MysqlTribesTable":"AtlasPTribes", //MySQL tribes table name (optional)
"DbPathOverride":"", // Path to the DB file, leave empty to use default path. Only for sqlite db.
"ClusterSyncTime": 5 // Sync interval to refresh cached permissions values (optional)
}
Installation:
This plugin is installed in ArkApi by default. But if you need to update/reinstall it:
- Copy "Permissions" folder to "AtlasApi/Plugins"