[ RELEASE ] Reserved Spot for Admins


#1

All this script does is to pick a random player to kick once a whitelisted person joins.

Adjust line 15 and 16 for the number of players you have!

This release was requested : HERE!

Features
  • Whitelisted people
  • Randomized kicking feature made with the most complex math that is out there!
Credits
  • @louie904 for giving me the basic ground base to work with

Download here at Github: https://github.com/Woopeh/join-whitelist

I will not update this script any further, this comes the way it is.
If you feel like modifying it the way you want too, go ahead. Do not release anything without my permission!


#2

I wouldn’t call it “reserved” as it still fills the slots, however good script anyways.


#3

Thanks you Man
(20 Chars)


#4

Nicely Done! Very simple, but powerful!


#5

Great script @Woopi ,
Wondering if you can do the kick only users not defined in permission, rather than a random person?
Cheers!


#6

Or just kick the user that has the highest MS (ping) on the serwer :slight_smile:


#7

That is not the purpose off this script, i only did this because a person requested it.

It is made to let a admin in the server if the server is full.


#8

Seems pretty sound. Great work.


#9

It’s a great release for some servers but I think it would be even more appreciated if you made it working together with es_admin2.

Best regards
– P4NDA


#10

but what if it kicks another admin?!?


#11

Why would you take a resource that needs no dependencies and make it require es_admin2? What benefit would there even be? This works fine regardless of the frameworks or admin utilities being used.


#12

there i updated the post so they know that i will not edit this script


#13

pretty nice!!!


+1


#14

It would be simple enough just check if a player is in a table if they are don’t do anything, if they aren’t drop them.


#15

Overall this is a great script. The only problems I’ve seen are when the server is 34 or 35/32 (people spam joining) someone gets kicked and the spot is taken by the next person (not necessarily the admin). Also it seems to kick the same person over and over again (we had one guy kicked 3 times in a row). Helpful though nonetheless.


#16

you can modify it the way you want, it was more off just a small script that was requested