@@ -106,6 +106,10 @@ public class PluginSettings
106106 private bool _blockEnforcementEnabled ;
107107 private MTObservableCollection < SettingsBlockEnforcementItem > _blockEnforcementItems ;
108108
109+ private bool _playerBlockEnforcementEnabled ;
110+ private MTObservableCollection < SettingsBlockEnforcementItem > _playerBlockEnforcementItems ;
111+ private bool _changeBlockOwnerNearest ;
112+
109113 private bool _gameModeConquestEnabled ;
110114
111115 private bool _reservedSlotsEnabled ;
@@ -115,7 +119,7 @@ public class PluginSettings
115119 private bool _reservedSlotsAdmins ;
116120
117121 private bool _timedCommandsEnabled ;
118- private MTObservableCollection < TimedCommandItem > _TimedCommandsItem ;
122+ private MTObservableCollection < TimedCommandItem > _timedCommandsItem ;
119123
120124 private bool _atmosphericCargoShipsEnabled ;
121125 private float _atmosphericCargoShipSpawnTime ;
@@ -830,9 +834,39 @@ public MTObservableCollection<SettingsBlockEnforcementItem> BlockEnforcementItem
830834 _blockEnforcementItems = value ;
831835 Save ( ) ;
832836 }
833- }
837+ }
834838
835- public bool GameModeConquestEnabled
839+ public bool PlayerBlockEnforcementEnabled
840+ {
841+ get { return _playerBlockEnforcementEnabled ; }
842+ set
843+ {
844+ _playerBlockEnforcementEnabled = value ;
845+ Save ( ) ;
846+ }
847+ }
848+
849+ public bool PlayerBlockEnforcementChangeOwner
850+ {
851+ get { return _changeBlockOwnerNearest ; }
852+ set
853+ {
854+ _changeBlockOwnerNearest = value ;
855+ Save ( ) ;
856+ }
857+ }
858+
859+ public MTObservableCollection < SettingsBlockEnforcementItem > PlayerBlockEnforcementItems
860+ {
861+ get { return _playerBlockEnforcementItems ; }
862+ set
863+ {
864+ _playerBlockEnforcementItems = value ;
865+ Save ( ) ;
866+ }
867+ }
868+
869+ public bool GameModeConquestEnabled
836870 {
837871 get { return _gameModeConquestEnabled ; }
838872 set
@@ -925,10 +959,10 @@ public bool TimedCommandsEnabled
925959
926960 public MTObservableCollection < TimedCommandItem > TimedCommandsItems
927961 {
928- get { return _TimedCommandsItem ; }
962+ get { return _timedCommandsItem ; }
929963 set
930964 {
931- _TimedCommandsItem = value ;
965+ _timedCommandsItem = value ;
932966 Save ( ) ;
933967 }
934968 }
@@ -1033,9 +1067,12 @@ public PluginSettings()
10331067 _blockEnforcementItems = new MTObservableCollection < SettingsBlockEnforcementItem > ( ) ;
10341068 _blockEnforcementItems . CollectionChanged += ItemsCollectionChanged ;
10351069
1070+ _playerBlockEnforcementItems = new MTObservableCollection < SettingsBlockEnforcementItem > ( ) ;
1071+ _playerBlockEnforcementItems . CollectionChanged += ItemsCollectionChanged ;
1072+
10361073 _timedCommandsEnabled = false ;
1037- _TimedCommandsItem = new MTObservableCollection < TimedCommandItem > ( ) ;
1038- _TimedCommandsItem . CollectionChanged += ItemsCollectionChanged ;
1074+ _timedCommandsItem = new MTObservableCollection < TimedCommandItem > ( ) ;
1075+ _timedCommandsItem . CollectionChanged += ItemsCollectionChanged ;
10391076
10401077 _atmosphericCargoShipsEnabled = false ;
10411078 _atmosphericCargoShipSpawnTime = 10.0f ;
0 commit comments