Beispiel #1
0
        public VanillaWorld(string name)
        {
            this.ServerName = name;
            this.Endpoint = GetPortFromProperties(name);
            Commands = new VanillaWorldCommands();

            string regionPath = Path.Combine(name, "regions.json");
            this.Regions = RegionLoader.Load(regionPath);

            stopBackend = new Timer(StopBackend, null, -1, -1);
        }
Beispiel #2
0
        public VanillaWorld(string name)
        {
            this.ServerName = name;
            this.Endpoint   = GetPortFromProperties(name);
            Commands        = new VanillaWorldCommands();

            string regionPath = Path.Combine(name, "regions.json");

            this.Regions = RegionLoader.Load(regionPath);

            stopBackend = new Timer(StopBackend, null, -1, -1);
        }