mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-25 10:14:42 +02:00
Log plot chat to console
- Fix plot music removal template - Fix debug args
This commit is contained in:
@ -79,7 +79,7 @@ public class Debug extends SubCommand {
|
||||
if (args.length == 0) {
|
||||
player.sendMessage(
|
||||
TranslatableCaption.of("commandconfig.command_syntax"),
|
||||
Template.of("value", "/plot debug <loadedchunks | debug-players | entitytypes | msg>")
|
||||
Template.of("value", "/plot debug <loadedchunks | player | debug-players | entitytypes | msg>")
|
||||
);
|
||||
}
|
||||
if (args.length > 0) {
|
||||
|
@ -104,8 +104,9 @@ public class Music extends SubCommand {
|
||||
return true;
|
||||
}
|
||||
plot.removeFlag(event.getFlag());
|
||||
getPlayer().sendMessage(TranslatableCaption.of("flag.flag_removed"), Template.of("flag",
|
||||
String.valueOf(event.getFlag())
|
||||
getPlayer().sendMessage(TranslatableCaption.of("flag.flag_removed"),
|
||||
Template.of("flag", String.valueOf(event.getFlag())),
|
||||
Template.of("value", String.valueOf(event.getFlag().getValue())
|
||||
));
|
||||
} else if (item.getName().toLowerCase(Locale.ENGLISH).contains("disc")) {
|
||||
PlotFlag<?, ?> plotFlag = plot.getFlagContainer().getFlag(MusicFlag.class)
|
||||
|
@ -509,6 +509,9 @@ public class Settings extends Config {
|
||||
@Comment("Should the chat be interactive?")
|
||||
public static boolean INTERACTIVE = true;
|
||||
|
||||
@Comment("Should the plot chat be logged to console?")
|
||||
public static boolean LOG_PLOTCHAT_TO_CONSOLE = true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user