Sign in to follow this  
VanWayne8

New Server Plugin Recommendations?

Recommended Posts

I started up a new server that's completely vanilla for now. Any recommendations for what plugins to insert?

Would like to know if a plugin is available out there that has a server name watermark, some HUD info in top left and some automatic messages.

Sample screenshots from here https://imgur.com/a/xjVHe7m

Share this post


Link to post
Share on other sites

Can only speak for messages.

Top image looks like B3. Second image is smvhost servers that are run by a great guy and a member in this forum who really knows what he is doing with all that 🙂 

Automatic messages you could either use B3 or just GSC script and is a simple start. 

I personally do not use B3 anymore. Although it is still effective there are better things you can do to admin it and here is a great place to start for admin purposes. 

https://github.com/byNeHo/CoD4x-WebAdmin

With that ( I still have not figured it out ) you can use http plugin and GSC script to do many things. 

Back to messages, I did manage (with help from NeHo's forum) to use some simple script that scrolls messages like B3 does in your first image. Try this. You will have to place the script in "main_shared/maps/mp/gametypes" Not how I do it but this is the preferred method. 

#include maps\mp\gametypes\_hud_util;
init()
{
	level.delay_serv_messages = getDvarInt("server_messages_delay");
	level thread server_messages();
}

server_messages()
{	

	self endon("disconnect");

	svrmsg = [];

	if (getDvar("serv_message_1")!=""){
		svrmsg[0]=getDvar("serv_message_1");
	}
	if (getDvar("serv_message_2")!=""){
		svrmsg[1]=getDvar("serv_message_2");
	}
	if (getDvar("serv_message_3")!=""){
		svrmsg[2]=getDvar("serv_message_3");
	}
	if (getDvar("serv_message_4")!=""){
		svrmsg[3]=getDvar("serv_message_4");
	}
	if (getDvar("serv_message_5")!=""){
		svrmsg[4]=getDvar("serv_message_5");
	}
	if (getDvar("serv_message_6")!=""){
		svrmsg[5]=getDvar("serv_message_6");
	}
	if (getDvar("serv_message_7")!=""){
		svrmsg[6]=getDvar("serv_message_7");
	}
	if (getDvar("serv_message_8")!=""){
		svrmsg[7]=getDvar("serv_message_8");
	}
	if (getDvar("serv_message_9")!=""){
		svrmsg[8]=getDvar("serv_message_9");
	}
	if (getDvar("serv_message_10")!=""){
		svrmsg[9]=getDvar("serv_message_10");
	}

	while(1)
	{
		for(i = 0; i < svrmsg.size; i++) {
			wait level.delay_serv_messages;
			sayClient(svrmsg[i]);
		};
	}
}

sayClient(str) {
	exec( "say "+ str );
}

Call it what you want, servermessages.gsc or whatever

Then on your server,cfg use this:

//Time interval between messages if they are enabled
set server_messages_delay 45

set serv_message_1 "Put your messages here"
set serv_message_2 "Put more messages here blah blah blah"
set serv_message_3 ""
set serv_message_4 ""
set serv_message_5 ""
set serv_message_6 ""
set serv_message_7 ""
set serv_message_8 ""
set serv_message_9 ""
set serv_message_10 ""

 

By the way..I am complete noob with all this 🙂 Sure you will get better answers.

 

  • Thanks 1

Share this post


Link to post
Share on other sites

Thanks. I'll try that out that messages thing in a bit. I'm using Open Game Panel for webadmin stuff atm. I dunno if I will consider changing it.

I hope someone does give any idea how to run the other stuff.

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this