set default ops requirement for commands that can change world or cause significant impact on the world. fixed #584

spawn
tick
draw
player
track
This commit is contained in:
gnembon committed 2020-11-29 15:12:29 -04:00
1 parent c19bed79de
commit f9bce2b50e
1 file changed
+8 -8
+8 -8
View File
@@ -121,7 +121,7 @@ public class CarpetSettings
@Rule(desc = "Gbhs sgnf sadsgras fhskdpri!", category = EXPERIMENTAL) @Rule(desc = "Gbhs sgnf sadsgras fhskdpri!!!", category = EXPERIMENTAL)
public static boolean superSecretSetting = false; public static boolean superSecretSetting = false;
@Rule( @Rule(
@@ -243,7 +243,7 @@ public class CarpetSettings
@Rule( desc = "Merges stationary primed TNT entities", category = TNT ) @Rule( desc = "Merges stationary primed TNT entities", category = TNT )
public static boolean mergeTNT = false; public static boolean mergeTNT = false;
@Rule( /*@Rule(
desc = "Lag optimizations for redstone dust", desc = "Lag optimizations for redstone dust",
extra = { extra = {
"by Theosib", "by Theosib",
@@ -252,7 +252,7 @@ public class CarpetSettings
}, },
category = {EXPERIMENTAL, OPTIMIZATION} category = {EXPERIMENTAL, OPTIMIZATION}
) )
public static boolean fastRedstoneDust = false; public static boolean fastRedstoneDust = false;*/
@Rule(desc = "Only husks spawn in desert temples", category = FEATURE) @Rule(desc = "Only husks spawn in desert temples", category = FEATURE)
public static boolean huskSpawningInTemples = false; public static boolean huskSpawningInTemples = false;
@@ -344,10 +344,10 @@ public class CarpetSettings
public static boolean summonNaturalLightning = false; public static boolean summonNaturalLightning = false;
@Rule(desc = "Enables /spawn command for spawn tracking", category = COMMAND) @Rule(desc = "Enables /spawn command for spawn tracking", category = COMMAND)
public static String commandSpawn = "true"; public static String commandSpawn = "ops";
@Rule(desc = "Enables /tick command to control game clocks", category = COMMAND) @Rule(desc = "Enables /tick command to control game clocks", category = COMMAND)
public static String commandTick = "true"; public static String commandTick = "ops";
@Rule( @Rule(
desc = "Enables /profile command to monitor game performance", desc = "Enables /profile command to monitor game performance",
@@ -393,7 +393,7 @@ public class CarpetSettings
public static String commandPerimeterInfo = "true"; public static String commandPerimeterInfo = "true";
@Rule(desc = "Enables /draw commands", extra = {"... allows for drawing simple shapes or","other shapes which are sorta difficult to do normally"}, category = COMMAND) @Rule(desc = "Enables /draw commands", extra = {"... allows for drawing simple shapes or","other shapes which are sorta difficult to do normally"}, category = COMMAND)
public static String commandDraw = "true"; public static String commandDraw = "ops";
@Rule( @Rule(
@@ -430,10 +430,10 @@ public class CarpetSettings
public static boolean scriptsAutoload = false; public static boolean scriptsAutoload = false;
@Rule(desc = "Enables /player command to control/spawn players", category = COMMAND) @Rule(desc = "Enables /player command to control/spawn players", category = COMMAND)
public static String commandPlayer = "true"; public static String commandPlayer = "ops";
@Rule(desc = "Allows to track mobs AI via /track command", category = COMMAND) @Rule(desc = "Allows to track mobs AI via /track command", category = COMMAND)
public static String commandTrackAI = "true"; public static String commandTrackAI = "ops";
@Rule(desc = "Placing carpets may issue carpet commands for non-op players", category = SURVIVAL) @Rule(desc = "Placing carpets may issue carpet commands for non-op players", category = SURVIVAL)
public static boolean carpets = false; public static boolean carpets = false;