absimiliard Posted March 9, 2015 Share Posted March 9, 2015 Good morning, can anyone tell me if it's possible to set up an announcement that shows to a new player when they spawn into the server? I'm thinking of something like: they spawn, then have that trigger something like a c_announce("flerble bargle argle furbzz") typed from the console. Theoretically you could use for something like "Hey, the Base is SW of the portal", or "Hi, lets all be friendly, it's that kind of server", or "This server is an elaborate game of Capture the Flag, here are the rules: ....", or even "Hey, this is a PvP server, stop working together and get to murdering each other." Also, and related, would it be possible to not broadcast that message to everyone? (so that already playing people don't have to re-hear it constantly) Link to comment Share on other sites More sharing options...
Kzisor Posted March 9, 2015 Share Posted March 9, 2015 @absimiliard, yes it's possible, however, without it being a mod you'd need to run the command every time you load the server. TheWorld:ListenForEvent("ms_playerjoined", function() c_announce("[iNSERT MESSAGE HERE"]) end) Link to comment Share on other sites More sharing options...
absimiliard Posted March 9, 2015 Author Share Posted March 9, 2015 Thanks Kzisor! For now I'm trying to keep my server as default as possible, so it's not modded at the moment. However since I'm on the console moderately often typing that in when I restart the server manually isn't a huge deal. I suspect that will leave it non-announcing when it auto-updates, but I can live with that. Hrmm, maybe I could make it a required mod, but one that clients don't download. I wonder if that would allow it to be permanently part of the config but not show up in the server-listing as a modded server.... Some testing tonight may be required. Link to comment Share on other sites More sharing options...
Kzisor Posted March 9, 2015 Share Posted March 9, 2015 @absimiliard, any mod added to a server, be it server only or not will make the server show up as modded. Hope that helps you save time. Link to comment Share on other sites More sharing options...
absimiliard Posted March 9, 2015 Author Share Posted March 9, 2015 Yeah, it's disappointing to discover, but it will save me time later tonight. {edit: and it'll save my players a possible server-bounce as well, much more valuable} Grazi. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.