public Server(World World, int PlayerCap, string WhiteList, string BanList, string OpList) { Main.maxNetplayers = PlayerCap; world = World; world.setServer(this); pluginManager = new PluginManager(Statics.getPluginPath, this); whiteList = new DataRegister(WhiteList); whiteList.Load(); banList = new DataRegister(BanList); banList.Load(); opList = new DataRegister(OpList); opList.Load(); }
// Summary: // Sets the OP list public void setOpList(DataRegister OpList) { opList = OpList; }
// Summary: // Sets the White list public void setWhiteList(DataRegister WhiteList) { whiteList = WhiteList; }
// Summary: // Sets the Ban list public void setBanList(DataRegister BanList) { banList = BanList; }