Answers for "spigot wolf death message"

0

spigot wolf death message

ConsoleCommandSender console = Bukkit.getServer().getConsoleSender();
String commandShowDeathMessages = "gamerule showDeathMessages false";
Bukkit.dispatchCommand(console, commandShowDeathMessages);

// But don't forget to write them by yourself in PlayerDeathEvent

// PS: btw if you plan to run that command on plugin onEnable, 
//you shouhld use it in BukkitRunnable.runTaskLater()
Posted by: Guest on January-26-2021

Code answers related to "spigot wolf death message"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language