Example #1
0
 private void Init()
 {
     _instance = this;
     permission.RegisterPermission(_perm, this);
     SaveConfig();
     if (cFile.NoRaidCommand.Enabled && cFile.WipeRaiding.Enabled)
     {
         PrintWarning("It is not recomended to have NoRaidCommand and WipeRaiding enabled at the same time. They could conflict!");
         cFile.NoRaidCommand.Enabled = false;
     }
 }
Example #2
0
 private void Init()
 {
     _instance = this;
     permission.RegisterPermission(_perm, this);
     SaveConfig();
     if (!Friends && cFile.FriendBypass.FriendsApi.Enabled)
     {
         cFile.FriendBypass.FriendsApi.Enabled = false;
         PrintWarning("FriendsAPI not detected, disabling FriendsAPI integration");
     }
     if (!Clans && cFile.FriendBypass.RustIoClans.Enabled)
     {
         cFile.FriendBypass.RustIoClans.Enabled = false;
         PrintWarning("RustIO Clans not detected, disabling RustIO Clans integration");
     }
     if (cFile.NoRaidCommand.Enabled && cFile.WipeRaiding.Enabled)
     {
         PrintWarning("It is not recomended to have NoRaidCommand and WipeRaiding enabled at the same time. They could conflict!");
         cFile.NoRaidCommand.Enabled = false;
     }
 }