RSSy MYGO.pl Opublikowano Styczeń 17, 2023 o 06:22 RSSy Udostępnij Opublikowano Styczeń 17, 2023 o 06:22 This is long overdue for posting - I wrote it 13 years ago when the joe.to community was running multiple TF2 and L4D/L4D2 servers. Last time we ran a TF2 server (6 years or so back) this plugin still worked, so I'm presuming that's still the case. If it doesn't work for you, post here and I'll dust off my test server for troubleshooting. It's a port of Bugblatter's plugin_blatt_whois for Adminmod, the major difference (AM/SM aside) being that it stores in a central database rather than 5 zillion flatfiles. I had a look at the current crop of Sourcemod plugins and while there are a couple of whois plugins, neither approach the functionality of Bugblatter's original. It's not perfect, and there's a few things I wanted to add but never got to, but it is really rather good. Dependencies: You *will* need an SQL database for this plugin. Takes more setup, but allows you to track players across multiple servers and games. Features: - records kicks and bans with reasons on a player's record - allows you to place/remove a watch on players even if they're not currently connected - notifies admins when watched players or players on LAN are on the server The notification timer is set for 2 minutes - you may want to adjust this or disable it altogether if it gets annoying. Editing the timer amount in line 26 (or commenting out with a //) and recompiling will solve that for you. Commands: sm_whois <steamID|name> - Show a player's activity sm_lan - Show players using the same IP address sm_note <steamID|name> <note> - Record note on player's record sm_watch <steamID|name> <reason> - Record watch against player (reason required) sm_unwatch <steamID|name> <reason> - Remove existing watch against player (reason required) Installation: Edit and recompile the .smx if needed. Stop your server. Drop the .smx into your plugins directory. Login to the SQL server you're using for sourcemod and run the contents of whois.sql.txt - this will setup all the tables needed. Start your server. Attached Files Get Plugin or Get Source (whois.sp - 22.2 KB) whois.sql.txt (2.0 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi