• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Request] Welcomer for Groups
#1
Lightbulb 
Is it posssible to make a 'Welcomer Plugin' like in COD4, for each group Plugin says another welcome message, like this

EXAMPLE:

When an Admin joins:

Admin name has joined the game!

When Player joins:

Welcome player name


is this possible, its like in cod4 Smile
And i think this will be nice for servers, that players can see, that an admin has connected...


[sorry for bad english, i am german] Wink
[Image: b_560_95_1.png]
[Image: b_560_95_1.png]
[Image: b_560_95_1.png]
  Reply
#2
I like this idea. Sort of like Minecraft
  Reply
#3
It was already released... no?
But it is easy as hell to make..

Maybe i will make it now lol

Code:
using System;
using System.Collections.Generic;
using Addon;
using System.Text;

namespace welcomePlug
{
    public class Class1 : CPlugin
    {
    
        public override void  OnPlayerConnect(ServerClient Client)
        {
if (Client.XUID == "EPIC_MEGA_PERSON_XUID")
            {
                iPrintLnBold("MEGA SUPER EPIC ADMIN " + Client.Name + " JOINED SERVER", null);
            }
else
{
            foreach(ServerClient c in GetClients())
                TellClient(c.ClientNum, string.Format("All welcome ^2{0}", Client.Name), true);
}
        }
        

  
    }
}
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
  Reply
#4
inb4 WHAT'S THIS I'M NOT GOOD WITH COMPUTER
  Reply
#5
(07-31-2012, 02:20)JayDi Wrote: It was already released... no?
But it is easy as hell to make..

Maybe i will make it now lol

Code:
using System;
using System.Collections.Generic;
using Addon;
using System.Text;

namespace welcomePlug
{
    public class Class1 : CPlugin
    {
    
        public override void  OnPlayerConnect(ServerClient Client)
        {
if (Client.XUID == "EPIC_MEGA_PERSON_XUID")
            {
                iPrintLnBold("MEGA SUPER EPIC ADMIN " + Client.Name + " JOINED SERVER", null);
            }
else
{
            foreach(ServerClient c in GetClients())
                TellClient(c.ClientNum, string.Format("All welcome ^2{0}", Client.Name), true);
}
        }
        

  
    }
}


sorry for aksing, is this the unfinished code? Shy
[Image: b_560_95_1.png]
[Image: b_560_95_1.png]
[Image: b_560_95_1.png]
  Reply
#6
just create it in c#, just tried it and took me less than a minute to do, also i can't say 100% its working due to it not displaying when i join my lan, however this is the same for any mod of this sort for me anyway.

Odd that i used to be able to see it print when i joined my lan/server but after a addon update awhile back it sort of stopped working. Others can see it's very odd but oh well.

I can't upload it due to needing the server Admins xuid.
[Image: b_560_95_1.png]


[Image: b_560_95_1.png]

  Reply
#7
(08-01-2012, 13:48)hillbilly Wrote: just create it in c#, just tried it and took me less than a minute to do, also i can't say 100% its working due to it not displaying when i join my lan, however this is the same for any mod of this sort for me anyway.

Odd that i used to be able to see it print when i joined my lan/server but after a addon update awhile back it sort of stopped working. Others can see it's very odd but oh well.

I can't upload it due to needing the server Admins xuid.

Could you give me one probably upload your current version, maybe it can work their way Smile

(Googletranslator ftw!)
[Image: b_560_95_1.png]
[Image: b_560_95_1.png]
[Image: b_560_95_1.png]
  Reply
#8
(08-01-2012, 18:53)Kasperle Wrote:
(08-01-2012, 13:48)hillbilly Wrote: just create it in c#, just tried it and took me less than a minute to do, also i can't say 100% its working due to it not displaying when i join my lan, however this is the same for any mod of this sort for me anyway.

Odd that i used to be able to see it print when i joined my lan/server but after a addon update awhile back it sort of stopped working. Others can see it's very odd but oh well.

I can't upload it due to needing the server Admins xuid.

Could you give me one probably upload your current version, maybe it can work their way Smile

(Googletranslator ftw!)

wouldn't be anygood to you if i did upload it, the admins xuid needs to be added to the mod. So if this was for your server i would need your xuid.

PM me your xuid and i'll add it to the mod and upload it.
[Image: b_560_95_1.png]


[Image: b_560_95_1.png]

  Reply
#9
Thanks, i sended you PM
[Image: b_560_95_1.png]
[Image: b_560_95_1.png]
[Image: b_560_95_1.png]
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] Welcomer Tylerd86 29 14,898 05-01-2013, 22:29
Last Post: .sepultura.
  [Release] Steam Aliases (IsKnownAs ESL Welcomer) aceed 10 6,752 03-16-2013, 03:35
Last Post: aceed
  Make New Groups 4FunPlayin 9 4,765 08-28-2011, 04:22
Last Post: Lemon

Forum Jump:


Users browsing this thread: 1 Guest(s)