Raised This Month: $52 Target: $400
 13% 

Admin Slots f117bomb Style


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   SniperBeamer (61)
DoubleTap
Veteran Member
Join Date: Mar 2004
Location: Harker Heights, TX
Old 04-02-2004 , 16:37   Admin Slots f117bomb Style
Reply With Quote #1

Basically there is no real need for the amount of reserved slots so I removed that. Now if you run a 20 person server for example, you start your server with 21 slots. If hide slots is defined in the sma query program will always see a max of 20. Now when an admin connects to a 20/20 (full) server, a player will be kicked due to ping or play time as set in amx_reservation <value>
1 - Kicks the Player with shortest playing time when an admin connects to a full server.
2 - Kick the Player with the highest ping when an admin connects to a full server.

A player will be kicked until there is 21 admins, so all admins with reservations will be allowed to join with no limit on the amount. In a sense with this plugin people wont know that your even reserving slots because if the server is 20/20 it emulates the server full msg.
----
Ported from f117bomb's great AMX plugin :
http://djeyl.net/forum/index.php?showtopic=21737
Attached Files
File Type: sma Get Plugin or Get Source (slots_reservation.sma - 16992 views - 3.1 KB)
__________________
DoubleTap is offline
Send a message via ICQ to DoubleTap
Pomme
Member
Join Date: Mar 2004
Location: Quebec, Canada
Old 04-02-2004 , 16:41  
Reply With Quote #2

IMHO this plugin should be part of the default AMXX package.

Great and simple!
Pomme is offline
rex
Senior Member
Join Date: Mar 2004
Location: Australia
Old 04-03-2004 , 17:09  
Reply With Quote #3

good job DT
rex is offline
Send a message via MSN to rex
xmdxtremekiller
Member
Join Date: Mar 2004
Old 04-03-2004 , 17:10  
Reply With Quote #4

does it reserve by steam id?
xmdxtremekiller is offline
RangerFA
Junior Member
Join Date: Apr 2004
Old 04-13-2004 , 19:55  
Reply With Quote #5

Can we customize the reason for kick...
RangerFA is offline
pendragon
Senior Member
Join Date: Mar 2004
Location: In a bubble
Old 04-13-2004 , 20:35  
Reply With Quote #6

hey DT - can you briefly explain why this plugin is mod dependant (i.e. CS)? thank you in advance.
pendragon is offline
Send a message via ICQ to pendragon Send a message via AIM to pendragon Send a message via MSN to pendragon
DoubleTap
Veteran Member
Join Date: Mar 2004
Location: Harker Heights, TX
Old 04-13-2004 , 21:13  
Reply With Quote #7

Not sure what your asking here man. Why did I select CS, because that's what it was tested on

#include <amxmodx>
#include <amxmisc>

The CS module is not required... It most likely will work on all platforms but until I know for sure I will leave it listed as a CS plugin

Vic/DT
__________________
DoubleTap is offline
Send a message via ICQ to DoubleTap
QwertyAccess
Veteran Member
Join Date: Feb 2004
Location: Enjiru Layer
Old 04-13-2004 , 21:44  
Reply With Quote #8

i wish steam allowed customized kick messages.
But if im not mistaken you cant join a server when its 20/20 even though its really 20/21 because steam thinks the server is full and doesnt even attempt to join anless you manually connect through the console?
__________________
QwertyAccess is offline
[KORT] IRON
Junior Member
Join Date: Apr 2004
Location: RN
Old 04-13-2004 , 21:44  
Reply With Quote #9

I put it on my 32 person DoD server last night which stays full from 5pm till 1 am usually and had 20 admins connected, so I am sure it is working for DoD.
__________________
Unity through Integrity, Equality, and Honor.

We're old, we don't compete in anything except life.
[KORT] IRON is offline
QwertyAccess
Veteran Member
Join Date: Feb 2004
Location: Enjiru Layer
Old 04-13-2004 , 21:45  
Reply With Quote #10

Jeez you have 20 admins connected?
and DoubleTap im pretty sure this works on all mods there isnt a reason why it wouldnt.
__________________
QwertyAccess is offline
Reply


Thread Tools
Display Modes

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 08:43.


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