Garry's Mod

Garry's Mod

40 个评价
Server Whitelist
2
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 服务器内容
插件标签: 建筑, 快乐
文件大小
发表于
更新日期
2.335 KB
2015 年 12 月 22 日 上午 10:09
2015 年 12 月 22 日 下午 10:48
3 项改动说明 ( 查看 )

订阅以下载
Server Whitelist

描述
This is a server whitelist made to allow you to easily add and remove players from it.

Features
  • You can easily add by community id with the click of a button
  • You can remove an id by either typing it into the text box or double clicking on it in the list
  • You can remove more than 1 id by selecting multiple ids and clicking Remove Selected
  • You can remove the entire whitelist by clicking Remove All
  • You can check if a id is whitelisted by clicking Check ID

Note: if you use the Remove all button a box will appear and ask if you're sure.

Commands
Console
whitelist - Opens the whitelist gui
whitelist_save - Saves the whitelist, used to save the changes you made while in the gui
whitelist_add <SteamID> - Adds the SteamID to the whitelist
whitelist_remove <SteamID> - Removes the SteamID from the whitelist
whitelist_kickreason <Text> - Sets the disconnect reason for players who are not on the whitelist
Chat
!whitelist - Opens the whitelist gui

Note: if you use the console commands to add or remove from the whitelist and don't run the save command and the server crashes your changes will not be saved, same goes for the kick reason command. If done through the gui it'll auto save once you close it.

Note: the whitelist doesn't kick unless it has at least 1 id in it, so make sure you add your id first then others. If remove your id you can easily add it back through the server console using the commands. I did this because I didn't have an efficient way to detect for superadmin on the CheckPassword hook.

Note: only players in the superadmin usergroup are allowed to use the commands.

You can get a players SteamID here[steamrep.com].

I made this because the only other workshop whitelist I saw had a "bad" (thanks for the censor steam) backend and so I made my own. Also this was my first time using derma to let me know what you think, thanks :).

Update Plans
Rewriting the rank system for custom admin mod support
Redoing gui a bit

Only putting this here because I'm bored and wanted something to do, though I'm not going to have a computer for a few weeks so this probably won't get done anytime soon.
29 条留言
Spesago 2019 年 12 月 22 日 上午 4:38 
Can this whitelist based on steam group?
okent.Earl 2019 年 8 月 22 日 上午 3:03 
It's not working. Why?
Whitelisted players can't get on the server
Kuya 2019 年 4 月 5 日 上午 8:57 
love your whitelist systemm +rep
Кириллка 2018 年 12 月 11 日 上午 10:21 
ГООООООВНООООООО
Restion 2018 年 9 月 8 日 上午 5:54 
how do I disabled people from joining only if they are on the whitelist
Nek0 2018 年 7 月 31 日 下午 3:35 
I would love to use it but everytime i try to add me through the console via rcon it says it couldnt connect to the server (other commands work fine) am i doing something wrong?
Hatsune Miku 💕 [Loved] 2017 年 4 月 30 日 下午 11:17 
Hey, I was wondering how I can add jobs to the whitelist?
www.Raphi.org 2017 年 2 月 10 日 下午 1:41 
Somehow I can´t even add myself to the whitelist

Soap 2017 年 1 月 12 日 上午 9:31 
it does not work on my dedicated server, cant save it
Wimpy 2017 年 1 月 7 日 下午 1:44 
Let me clear something up for a few people thinking that this is a JOB whitelist thing; it's not. It is for making it so that only certain people can join your server that have been whitelisted. So, if your server is in development and you only want certain people to join, this is what you can use as an alternative to a password.