MCPcopy Create free account
hub / github.com/ZetaMap/MoreCommands / warn

Method warn

src/main/java/util/Players.java:47–49  ·  view source on GitHub ↗
(Player player, String fmt, Object... msg)

Source from the content-addressed store, hash-verified

45 player.sendMessage("Info: " + Strings.format(fmt, msg));
46 }
47 public static void warn(Player player, String fmt, Object... msg) {
48 player.sendMessage("[gold]Warning: []" + Strings.format(fmt, msg));
49 }
50
51 //check the player if admin
52 public static boolean adminCheck(Player player) {

Callers 8

checkIPMethod · 0.80
initMethod · 0.80
writeMethod · 0.80
newFileMethod · 0.80
updateMethod · 0.80
bansCommandMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected