Exemple #1
0
        public WhitelistManager GetWhitelistManager()
        {
            var monitors = Starbound.GetMonitors <WhitelistManager>();

            if (monitors.Length == 0)
            {
                return(null);
            }
            return(monitors[0]);
        }
Exemple #2
0
        public RestoreMonitor GetRestoreMonitor()
        {
            var monitors = Starbound.GetMonitors <RestoreMonitor>();

            if (monitors.Length == 0)
            {
                return(null);
            }
            return(monitors[0]);
        }