MOVED TO http://1337-servers.proboards.com
Would you like to react to this message? Create an account in a few clicks or log in to continue.

MOVED TO http://1337-servers.proboards.com

The new C41337 website is now up and running!

You are not connected. Please login or register

[PLUGIN] WTTSM --C41337

Go down  Message [Page 1 of 1]

1[PLUGIN] WTTSM --C41337 Empty [PLUGIN] WTTSM --C41337 Tue Jan 10, 2012 12:44 pm

C41337

C41337
Creator
Creator

My first thing ive ever made and it actually works Very Happy
but when i finished it i realized i need to edit the actuall source of mcforge and i dont need the plugin.





Code:

using System;

namespace MCForge
{
    public class Welcomtotheserver : Plugin

    {
        public override string name { get { return "Welcometotheserver"; } }
        public override string website { get { return "www.c41337.forumotion.com"; } }
        public override string MCForge_Version { get { return ""; } }
        public override int build { get { return 100; } }
        public override string welcome { get { return "WTTSM loaded"; } }
        public override string creator { get { return "C41337"; } }
        public override bool LoadAtStartup { get { return true; } }
        public override void Load(bool startup)

        {

            Player.PlayerConnect += new
Player.OnPlayerConnect(Player_PlayerConnect);
        }
        public override void Unload(bool shutdown)
        {
        }
        public override void Help(Player p)
        {
        }
        void Player_PlayerConnect(Player p)
        {
            if (p.totalLogins == 1)
            {
                Player.GlobalMessage("&9Welcome " + p.color + p.name + " &9to the server!");

                Player.GlobalMessage("Your current rank is" + p.group.color + p.group.name);
            }
        }
    }
}

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum