Raised This Month: $32 Target: $400
 8% 

Solved No motd shows up? CSGO - Plugin Created


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nexicon
Senior Member
Join Date: Feb 2017
Old 12-03-2017 , 14:43   No motd shows up? CSGO - Plugin Created
Reply With Quote #1

Hello,

I have been trying all day to find a cvar or anything else why my servers motd wont show up... Can anyone help or tell me anything?

Last edited by Nexicon; 12-03-2017 at 18:23. Reason: Plugin created
Nexicon is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 12-03-2017 , 14:55   Re: No motd shows up? CSGO
Reply With Quote #2

u need this..

sv_disable_motd 0
asdfxD is offline
Nexicon
Senior Member
Join Date: Feb 2017
Old 12-03-2017 , 16:15   Re: No motd shows up? CSGO
Reply With Quote #3

I already have that command on in server.cfg ... Idk why it wont work
Nexicon is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 12-03-2017 , 16:48   Re: No motd shows up? CSGO
Reply With Quote #4

Do you have
Code:
sm_cvar sv_disable_motd 0
and not just
Code:
sv_disable_motd
?
Maxximou5 is offline
Nexicon
Senior Member
Join Date: Feb 2017
Old 12-03-2017 , 16:59   Re: No motd shows up? CSGO
Reply With Quote #5

Quote:
Originally Posted by Maxximou5 View Post
Do you have
Code:
sm_cvar sv_disable_motd 0
and not just
Code:
sv_disable_motd
?
Did sm_cvar sv_disable_motd 0 in console on server with !rcon sm_cvar sv_disable_motd 0 and it changed but wont give me any MOTD when i join the server... And set sm_cvar sv_disable_motd 0 in server.cfg too.... Restarted server
Nexicon is offline
Nexicon
Senior Member
Join Date: Feb 2017
Old 12-03-2017 , 18:03   Re: No motd shows up? CSGO
Reply With Quote #6

It works if i type sm_cvar sv_disable_motd 0 in chat and rejoin the server but after map change/restart its back to normal settings
Nexicon is offline
Nexicon
Senior Member
Join Date: Feb 2017
Old 12-03-2017 , 18:23   Re: No motd shows up? CSGO
Reply With Quote #7

Fixed by creating this plugin

Code:
#include <sourcemod>
#pragma semicolon 1

public Plugin:myinfo =
{
	name = "Terrible Enable sv_disable_motd 0",
	author = "Sheepdude",
	description = "Sets sm_cvar sv_disable_motd 0 on map start",
	version = "0.02",
	url = "https://forums.alliedmods.net/showthread.php?t=303349"
};

new Handle:sv_disable_motd = INVALID_HANDLE;

public OnPluginStart()
{
	sv_disable_motd = FindConVar("sv_disable_motd");
	HookEvent("round_freeze_end", OnNewRound, EventHookMode_Pre);
}

public OnNewRound(Handle:event, const String:name[], bool:dontBroadcast)
{
	if(sv_disable_motd != INVALID_HANDLE)
		SetConVarInt(sv_disable_motd, 0);
}
Thanks for letting me know about sv_disable_motd
Edited from tefullalltalk plugin https://forums.alliedmods.net/showth...=155895&page=2

Last edited by Nexicon; 12-03-2017 at 18:24.
Nexicon 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 20:36.


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