![]() |
|
[Request] Welcomer for Groups - Printable Version +- ItsMods (https://www.itsmods.com) +-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html) +--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html) +--- Thread: [Request] Welcomer for Groups (/Thread-Request-Welcomer-for-Groups.html) |
Welcomer for Groups - Kasperle - 07-30-2012 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 ![]() 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]
RE: Welcomer for Groups - pollarpart - 07-31-2012 I like this idea. Sort of like Minecraft RE: Welcomer for Groups - Nekochan - 07-31-2012 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);
}
}
}
}RE: Welcomer for Groups - JariZ - 07-31-2012 inb4 WHAT'S THIS I'M NOT GOOD WITH COMPUTER RE: Welcomer for Groups - Kasperle - 08-01-2012 (07-31-2012, 02:20)JayDi Wrote: It was already released... no? sorry for aksing, is this the unfinished code?
RE: Welcomer for Groups - hillbilly - 08-01-2012 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. RE: Welcomer for Groups - Kasperle - 08-01-2012 (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. Could you give me one probably upload your current version, maybe it can work their way ![]() (Googletranslator ftw!) RE: Welcomer for Groups - hillbilly - 08-01-2012 (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. 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. RE: Welcomer for Groups - Kasperle - 08-01-2012 Thanks, i sended you PM |