Raised This Month: $ Target: $400
 0% 

Making things more modular


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 02-07-2006 , 20:02   Making things more modular
Reply With Quote #1

One of the goals with BAT long was to make things more modular, so 1 plugin dont have to do everything on your server.
Lots of plugins that are coded may require admin interaction like ( http://forums.alliedmods.net/showthread.php?t=39303 ) , so i was thinking. Those of us that write Admin plugin perhaps we should make a public interface for them that other plugin writers can interface with?

I personaly plan to add it to BAT, but i was thinking perhaps all the admin plugins should have a commen basic interface at least. So other plugin writers can easly interact check if a user has admin.

So my question is, would the other admin plugin authors be interested in adding a system like this? ( Is it even technicaly posible to make)

And would the other plugin authors bother using it?


For the basic interface, im thinking we should export somethign like
IsUserAdmin
SetUserAdminFlags
GetUserAdminFlags
KickUser
BanUser
SlapUser

Any feedback welcome
EKS is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:02.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode