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

Need a simple plugin to write message to console at launch


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
goodBEan
Senior Member
Join Date: Jul 2010
Location: St. Louis Mo USA
Old 03-08-2017 , 22:10   Need a simple plugin to write message to console at launch
Reply With Quote #1

This is for my charity lan party group. We are working on some software to monitor game servers. We just needs a simple sourcemod plugin that pastes a simple message onto the console before anyone joins the server.

Something like
" {host name} SERVER IS ONLINE"
" SERVER STARTED AT (TIME/DATE)"
SM version
MM version
List of active plugins
IP address
Maybe a line of unique ascii charcters to make it easy to find.

The idea is for the system to read the line as a confirmation that everything is good.

Last edited by goodBEan; 03-08-2017 at 22:57.
goodBEan is offline
headline
SourceMod Moderator
Join Date: Mar 2015
Old 03-09-2017 , 00:01   Re: Need a simple plugin to write message to console at launch
Reply With Quote #2

We have a search function.

http://www.sourcemod.net/plugins.php...tion=&search=1


https://forums.alliedmods.net/showthread.php?p=1130659
headline is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 03-09-2017 , 01:03   Re: Need a simple plugin to write message to console at launch
Reply With Quote #3

I wasn't exactly sure what you were saying in terms of "before anyone joins".
Give it a shot and let me know if you want it done differently.
Attached Files
File Type: sp Get Plugin or Get Source (serverstatus.sp - 196 views - 3.0 KB)
Maxximou5 is offline
goodBEan
Senior Member
Join Date: Jul 2010
Location: St. Louis Mo USA
Old 03-09-2017 , 20:20   Re: Need a simple plugin to write message to console at launch
Reply With Quote #4

Quote:
Originally Posted by Headline View Post
We have a search function.
I tried searching but I guess I wasn't using the right terms or something.

Quote:
Originally Posted by Maxximou5 View Post
I wasn't exactly sure what you were saying in terms of "before anyone joins".
Give it a shot and let me know if you want it done differently.
I mean right when it starts up it puts something into the console that another program can find. Do you have a thread on this plugin? Just looking at this code it might work with a few tweaks.

Last edited by goodBEan; 03-09-2017 at 20:26.
goodBEan is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 03-09-2017 , 22:28   Re: Need a simple plugin to write message to console at launch
Reply With Quote #5

There's no thread on it because there's generally not a need for this exact plugin.
Seems like it does what you wanted, tweak to your hearts desire.
Maxximou5 is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 03-11-2017 , 07:34   Re: Need a simple plugin to write message to console at launch
Reply With Quote #6

@goodBEan
You might want to use socket to notify when the server is up. It's actually much more painless then creating a app, getting the server text-stream, and processing the string. Really.
__________________
Want to check my plugins ?
Arkarr is offline
goodBEan
Senior Member
Join Date: Jul 2010
Location: St. Louis Mo USA
Old 09-02-2017 , 13:32   Re: Need a simple plugin to write message to console at launch
Reply With Quote #7

btw I have been using the plugin and it works great, the only issue that with a recent update to csgo the plugin doesn't show up untill a player joins in and the server comes out of hibernation. I am wondering if its possible to modify this plugin so that it goes off before the server goes into hibernation.

I am also considering disabling hibernation but I would like a plan b
goodBEan is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 09-02-2017 , 17:48   Re: Need a simple plugin to write message to console at launch
Reply With Quote #8

Quote:
Originally Posted by goodBEan View Post
btw I have been using the plugin and it works great, the only issue that with a recent update to csgo the plugin doesn't show up untill a player joins in and the server comes out of hibernation. I am wondering if its possible to modify this plugin so that it goes off before the server goes into hibernation.

I am also considering disabling hibernation but I would like a plan b
Timers don't work in hibernation, but you can try this one.
Attached Files
File Type: sp Get Plugin or Get Source (serverstatus.sp - 151 views - 3.1 KB)
Maxximou5 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 01:48.


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