View Single Post
Author Message
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 09-15-2014 , 16:40   [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 05.04.2020* | *VERSION 3.1.4
Reply With Quote #1

Hello guys,

ServerAdvertisements3 is advertisement plugin wich contains a lot of features. It's very easy to use and almost everyone can manage to set it up

Admin Commands:
  • !sa3debug - Messages debug in console for current map
  • !sa3r - Messages reload

Client Commands:
  • !sa3lang - Client can change his language to any available language

Features:
  • Chat messages - Type: T. / Color support
  • Hud messages - Type: H. / R G B color
  • Center text messages - Type: C. / Support only HTML [hex] colors
  • Multi-Language support. LINK (Use Alpha-2 codes)
  • Up to 9 lines per message [\n].
  • Custom tag for message - Keep tag text empty to have message without tag
  • Messages for specific maps (e.g. all,de_dust2,de_inferno, de_, zm_, etc..)
  • Message can be banned for certain maps if you use all,de_,ar_, etc.... ("ignore_maps" "ar_;de_;etc..")
  • Messages for specific flags (e.g. a,b,c,d,z, etc..)
  • Message can be disabled for specific flags (e.g. a,b,c,d,z, etc..) - "ignore" "flag"
  • Enable option per message - Message can be temporarily disabled - By default its enabled
  • Message can be enabled till any date (e.g. Messages for some events or so). -> Added Log expired messages option in Settings part for debugging expired messages.
  • Welcome message - Preview
  • Client can change its language to any available language with !sa3lang command. Language is stored in a cache.

Text variables:
  • {NEXTMAP}
  • {CURRENTMAP}
  • {PLAYERCOUNT}
  • {CURRENTTIME}
  • {SERVERIP}
  • {SERVERNAME}
  • {PLAYERNAME}
  • {ADMINSONLINE}
  • {TIMELEFT}
  • {STEAMID}
  • {CONVAR} ->{mp_friendlyfire},{sv_cheats},...., or convar from any pluigin.
  • {CURRENTDATE}
  • {CURRENTDATE_US}
  • {VIPONLINE} - Flag A

Supported colors: Maybe some will not work or be different.

?CS:GO Only?
Spoiler

?Other games?
Spoiler


Installation:
  • Move ServerAdvertisemen3.cfg to your addons/sourcemod/configs folder.
  • Move ServerAdvertisemen3.smx to addons/sourcemod/plugins folder.
  • Restart server/Change map

Todo list:
  • MySQL support
  • Do you have an idea? Let me know below!

Config editing:
Spoiler

Screens/Previews
Spoiler



Change log:
Code:
Version 3.1.4:

- Server tracker completely removed.

Version 3.1.3a:

- Possible memory leaks fix (testing version)

Version 3.1.3:

- Added Server tracking (List of servers which uses ServerAdvertisement3)
- Added support for more Welcome message types (T, H, C)
- Text variable '{CURRENTMAP}' now support workshop maps
- Added support for No More Room In Hell - MultiColors 2.1.1 or the latest needed for compile.
- Added new color Yellow - MultiColors 2.1.1 or the latest needed for compile.
- Fixed issue when Timer tries to get message from empty ArrayList.
- Added "ServerTracker" option to Settings part of .cfg

Version 3.1.2:

- Fixed typo in Welcome Message part in .cfg -> "Enable" - There is missing d "Enabled" 
- Added support for mutiple maps in map restriction
- Added support for banning certain maps if you use all,de_,ar_, etc.... ("ignore_maps" "ar_;de_;etc..")
- Added multi line support for hud messages.. (Type: H)
- Fixed infinite game_text creation if it already exists

Version 3.1.1:

- Increased ServerName size
- Menu memory leak prevention
- CheckCommandAccess performance improvement
- Added SA3_version ConVar for tracking servers which use ServerAdvertisement3
- Message language can be based on ingame language (Option added to !sa3lang)
- Added "effect", "channel" and "color2" to hud message
- Added {CURRENTDATE} and {CURRENTDATE_US} text variable
- Message can be disabled for specific flags (e.g. a,b,c,d,z, etc..)

Version 3.1:

- Added Enable option per message - Message can be temporarily disabled - By default its enabled
- Message can be enabled till any date (e.g. Messages for some events or so). -> Added Log expired messages option in Settings part for debugging expired messages.
- Added welcome message
- Client can change its language to any available language
- Added !sa3lang command with which can client change its language
- Added {CONVAR} text variable
- \n limit increased to 9 since CSGO chat can handle up to 9 messages at once

Version 3.0 hotfix:

- FindString function is case-sensitive - Keep language code in Settings part upper-case

Version 3.0:

- Fully re-scripted
- Hud messages - Type: H. / R G B color - Only single line messages
- Up to 5 lines per message [\n].
- Custom tag for message - Keep tag text empty to have message without tag
- Messages for specific maps (e.g. all,de_dust2,de_inferno, de_, zm_, etc..)
- Messages for specific flags (e.g. a,b,c,d,z, etc..)
- More text variables
Download

Last edited by ESK0; 04-05-2020 at 17:05.
ESK0 is offline