Thread: Ultimate RSlot
View Single Post
Plugin Info:     Modification:          Category:          Approver:   Xanimos (85)
OneEyed
AMX Mod X Beta Tester
Join Date: Jun 2005
Old 04-29-2006 , 07:56   Ultimate RSlot
Reply With Quote #1

Ultimate RSlot v1.0

Why another RSlot plugin?
Because this one gives you 2 types of reserved slot choices, standard adminslots or kick/redirection reserved slots. It also includes protection for players with X amount of kills and X amount of played time, and to add to that it records a list of players who were recently kicked so the same players won't be rekicked consecutively. The list size can be configured as well..

Code:
TITLE:		Ultimate RSlots
AUTHOR:		OneEyed
VERSION:	1.0

-- Copy & Paste settings below to amxx.cfg and fill them out!

// 0 = disabled
// 1 = no booting but fill rslots (Recommended 2-6 slots)
// 2 = kick/redirect when full or to free slot (Recommended 1 slot)
rslot_on <0|1|2>

//number of slots to reserve
rslot_slots <# of slots>

//if enabled will hide reserved slots 
//(ex. 21 maxplayers will show 20/20 if rslot_slots = 1 )
rslot_hideslots <0|1>

//enable server redirection
rslot_redirect <0|1>

//ip and port of the server players will be redirected to
rslot_ip "ip:port"

//(optional) password of the server players will be redirected to
rslot_pw "none"

//--- below used for amx_reservation 2---//
//kills for rslot kicking protection (comment out #define KILLS to disable)
rslot_kills "kills"

//played time for rslot kicking protection (comment out #define PLAYEDTIME to disable)
rslot_playedtime "minutes"
NOTE:
- Disable adminslots.amxx if you use this!
- View source code to disable features through #define!


UPDATED: June 10, 2006
Fixed rslot_kills and rslot_played_time not being disabled if 0.
Attached Files
File Type: sma Get Plugin or Get Source (ultimate_rslot.sma - 7931 views - 5.1 KB)
File Type: txt ultimate_rslot.txt (1.1 KB, 4835 views)
__________________
OneEyed is offline