public void Initialize()
            {
                MessageBlockSettings settings = new MessageBlockSettings();
                int f = settings.GetSettingInt("CreatePermission"); //allows to create and remove message blocks

                if (f >= byte.MinValue && f <= byte.MaxValue)
                {
                    createPermission = (byte)f;
                }
                f = settings.GetSettingInt("ViewPermission");//allows view all message blocks
                if (f >= byte.MinValue && f <= byte.MaxValue)
                {
                    viewPermission = (byte)f;
                }
                f = settings.GetSettingInt("DeleteAllPermission");//allows to delete all message blocks
                if (f >= byte.MinValue && f <= byte.MaxValue)
                {
                    removeAllPermission = (byte)f;
                }
                f = settings.GetSettingInt("CommandBlockPermission");
                if (f >= byte.MinValue && f <= byte.MaxValue)
                {
                    commandBlockPermission = (byte)f;
                }
                ProtectBlockType   = settings.GetSettingBoolean("ProtectBlockType");
                RemoveCommandOnAir = settings.GetSettingBoolean("RemoveCommandOnAir");
                RemoveMessageOnAir = settings.GetSettingBoolean("RemoveMessageOnAir");

                settings = null;
                Command.AddReference(this, "messageblock", "mb");
            }
            public void Initialize() {
                MessageBlockSettings settings = new MessageBlockSettings();
                int f = settings.GetSettingInt("CreatePermission"); //allows to create and remove message blocks
                if (f >= byte.MinValue && f <= byte.MaxValue)
                    createPermission = (byte)f;
                f = settings.GetSettingInt("ViewPermission");//allows view all message blocks
                if (f >= byte.MinValue && f <= byte.MaxValue)
                    viewPermission = (byte)f;
                f = settings.GetSettingInt("DeleteAllPermission");//allows to delete all message blocks
                if (f >= byte.MinValue && f <= byte.MaxValue)
                    removeAllPermission = (byte)f;
                f = settings.GetSettingInt("CommandBlockPermission");
                if (f >= byte.MinValue && f <= byte.MaxValue)
                    commandBlockPermission = (byte)f;
                ProtectBlockType = settings.GetSettingBoolean("ProtectBlockType");
                RemoveCommandOnAir = settings.GetSettingBoolean("RemoveCommandOnAir");
                RemoveMessageOnAir = settings.GetSettingBoolean("RemoveMessageOnAir");

                settings = null;
                Command.AddReference(this, "messageblock", "mb");
            }