Raised This Month: $51 Target: $400
 12% 

[REQUEST][ANY] On player join, run command - per SteamID in config file


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Weasel
AlliedModders Donor
Join Date: Apr 2004
Location: Undisclosed / Secure
Old 06-03-2023 , 12:48   [REQUEST][ANY] On player join, run command - per SteamID in config file
Reply With Quote #1

Here's the idea very simply:
  • When a player joins the game,
  • Lookup in a configuration file (NOT a database), to see if their SteamID is listed.
  • If their SteamID is listed, run the command included in the configuration file.
  • Execute that command on the server.
  • Would be nice to be able to optionally use some escape parameter like the SteamID in question in the command.
Obviously, this allows for lots possibilities.
but, this is not intended to work with some huge list of players, and NOT require a database.
Basically, the configuration file is some kind of small table - just two "columns" SteamID and what command to run, like this:
Code:
SomeSteamID1	whatever command to run for SomeSteamID1
SomeSteamID2	whatever command to run for SomeSteamID2
SomeSteamID3	whatever command to run for SomeSteamID3
SomeSteamID4	sm_say "Warning: %SteamID% is a known trouble-maker, and also an Admin!"
__________________
Pwease pardon by bad Engrish.
Steam Profile, Steam Group, Stats, Twitter
Weasel is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:06.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode