Garry's Mod

Garry's Mod

评价数不足
Player Hours Limit
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 服务器内容
文件大小
发表于
更新日期
5.736 KB
2020 年 12 月 5 日 下午 10:37
2020 年 12 月 7 日 上午 8:16
2 项改动说明 ( 查看 )

订阅以下载
Player Hours Limit

描述
A simple GMod Addon to keep new players out of Servers.



--- Features ---

When a Player joins your server, the Addon will check if he has enough Playtime (See Config). If the Player's Playtime is exceeding your defined minimum, his SteamID will be saved in a File (playerhourslimit/verifiedplayers.json) so incase he changes his Profile to Private, he will still be verified. If you need to manually Verify a Player, just put his SteamID into that File.



--- Setup ---

When first launching your Server with the Addon, a Folder called playerhourslimit, inside your Server's Data Folder will be created. This Folder will contain a file called apikey.json, in which you must put your Steam Web API key. The API Key can be generated here: https://psteamcommunity.yuanyoumao.com/dev/apikey

If you cannot restart the Server to verify the APIKey, call the Concommand 'phl_refresh_apikey' to set the internal value again.



--- Config ---

The default minimum Player Hours is 100, you can set it via console by changing the ConVar: phl_minhours. (Put it into cfg/autoexec to make it persist after Server restart)



Sourcecode: https://github.com/Sixmax/PlayerHoursLimit
5 条留言
Namespace  [作者] 2022 年 8 月 10 日 上午 5:08 
WTF !
Captainrex125 2022 年 8 月 2 日 下午 7:29 
george orwell 1984
Baldi_Boi 2022 年 5 月 24 日 下午 11:23 
⠑⡄⠀⠀⠀⠀⠀⠀ ⠀ ⣀⣀⣤⣤⣤⣀⡀
⠸⠿⡀⠀ ⠀ ⠀⣀⡴⢿⣿⣿⣿⣿⣿⣿⣿⣷⣦⡀
⠀⠀⠀⠀⠑⢄⣠⠾⠁⣀⣄⡈⠙⣿⣿⣿⣿⣿⣿⣿⣿⣆
⠀⠀⠀ ⢀⡀⠁⠀⠀⠈⠙⠛⠂⠈⣿⣿⣿⣿⣿⠿⡿⢿⣆
⠀⠀⠀⢀⡾⣁⣀⠀⠴⠂⠙⣗⡀⠀⢻⣿⣿⠭⢤⣴⣦⣤⣹⠀⠀⠀⢀⢴⣶⣆
⠀⠀⢀⣾⣿⣿⣷⣮⣽⣾⣿⣥⣴⣿⣿⡿⢂⠔⢚⡿⢿⣿⣦⣴⣾⠸⣼⡿
⠀⢀⡞⠁⠙⠻⠿⠟⠉⠀⠛⢹⣿⣿⣿⣿⣿⣌⢤⣼⣿⣾⣿⡟⠉
⠀⣾⣷⣶⠇⠀⠀⣤⣄⣀⡀⠈⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇
⠀⠉⠈⠉⠀⠀⢦⡈⢻⣿⣿⣿⣶⣶⣶⣶⣤⣽⡹⣿⣿⣿⣿⡇
⠀⠀⠀⠀⠀⠀⠀⠉⠲⣽⡻⢿⣿⣿⣿⣿⣿⣿⣷⣜⣿⣿⣿⡇
⠀⠀ ⠀⠀⠀⠀⠀⢸⣿⣿⣷⣶⣮⣭⣽⣿⣿⣿⣿⣿⣿⣿⠇
⠀⠀⠀⠀⠀⠀⣀⣀⣈⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠇░▒░▒▒▐
⠀⠀⠀⠀⠀⠀⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
Garry 2022 年 2 月 2 日 上午 8:36 
thats horrible
Litchden 2021 年 11 月 24 日 下午 12:28 
░▒░▒▒▐
▌▒▒▀▄▄▄▄▄▄▀▒▒▒▒▒▒▒░▒░▒░▒▒▒▌
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒░▒▒▄▒▒▐