Added possibility to specify a player in the /f join command (/f join <faction> [player=you]), to make a player other than yourself join the specified faction. The new permission factions.join.others (added to factions.kit.mod and above) is required to be able to specify a different player.

Note that the player cannot currently already be in another faction; if they are, you'll need to /f kick them first. Also note that if the faction isn't open (with no invitation required), the player isn't invited, and you don't have the factions.join.any permission or have admin bypass mode on, the attempt will also fail.

Also, added new log method which accepts arguments (like the msg method).
This commit is contained in:
Brettflan committed 2012-02-26 12:29:44 -06:00
1 parent 02200e5793
commit d71bd15a79
4 files changed
+49 -23

No files matched your search

@@ -22,6 +22,7 @@ public enum Permission
INVITE("invite"),
JOIN("join"),
JOIN_ANY("join.any"),
JOIN_OTHERS("join.others"),
KICK("kick"),
LEADER("leader"),
LEADER_ANY("leader.any"),