예제 #1
0
        public JavascriptConnector()
        {
            manager = new JavascriptPluginManager();
            MinecraftConnector.PlayerJoin += PlayerJoin;
            MinecraftConnector.PlayerLeft += PlayerLeft;
            MinecraftConnector.PlayerPositionReceived += PlayerPosition;
            MinecraftConnector.PlayerChatReceived += PlayerChat;

            MinecraftConnector.ServerStart += ServerStart;
            MinecraftConnector.ServerStop += ServerStop;
        }
예제 #2
0
        public JavascriptConnector()
        {
            manager = new JavascriptPluginManager();
            MinecraftConnector.PlayerJoin             += PlayerJoin;
            MinecraftConnector.PlayerLeft             += PlayerLeft;
            MinecraftConnector.PlayerPositionReceived += PlayerPosition;
            MinecraftConnector.PlayerChatReceived     += PlayerChat;

            MinecraftConnector.ServerStart += ServerStart;
            MinecraftConnector.ServerStop  += ServerStop;
        }