AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Simple Welcome Message 1.2 (https://forums.alliedmods.net/showthread.php?t=98326)

Zuko 07-24-2009 13:43

[ANY] Simple Welcome Message 1.2
 
7 Attachment(s)
Simple Welcome Message 1.2

Description:
This plugin display simple welcome message to players (Max 8 lines). You can easily set colored messages for different languages. List of colors that can be used in phrases: link
Now you can aslo set messages on panel and hint.

When update you should delete old cfg file.

ConVars:
  • sm_swm_enable - Enable/Disable Plugin
    0 = Disable | 1 = Enable
    Default: "1" - Enable
  • sm_swm_timer - When the message should be displayed after the player join on the server (in seconds)
    Default: "25.0"
  • sm_swm_msgtype - Sets Message Type: 1 - Chat , 2 - Panel , 4 - Hint (You can combine more than one, eg. Chat+Panel = 3)
    Default: "7" - All types
  • sm_swm_messagelines - How many lines plugin should display on chat.
    Min: "0"
    Max: "7" (for L4D: "6" | Insurgency: "5")
    Default: "0" - One
  • sm_swm_panellines - How many lines plugin should display on panel.
    Min: "0"
    Max: "13"
    Default: "0" - One (+ Title and Close)
Changelog:
  • Version 1.0 (24.07.09)
    • Initial Release
  • Version 1.1 (26.07.09)
    • More lines for chat messages (max 8 )
    • Max lines limit for L4D and Insurgency
  • Version 1.2 (17.08.09)
    • Added Panel and Hint Message

Installation:
Precompiled version:
  • Put simplewelcomemsg.smx to sourcemod/plugins
  • Put simplewelcomemsg.phrases.txt to sourcemod/translations
Source (to compile locally)
  • Put simplewelcomemsg.sp to sourcemod/scripting
  • Put colors.inc to sourcemod/scripting/include
  • Put simplewelcomemsg.phrases.txt to sourcemod/translations
Known bugs:
  • When panel is on screen player can't change weapons with 1,2,3... keys

Screenshots:
Attachment 47719 Attachment 47720 Attachment 47721

The Flyer 07-24-2009 14:43

Re: Simple Welcome Message
 
Where will the colors.inc installed.

Can you recruit more welcome than 4 lines?

Sexual Harassment Panda 07-24-2009 14:50

Re: Simple Welcome Message
 
Great idea man. Just checking, this only displays to the player that has connected, correct?

Zuko 07-24-2009 14:56

Re: Simple Welcome Message
 
Quote:

Originally Posted by The Flyer (Post 880834)
Where will the colors.inc installed.

Can you recruit more welcome than 4 lines?

You must put colors.inc to scripting directory in sourcemod. (../addons/sourcemod/scripting/)
About more than 4 lines, I think most mods have 4 chat lines. (but I will check it later)

Quote:

Originally Posted by Sexual Harassment Panda (Post 880847)
Great idea man. Just checking, this only displays to the player that has connected, correct?

Yes.

DontWannaName 07-24-2009 18:43

Re: Simple Welcome Message
 
The colors include isnt required if you just want to run the plugin, its only needed to compile which as been done for you in the smx.

Zuko 07-26-2009 07:27

Re: [ANY] Simple Welcome Message 1.1
 
New version (look @ first post)

The Flyer 07-27-2009 08:56

Re: [ANY] Simple Welcome Message 1.1
 
N1 work!!! THX

GrossKopf 07-27-2009 10:37

Re: [ANY] Simple Welcome Message 1.1
 
Just tried downloading it:

"Plugin failed to compile! Please try contacting the author."

Zuko 07-27-2009 10:56

Re: [ANY] Simple Welcome Message 1.1
 
You can't use 'web' compiler if plugin use includes.
Download precompiled version or compile it locally.

asonof.oMega 08-13-2009 08:26

Re: [ANY] Simple Welcome Message 1.1
 
Hey,

i tried to install this plugin. But I dunno where to put the phrases.txt data. Can you help me there?

The smx has been added to plugins folder and the sp to the scripting folder.
Then I changed the cvars for my sourcemod.cfg and for the simplewelcomemsg.plugin.cfg.
Only the phrases are missing.


All times are GMT -4. The time now is 00:48.

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