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

[ANY] ServerAdvertisement3 - MultiLang | *UPDATED 05.04.2020* | *VERSION 3.1.4


Post New Thread Reply   
 
Thread Tools Display Modes
gildevanaraujo
Senior Member
Join Date: Oct 2018
Location: Brazil
Old 11-27-2018 , 18:52   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #671

Code:
L 11/27/2018 - 21:47:44: [SM] Blaming: ServerAdvertisements3.smx
L 11/27/2018 - 21:47:44: [SM] Call stack trace:
L 11/27/2018 - 21:47:44: [SM]   [0] ThrowError
L 11/27/2018 - 21:47:44: [SM]   [1] Line 422, D:/Sourcemod/scripting/include\multicolors/colors.inc::C_Format
L 11/27/2018 - 21:47:44: [SM]   [2] Line 85, D:/Sourcemod/scripting/include\multicolors/colors.inc::C_PrintToChat
L 11/27/2018 - 21:47:44: [SM]   [3] Line 76, D:/Sourcemod/scripting/include\multicolors.inc::CPrintToChat
L 11/27/2018 - 21:47:44: [SM]   [4] Line 518, D:\Sourcemod\ServerAdvertisements3\ServerAdvertisements3.sp::Timer_PrintMessage
PHP Code:
"ServerAdvertisements3"
{
  
"Settings"
  
{
    
"ServerName" "[{orange}KINGDOM #1{default}]" // Server tag
    
"MySQL" "0" // If 1 -> Messages will be loaded from MySQL
    
"ServerType" "default" // Only if MySQL is 1 -> Simply divide messages to groups (e.g. 3 servers uses ServerType surf and 2 servers uses jailbreak)
    
"Time" "90" // Time in seconds
    
"Languages"  "EN;CZ" // List of languages / Keep the main language first (If player connect from Country you did not translated. He will get messages in language which is the first in list).
    
"Default language" "geoip" // Value = "geoip" or "ingame"
    
"Log expired messages" "0" // 1 = Enabled -> Messages are loged in Sourcemod's error log
    
"ServerTracker" "1" // 1 = Enabled, 0 = Disabled
  
}
  
"Welcome Message"
  
{
    
"Enabled" "1" // 1 = Enabled / 0 = Disabled,
    
"Type" "T" // Type of message - Only T and C types are supported right now
    
"en" "{olive}*************************************** \n{blue}Bem vindo ao KINGDOM #2 {PLAYERNAME}\n{orange}Divirta-se acima de tudo!! \n{olive}***************************************"
    "cz" ""
    "Delay" "5.0" 
// Time in seconds after is client connected to server to show message
    
  
}
  
"Messages"
  
{
    
"1"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"maps" "all"
      
//"enabledtill" "30.05.2017" // Date DD/MM/YYYY -> Message will be available till 30. May 2017
      
"maps" "all" //- Default: all
      
"en" "{green}MAPA: {default}{CURRENTMAP}\n{green}JOGADORES ON: {default}{PLAYERCOUNT}{green}\n{green}DISCORD: {default}discord.gg/7nWNMP6 \n{green}GRUPO STEAM: {default}https://steamcommunity.com/groups/kingdomservidores\n {green}IP: {default}kingdomserver.ddns.net:27018"
      "cz"  ""
      "type" "T"
      "tag" "[{darkred}AUTO{default}]"
    
}
    
"2"
    
{
      
"enabled" "1" // Message is enabled
      
"maps" "all"
      "en" "{green}Entre em nosso grupo da steam para acessar as skins disponiveis!\n{default}{red}https://steamcommunity.com/groups/kingdomservidores/ {green} para acessar as skins do servidor!"
      "cz"  ""
      "type" "T"
      "tag" "[{lightblue}AUTO{default}]"
    
}
    
"3"
     
{
      
"enabled" "1"
      "maps" "all"
      "en" "{default}COMANDOS DISPONIVEIS:\n {green}SKINS: {default}!ws \n {green}FACA: {default}!knife\n {green}LUVAS: {default}!luvas\n{default}Comando {red}Gloves {default}apenas para {green}VIP!"
      "cz"  ""
      "type" "T"
      "tag" "[{blue}COMANDOS{default}]" 
// Message wit tag
    
}
    
"4" // Message with "ServerName" option tag
    
{
      
"maps" "zm_"
      "en" "Message 4"
      "cz"  "Zprava 4"
      "type" "t"
    
}
    
"5" // HUD MESSAGE
    
{
      
"enabled" "1"
      "maps" "zm_"
      "en" "NEW HUD MESSAGE TEXT BY {PLAYERNAME}"
      "cz"  "NEW HUD MESSAGE TEXT BY {PLAYERNAME}"
      "type" "h"
      "color" "255 112 0" 
// RGB (R G B)
      
"color2" "255 255 51" // RGB (R G B)
      
"effect" "2" // 0,1,2
      
"channel" "5" // Any number
      
"posx" "-1.0" //left to right
      
"posy" "0.05" //top to bottom
      
"fadein" "0.2" //Fade in time
      
"fadeout" "0.2" //Fade out time
      
"holdtime" "5.0" //Message hold time
    
}
  }


HTML Code:
01 "Admin File Reader" (1.9.0.6261) by AlliedModders LLC
  02 "Admin Help" (1.9.0.6261) by AlliedModders LLC
  03 "Admin Menu" (1.9.0.6261) by AlliedModders LLC
  04 "Anti-Flood" (1.9.0.6261) by AlliedModders LLC
  05 "Basic Chat" (1.9.0.6261) by AlliedModders LLC
  06 "Basic Comm Control" (1.9.0.6261) by AlliedModders LLC
  07 "Basic Commands" (1.9.0.6261) by AlliedModders LLC
  08 "Basic Info Triggers" (1.9.0.6261) by AlliedModders LLC
  09 "Basic Votes" (1.9.0.6261) by AlliedModders LLC
  10 "Chat-Processor" (2.1.5) by Keith Warren (Shaders Allen)
  11 "Client Preferences" (1.9.0.6261) by AlliedModders LLC
  12 "Chat Processor - Simple Chat Processor Wrapper" (1.0.0) by Keith Warren (Shaders Allen)
  13 "Fun Commands" (1.9.0.6261) by AlliedModders LLC
  14 "Fun Votes" (1.9.0.6261) by AlliedModders LLC
  15 "Gloves" (1.0.3) by kgns | oyunhost.net
  16 "hextags" (1.41) by Hexah
  17 "Match Ban" (1.1.3) by TnTSCS aka ClarkKent
  18 "Nextmap" (1.9.0.6261) by AlliedModders LLC
  19 "Player Commands" (1.9.0.6261) by AlliedModders LLC
  20 "CS:GO PugSetup" (2.0.5) by splewis
  21 "CS:GO PugSetup: autokicker" (2.0.5) by splewis
  22 "CS:GO PugSetup: damage printer" (2.0.5) by splewis
  23 "CS:GO PugSetup: RWS balancer" (2.0.5) by splewis
  24 "Reserved Slots" (1.9.0.6261) by AlliedModders LLC
  25 "SourceBans++: Admin Config Loader" (1.6.3) by AlliedModders LLC, SourceBans++ Dev Team
  26 "SourceBans++: Bans Checker" (1.6.3) by psychonic, Ca$h Munny, SourceBans++ Dev Team
  27 "SourceBans++: SourceComms" (1.6.3) by Alex, SourceBans++ Dev Team
  28 "SourceBans++: Main Plugin" (1.6.3) by SourceBans Development Team, SourceBans++ Dev Team
  29 "SourceBans++ Report Plugin" (1.6.3) by RumbleFrog, SourceBans++ Dev Team
  30 "SourceBans++: SourceSleuth" (1.6.3) by ecca, SourceBans++ Dev Team
  31 "ServerAdvertisements3" (3.1.3) by ESK0
  32 "Sound Commands" (1.9.0.6261) by AlliedModders LLC
  33 "What's My SteamID" (1.0) by [HvG] Shitler
  34 "steamgroup.smx"
  35 "[SWGM] Command Listener" (1.1) by Someone
  36 "Steam Works Group Manager" (1.7) by Someone
  37 "[SWGM] Admin" (1.0) by Someone
  38 "[SWGM] Command Listener" (1.1) by Someone
  39 "tVip" (2.1) by Totenfluch
  40 "Weapons & Knives" (1.3.0) by kgns | oyunhost.net

Is there a problem with this setting?

The messages apparently only work at the warm-up time, after the game is live, the messages will stop appearing.

Last edited by gildevanaraujo; 11-30-2018 at 16:57.
gildevanaraujo is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 11-29-2018 , 18:15   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #672

I wonder if it would be possible in the next updates to put the option of automatic response?

When some players type!! Steam,! Web the plugin returns to it a message configured by us, example.

If I want it to respond with my steam group set as follows:
Code:
!group
Then the plugin sends the configured message when he enters this command in chat.

It would be possible, or you already have some plugin that does this, I did not find anything... Only find those who would be to open the MOTD, but it does not work anymore.
paulo_crash is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 11-30-2018 , 07:13   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #673

Quote:
Originally Posted by paulo_crash View Post
I wonder if it would be possible in the next updates to put the option of automatic response?

When some players type!! Steam,! Web the plugin returns to it a message configured by us, example.

If I want it to respond with my steam group set as follows:
Code:
!group
Then the plugin sends the configured message when he enters this command in chat.

It would be possible, or you already have some plugin that does this, I did not find anything... Only find those who would be to open the MOTD, but it does not work anymore.
Yeah I would like a plugin like that too, sending a ! trigger would make the plugin reply with a custom message
!rules, !discord, whatever that is
__________________
Obyboby is offline
tzzion
Member
Join Date: Oct 2016
Old 11-30-2018 , 19:23   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #674

Hello everyone

I think I have the plugin you're requesting Paulo.

A few months ago a friend was teaching me how to program in SourcePawn and helped me make a basic plugin of commands and phrases in the chat.

You type the command in the chat and the message appears to everyone.

Example:

The problem is that I do not know how to generate .cfg file. So to change the commands you need to edit directly in .sp and recompile the plugin.



PHP Code:
#pragma semicolon 1

#define DEBUG


#include <sourcemod>
#include <sdktools>

public Plugin myinfo 
{
    
name "tzz_comando",
    
author "tzz",
    
description "Plugin de comandos e frases",
    
version "3.0",
    
url "www.toxicbrasil.com"
};

public 
OnPluginStart()
{
    
RegConsoleCmd("sm_retake"retake"Ip retake");
    
RegConsoleCmd("sm_awp"awp"Ip awp");
    
RegConsoleCmd("sm_txbr"txbr"txbr");
    
RegConsoleCmd("sm_bhop"bhop"bhop");
    
RegConsoleCmd("sm_teammais"teammais"teammais");
    
RegConsoleCmd("sm_grupo"grupo"grupo");    
}

public 
Action:retake(clientargs)
{
    
PrintToChatAll(" \x04[TXBR] \x01IP do \x05RETAKE: \x07185.50.105.218:27160");
    
PrintToConsole(client"COMANDO PARA SE CONECTAR NO SERVIDOR --->> connect 185.50.105.218:27160");

    return 
Plugin_Handled;
}

public 
Action:awp(clientargs)
{
    
PrintToChatAll(" \x04[TXBR] \x01IP do servidor de \x05AWP: \x07185.50.105.218:27146");
    
PrintToConsole(client"COMANDO PARA SE CONECTAR NO SERVIDOR --->> connect 185.50.105.218:27146");    
    return 
Plugin_Handled;
}

public 
Action:txbr(clientargs)
{
    
PrintToChatAll(" \x04[TXBR] \x01Entre no nosso site - \x05toxicbrasil.com");
    return 
Plugin_Handled;
}

public 
Action:bhop(clientargs)
{
    
PrintToChatAll(" \x04[TXBR] \x01IP do servidor de \x05BHOP: \x07185.50.105.218:27106");
    
PrintToConsole(client"COMANDO PARA SE CONECTAR NO SERVIDOR --->> connect 185.50.105.218:27146");    
    return 
Plugin_Handled;
}

public 
Action:teammais(clientargs)
{
    
PrintToChatAll(" \x04[TXBR] \x01Acesse -> \x05www.teammais.com -\x01 Instagram -> \x05@teammais2");
    return 
Plugin_Handled;
}

public 
Action:grupo(clientargs)
{
    
PrintToChatAll(" \x04[TXBR] \x01Acesse nosso grupo da STEAM -> \x05https://steamcommunity.com/groups/BrasilToxic");
    return 
Plugin_Handled;

I do not know if I could post the .sp here. If it is not allowed I will delete it.
__________________
tzzion is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 11-30-2018 , 19:59   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #675

Quote:
Originally Posted by tzzion View Post
Hello everyone

I think I have the plugin you're requesting Paulo.

A few months ago a friend was teaching me how to program in SourcePawn and helped me make a basic plugin of commands and phrases in the chat.

You type the command in the chat and the message appears to everyone.

Example:

The problem is that I do not know how to generate .cfg file. So to change the commands you need to edit directly in .sp and recompile the plugin.

I do not know if I could post the .sp here. If it is not allowed I will delete it.
Thanks, would that be... I will be watching over them with some other members that I know to see if I can make updates on it to generate the config so that everything can be configured in this config?

Thank you again!
paulo_crash is offline
Cruze
Veteran Member
Join Date: May 2017
Old 12-01-2018 , 00:59   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #676

https://forums.alliedmods.net/showthread.php?p=2392191
__________________
Taking paid private requests! Contact me
Cruze is offline
Lubricant Jam
AlliedModders Donor
Join Date: Oct 2016
Location: United Kingdom
Old 12-01-2018 , 09:08   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #677

Would be nice if someone could make a randomiser for this, then this would practically be perfect for use (as well as MySQL).
Lubricant Jam is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 12-30-2018 , 10:16   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #678

Big thanks to Bara for fixing memory leaks and etc... Link to his github fork on first page.
ESK0 is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 12-30-2018 , 12:50   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #679

Quote:
Originally Posted by ESK0 View Post
Big thanks to Bara for fixing memory leaks and etc... Link to his github fork on first page.
Quick question - are you planning on supporting randomized messages in the future?
Mr. Man is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 12-30-2018 , 15:29   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #680

Quote:
Originally Posted by Mr. Man View Post
Quick question - are you planning on supporting randomized messages in the future?
Not really sure about this..
ESK0 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 02:00.


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