mirror of
https://github.com/WiIIiam278/HuskSync.git
synced 2025-12-25 09:39:18 +00:00
Option to blacklist all commands (#138)
* Option to blacklist all commands * blacklist all commands by default --------- Co-authored-by: William <will27528@gmail.com>
This commit is contained in:
@@ -132,7 +132,7 @@ public class Settings {
|
||||
private Map<String, Boolean> synchronizationFeatures = SynchronizationFeature.getDefaults();
|
||||
|
||||
@YamlKey("synchronization.blacklisted_commands_while_locked")
|
||||
private List<String> blacklistedCommandsWhileLocked = new ArrayList<>();
|
||||
private List<String> blacklistedCommandsWhileLocked = new ArrayList<>(List.of("*"));
|
||||
|
||||
@YamlKey("synchronization.event_priorities")
|
||||
private Map<String, String> synchronizationEventPriorities = EventType.getDefaults();
|
||||
|
||||
Reference in New Issue
Block a user