public static bool HasBasicServerPrivilege(Player player)
        {
            if (Main.netMode == 0 && !Main.dedServ)
            {
                throw new HamstarException("Not multiplayer.");
            }

            if (string.IsNullOrEmpty(ModHelpersMod.Instance.Config.PrivilegedUserId))
            {
                return(false);
            }

            return(ModHelpersMod.Instance.Config.PrivilegedUserId == PlayerIdentityHelpers.GetMyProperUniqueId());
        }
        private void LoadDataSources()
        {
            DataDumper.SetDumpSource("WorldUidWithSeed", () => {
                return("  " + WorldHelpers.GetUniqueIdWithSeed() + " (net mode: " + Main.netMode + ")");
            });

            DataDumper.SetDumpSource("PlayerUid", () => {
                if (Main.myPlayer < 0 || Main.myPlayer >= (Main.player.Length - 1))
                {
                    return("  Unobtainable");
                }

                bool _;
                string oldUid = PlayerIdentityHelpers._GetUniqueId(Main.LocalPlayer, out _);

                return("  " + PlayerIdentityHelpers.GetMyProperUniqueId() + " (old uid: " + oldUid + ")");
            });
        }
        ////////////////

        public override void Action(CommandCaller caller, string input, string[] args)
        {
            string uid = PlayerIdentityHelpers.GetMyProperUniqueId();

            caller.Reply("Your user ID is: " + uid, Color.Lime);
        }