AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3 (https://forums.alliedmods.net/showthread.php?t=248314)

ESK0 09-15-2014 16:40

[ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
 
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

LIST OF SERVERS USING THIS PLUGIN after 19.7.2017 update

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



Required! - Only if you have enabled Server Tracker in .cfg / Enabled by default
- SteamWorks

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
  • Updater
  • Print more types of messages at once.
  • Do you have an idea? Let me know below!

Upcoming features/fixes in 3.1.4:
Config editing:
Spoiler

Screens/Previews
Spoiler



Change log:
Code:

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

TUSK3N1337 09-15-2014 16:46

Re: [CSGO] Automatic Messages
 
Does all of these colors even work in csgo?

I guess this is a rewrite from the advertisements plugin but more focused on csgo?

ESK0 09-15-2014 16:48

Re: [CSGO] Automatic Messages
 
I think yes, but classic Red is weird. So use Darkred.

edit:// I am sorry :) But this is my work :)) You will not find anything from advertisements plugin.

TUSK3N1337 09-15-2014 16:55

Re: [CSGO] Automatic Messages
 
Ok nice will try it out tomorrow and see if its any better than the advertisements plugin. Right now im only seeing the colors that would benefit.

Have you fixed the space thingy

"message" "{Darkred}First {default}message"


In advertisement plugin you have to do this add a space before a color.

"message" " {Darkred}First {default}message"

ESK0 09-15-2014 17:00

Re: [CSGO] Automatic Messages
 
Thanks a lot :)) I plan to add a few more things in future :))

lindexg 09-16-2014 06:11

Re: [CSGO] Automatic Messages | UPDATED 16.9.14
 
there is an option I couldn't find in other plugins

- possibility to show people advertisements in their native language

thx for the plugin, thought

ESK0 09-16-2014 07:53

Re: [CSGO] Automatic Messages | UPDATED 16.9.14
 
ok :)) Maybe in new version :))

edit// Multi language support is now ready :)) Thanks @lindexg

lindexg 09-16-2014 13:18

Re: [CSGO] Automatic Messages | Multi-Language Support!
 
Thanks you for your efforts, this is great!

Would reply later after testing it on my server..

ESK0 09-16-2014 13:28

Re: [CSGO] Automatic Messages | Multi-Language Support!
 
Thanks :)) I am glad you are interested :)

Let me know about bugs etc.. :)

wxl42640211 09-17-2014 11:29

Re: [CSGO] Automatic Messages | Multi-Language Support!
 
YES,YES,YES
Great!
I like more color!!


All times are GMT -4. The time now is 05:49.

Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.