Raised This Month: $51 Target: $400
 12% 

Alternative Adminslots + SUBNET restrict


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
navir
BANNED
Join Date: Jul 2009
Location: Europe, Romania
Old 10-09-2010 , 02:27   Alternative Adminslots + SUBNET restrict
Reply With Quote #1

I just made this plugin last night and thought it would be nice to share it with you guys.

What does it do?
- It manages the users getting in and out of the server depending on if the user either "has steam", "has admin" or "has slot". For example if the server you have is both protocols (steam and nonsteam) then you really have a problem with noob nonsteam users.

Case I:
- The server is full of NONSTEAM users and a steam user wants to connect. He can connect and a random nonsteam user will be kicked to leave an empty slot for anyone who wants to connect.

Case II:
- The server is full of STEAM users and an admin wants to connect. He can connect and a random STEAM user will be kicked to leave an empty slot for anyone who wants to connect.

Case III:
- The server is full of ADMINS, barely possible, in this case nobody can connect and if the max number of slots is reached nobody gets kicked because they all are admins.

Case IV:
- The server has some STEAM, some NONSTEAM and some ADMINS online.
- If a STEAM user connects some random NONSTEAM user gets kicked.
- If a NONSTEAM user connects he will get kicked cause he is NONSTEAM and there is no more free slots for him.
- If an ADMIN connects some random STEAM or NONSTEAM user gets kicked to empty the free slot.

Subnet Restrict:
- This function lets you manage who can play on your server depending on his IP address. For example you have 92.84.32.43 and you want to ban ALL 92.84.x.x. I've explained in the plugin source how to do that:
PHP Code:
#define FIRST    92,188
#define SECOND    80,81,82,83,84,85,86,87,27
// USAGE: FIRST.x.x.x / x.SECOND.x.x
// EXAMPLE: Ip class 92.84.x.x is restricted 
NOTE: I've made this plugin to help me on nonsteam noobs I'm dealing with on my CS 1.6 server. I know that this has only STEAM supported but I guess it can still be pretty usefull for anybody.

Please give me some feedback regarding if this plugin was or not usefull to you and thank you for your time reading this. Cheers!
Attached Files
File Type: sma Get Plugin or Get Source (adminslots.sma - 754 views - 3.7 KB)
navir is offline
navir
BANNED
Join Date: Jul 2009
Location: Europe, Romania
Old 10-09-2010 , 02:30   Re: Alternative Adminslots + SUBNET restrict
Reply With Quote #2

I'm sorry I posted this in the wrong section, can anyone please move it to the right one? Thank you..
navir is offline
santaclaus
Senior Member
Join Date: Dec 2008
Old 10-09-2010 , 03:24   Re: Alternative Adminslots + SUBNET restrict
Reply With Quote #3

oh !
__________________

santaclaus is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 10-09-2010 , 06:07   Re: Alternative Adminslots + SUBNET restrict
Reply With Quote #4

Nosteam, no support... ?
__________________
msleeper is offline
navir
BANNED
Join Date: Jul 2009
Location: Europe, Romania
Old 10-09-2010 , 06:08   Re: Alternative Adminslots + SUBNET restrict
Reply With Quote #5

let's say it's a both steam and nonsteam thing
navir is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 10-09-2010 , 06:16   Re: Alternative Adminslots + SUBNET restrict
Reply With Quote #6

Let's say it's a nosteam = no support thing.
__________________
msleeper is offline
Searcher64
Senior Member
Join Date: Apr 2010
Old 10-09-2010 , 10:09   Re: Alternative Adminslots + SUBNET restrict
Reply With Quote #7

Will this work for Left 4 Dead?
Searcher64 is offline
navir
BANNED
Join Date: Jul 2009
Location: Europe, Romania
Old 10-09-2010 , 10:10   Re: Alternative Adminslots + SUBNET restrict
Reply With Quote #8

I'm sorry, I can not test it. maybe someone will test it and post feedback here..
navir is offline
mugen
Member
Join Date: Jun 2010
Old 10-09-2010 , 10:15   Re: Alternative Adminslots + SUBNET restrict
Reply With Quote #9

can u make for dource mod plz
mugen is offline
Reply



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 16:13.


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