Post Reply 
 
Thread Rating:
  • 11 Votes - 4.45 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release Permission plugin
01-06-2012, 19:20 (This post was last modified: 04-29-2012 22:35 by Pozzuh.)
Post: #1
Permission plugin
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!
Related links


Attached File(s)
.zip  PermissionPlugin.zip (Size: 3.07 KB / Downloads: 2255)

[Image: MaEIQ.png]
Find all posts by this user
Add Thank You Quote this message in a reply
[-] The following 26 users say Thank You to Pozzuh for this post:
14m3r (01-08-2012), aaaaim (03-20-2012), AboAlwe (05-14-2012), baldebot (02-12-2013), blueberry9 (02-14-2012), Canta (03-05-2012), d0h! (01-09-2012), gato (01-20-2012), GscGunner (05-07-2012), iAegle (01-06-2012), igp_gio (04-25-2013), k1ngpin (05-09-2012), kokole (05-15-2012), llARXANGELll (11-03-2012), Mauser (01-09-2012), Nukem (01-06-2012), nyu_vo (01-07-2012), phantomfarter (03-31-2012), Predje (02-12-2012), Romuald27 (07-23-2012), SgtLegend (01-10-2013), sky-rebel (04-13-2012), superg1973 (01-20-2012), surtek (01-07-2012), zhp0083 (03-16-2012), zxz0O0 (01-06-2012)
01-06-2012, 19:28 (This post was last modified: 01-06-2012 19:51 by iAegle.)
Post: #2
RE: Permission plugin
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
Find all posts by this user
Add Thank You Quote this message in a reply
01-06-2012, 19:28
Post: #3
RE: Permission plugin
(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]
Find all posts by this user
Add Thank You Quote this message in a reply
01-06-2012, 19:47
Post: #4
RE: Permission plugin
Everyone should use this so please sticky
Related links

[Image: azuw.jpg]
Find all posts by this user
Add Thank You Quote this message in a reply
01-06-2012, 19:49
Post: #5
RE: Permission plugin
Done

[Image: k5sVYyb.gif]
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
[-] The following 2 users say Thank You to JariZ for this post:
Pozzuh (01-04-2013), zxz0O0 (01-06-2012)
01-06-2012, 19:51
Post: #6
RE: Permission plugin
(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]
Find all posts by this user
Add Thank You Quote this message in a reply
01-06-2012, 19:52
Post: #7
RE: Permission plugin
(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
Find all posts by this user
Add Thank You Quote this message in a reply
[-] The following 1 user says Thank You to iAegle for this post:
Pozzuh (01-07-2012)
01-07-2012, 02:36
Post: #8
RE: Permission plugin
(01-06-2012 19:52)iAegle Wrote:  This should be in nukems plugin by default.

I agree.
Related links

Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
[-] The following 1 user says Thank You to SuperNovaAO for this post:
Pozzuh (01-07-2012)
01-07-2012, 09:30
Post: #9
RE: Permission plugin
> [Release] + Pozzuh = impossibru!
Find all posts by this user
Add Thank You Quote this message in a reply
01-07-2012, 09:57
Post: #10
RE: Permission plugin
(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]
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Release] Flag plugin for users 1.6 archit 73 4,696 05-23-2013 17:07
Last Post: EnVi Sweden Rocks
  [Release] God Plugin v4.0 [Ingame Rcon Tool] OzonE 312 37,556 05-22-2013 20:21
Last Post: xaliu
  [Release] For Plugin Developers yamraj 4 1,211 05-21-2013 17:55
Last Post: Jone Calerone
  [Release] Chat plugin for permissions SgtLegend 8 310 05-21-2013 11:21
Last Post: SgtLegend
  [Release] Waypoint plugin for users 8q4s8 0 144 05-16-2013 13:10
Last Post: 8q4s8
  [Release] NoKnife Plugin zxz0O0 85 11,103 05-14-2013 21:46
Last Post: Diskretor
  [Release] Bunker Plugin 1.3 archit 56 3,109 05-09-2013 14:13
Last Post: M4cbook
  [Release] Speed Plugin hillbilly 25 3,639 05-06-2013 18:19
Last Post: Hallla
  [Release] Votemap plugin zhp0083 82 11,423 04-12-2013 02:46
Last Post: .sepultura.
Brick [Release] Flag plugin for developers [Z00MBY] Alex 17 1,428 04-06-2013 17:52
Last Post: Dr3am95

Forum Jump:


User(s) browsing this thread: 1 Guest(s)
Media Embeding by Simple Audio Video Embeder