When players enable/disable admin bypass mode (/f bypass), it is now logged to the server console/log.
This commit is contained in:
parent
34e4afee2c
commit
fa21358a23
@ -24,9 +24,11 @@ public class FCommandBypass extends FBaseCommand {
|
|||||||
if ( ! Conf.adminBypassPlayers.contains(player.getName())) {
|
if ( ! Conf.adminBypassPlayers.contains(player.getName())) {
|
||||||
Conf.adminBypassPlayers.add(player.getName());
|
Conf.adminBypassPlayers.add(player.getName());
|
||||||
me.sendMessage("You have enabled admin bypass mode. You will be able to build or destroy anywhere.");
|
me.sendMessage("You have enabled admin bypass mode. You will be able to build or destroy anywhere.");
|
||||||
|
Factions.log(player.getName() + " has ENABLED admin bypass mode.");
|
||||||
} else {
|
} else {
|
||||||
Conf.adminBypassPlayers.remove(player.getName());
|
Conf.adminBypassPlayers.remove(player.getName());
|
||||||
me.sendMessage("You have disabled admin bypass mode.");
|
me.sendMessage("You have disabled admin bypass mode.");
|
||||||
|
Factions.log(player.getName() + " DISABLED admin bypass mode.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user