Mac only Plugin?

Questions, comments, and news on the server side plug-ins and it's API
Post Reply
User avatar
PlasticTank
Private First Class
Private First Class
Posts: 53
Joined: Sat Nov 22, 2008 5:45 pm

Mac only Plugin?

Post by PlasticTank »

Here is just useless idea for a plugin. Could it be possible to make a plugin that would kick all pc users? This could also kick all mac, linux, or other users. It is useless plugin, but could it be possible? If, so people could have "all mac" servers.

I have no idea how it would identify a client as "mac" but is is just an idea
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Re: Mac only Plugin?

Post by JeffM »

clientVersion is a member of bz_BasePlayerRecord in 3.0, you could parse the OS out of that.

just make sure you call your stupid plug-in "bigot.so" and never post it here.
ImageJeffM
Post Reply