• 12 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Release] Permission plugin
#1
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):
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*
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!


Attached Files
.zip   PermissionPlugin.zip (Size: 3.07 KB / Downloads: 3,464)
[Image: MaEIQ.png]
  Reply
#2
Why is it the rcon not supported?
nvm i get it
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

  Reply
#3
(01-06-2012, 19:28)iAegle Wrote: Why is it the rcon not supported?

because you have your own xuid check to see if the player is admin.
[Image: MaEIQ.png]
  Reply
#4
Everyone should use this so please sticky
[Image: azuw.jpg]
  Reply
#5
Done
  Reply
#6
(01-06-2012, 19:28)iAegle Wrote: Why is it the rcon not supported?
nvm i get it

Mind sharing the sourceszzszszs?

/facepalm

source in spoiler lol
[Image: MaEIQ.png]
  Reply
#7
(01-06-2012, 19:51)Pozzuh Wrote:
(01-06-2012, 19:28)iAegle Wrote: Why is it the rcon not supported?
nvm i get it

Mind sharing the sourceszzszszs?

/facepalm

source in spoiler lol

stop bullying retarded people ;(

This should be in nukems plugin by default.
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

  Reply
#8
(01-06-2012, 19:52)iAegle Wrote: This should be in nukems plugin by default.

I agree.
  Reply
#9
> [Release] + Pozzuh = impossibru!
  Reply
#10
(01-07-2012, 09:30)Rendflex Wrote: > [Release] + Pozzuh = impossibru!

But what about http://www.itsmods.com/forum/Thread-Rele...ntGOD.html
[Image: MaEIQ.png]
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Rainbow [Release] Plugin ReservedSlot v1.3 frst_ 1 3,634 11-08-2018, 19:17
Last Post: frst_
Tongue [Release] MW3 Shop plugin Dude 56 36,673 03-25-2018, 05:18
Last Post: [email protected]
  [Release] FIXED SPEED PLUGIN hillbilly 2 3,999 06-02-2016, 20:23
Last Post: clacki
  [Release] Bots Plugin For Users Casper 22 32,905 08-22-2015, 17:45
Last Post: SnapBacks
  [Release] God Plugin v5.0 [Ingame Rcon Tool] OzonE 464 234,593 06-27-2015, 15:38
Last Post: bluedot
  [Release] Anti Hardscope Plugin 8q4s8 26 20,322 06-20-2015, 22:44
Last Post: urj88419
  [Release] ProMod Plugin zxz0O0 875 560,746 03-25-2015, 22:02
Last Post: kris
  [Release] [Discontinued] Speed Plugin Pozzuh 164 85,413 10-06-2014, 12:56
Last Post: Nekochan
  [help]how create a ping plugin clacki 3 3,542 09-13-2014, 01:23
Last Post: clacki
  Help How Compile Mw3 Plugin By VB 2010 clacki 3 3,899 06-11-2014, 11:55
Last Post: SgtLegend

Forum Jump:


Users browsing this thread: 1 Guest(s)