Features:
This plugin allows server admins to have control over who can use which commands. For example, you can only allow admins to play with 90 fov*, or let moderators only see their ping**.
Why?:
It's annoying for server admins to have to set up xuids in every plugin. And this allows moderators, helpers and even donators to get some more features then a normal player. (It works the same way in Minecraft with Bukkit)
Requirements:
@Nukem's dedicated server addon 1.190+
Changelog:
v1.0 BETA: initial release
v1.1 BETA: Updated to .NET 3.0 (Linux support). Now requires addon 1.190+
Usage (for players):
Usage (For server admins):
Put aaaPermissionPlugin.dll in your servers /plugin/ folder (NOTE: DO NOT RENAME THE PLUGIN!).
Now go to your sv_config.ini and paste the following code, now change everything to your liking. You can add custom groups by adding them after User in the "Usergroups=" line, then add a "<NewGroupName>_xuids=" line and put xuids after it, when you've done that you must add "<NewGroupName>_commands=" and put commands after it.
Now start your server.
Usage (For plugin developers):
Nothing. Just don't add any 'IsPlayerAdmin' checks yourself. Basically, if this plugin isn't installed, everyone can use the commands.
Credits:
@Pozzuh - Made the plugin
Source:
*Note: 90 fov not included in this plugin, use @zxz0O0's plugin.
**Note: Ping viewer not included in this plugin, use my other plugin.
Please report bugs!
This plugin allows server admins to have control over who can use which commands. For example, you can only allow admins to play with 90 fov*, or let moderators only see their ping**.
Why?:
It's annoying for server admins to have to set up xuids in every plugin. And this allows moderators, helpers and even donators to get some more features then a normal player. (It works the same way in Minecraft with Bukkit)
Requirements:
@Nukem's dedicated server addon 1.190+
Changelog:
v1.0 BETA: initial release
v1.1 BETA: Updated to .NET 3.0 (Linux support). Now requires addon 1.190+
Usage (for players):
Code:
!help // Shows the commands you can use.
!gettype // See what user type you are (for example admin, moderator or user).
!getxuid // See your xuid, useful for admins to setup their server.
Usage (For server admins):
Put aaaPermissionPlugin.dll in your servers /plugin/ folder (NOTE: DO NOT RENAME THE PLUGIN!).
Now go to your sv_config.ini and paste the following code, now change everything to your liking. You can add custom groups by adding them after User in the "Usergroups=" line, then add a "<NewGroupName>_xuids=" line and put xuids after it, when you've done that you must add "<NewGroupName>_commands=" and put commands after it.
Code:
//Don't add spaces after commas!
//CASE SENSITIVE!
//Don't remove the User & Admin groups!
[Permission]
//You can add more user groups here
Usergroups=Admin,Moderator,User
//Add admin xuids here (Go ingame and use !getxuid)
Admin_xuids=xuid1,xuid2,xuid3
//Admins can use all commands (Do not change!).
Admin_commands=*ALL*
//Add moderator xuids here
Moderator_xuids=xuid1,xuid2,xuid3
//Add commands moderators can use here
Moderator_commands=!help,!getxuid,!gettype
//Add commands everyone can use
User_commands=!help,!getxuid,!gettype
//Everyone who isn't in any other group is a user (Do not change!).
User_xuids=*EVERYONE*
Usage (For plugin developers):
Nothing. Just don't add any 'IsPlayerAdmin' checks yourself. Basically, if this plugin isn't installed, everyone can use the commands.
Credits:
@Pozzuh - Made the plugin
Source:
Spoiler (Click to View)
*Note: 90 fov not included in this plugin, use @zxz0O0's plugin.
**Note: Ping viewer not included in this plugin, use my other plugin.
Please report bugs!