ImportBot Posted June 28, 2012 Share Posted June 28, 2012 Originally Posted by PapaCharlie9*: Posting this here for my own benefit (easier to track down) and because the questions crops up now and then as well. Different ban types explained: Code: //Simple Kick plugin.KickPlayerWithMessage(player.Name, plugin.R("Reason")); //EA Ban by player name - permanent ban plugin.EABanPlayerWithMessage(EABanType.Name, EABanDuration.Permanent, player.Name, 0, "Reason"); //EA Ban by player name - round ban plugin.EABanPlayerWithMessage(EABanType.Name, EABanDuration.Round, player.Name, 0, "Reason"); //EA Ban by player name - temp ban for 10 minutes plugin.EABanPlayerWithMessage(EABanType.Name, EABanDuration.Temporary, player.Name, 10, "Reason"); //EA Ban by player IP address - permanent ban plugin.EABanPlayerWithMessage(EABanType.IPAddress, EABanDuration.Permanent, player.Name, 0, "Reason"); //EA Ban by player IP address - round ban plugin.EABanPlayerWithMessage(EABanType.IPAddress, EABanDuration.Round, player.Name, 0, "Reason"); //EA Ban by player IP address - temp ban for 10 minutes plugin.EABanPlayerWithMessage(EABanType.IPAddress, EABanDuration.Temporary, player.Name, 10, "Reason"); //EA Ban by player EA GUID - permanent ban plugin.EABanPlayerWithMessage(EABanType.EA_GUID, EABanDuration.Permanent, player.Name, 0, "Reason"); //EA Ban by player EA GUID - round ban plugin.EABanPlayerWithMessage(EABanType.EA_GUID, EABanDuration.Round, player.Name, 0, "Reason"); //EA Ban by player EA GUID - temp ban for 10 minutes plugin.EABanPlayerWithMessage(EABanType.EA_GUID, EABanDuration.Temporary, player.Name, 10, "Reason"); // PB Ban (all player details recorded) - permanent ban plugin.PBBanPlayerWithMessage(PBBanDuration.Permanent, player.Name, 0, "Reason"); // PB Ban (all player details recorded) - temp ban for 10 minutes plugin.PBBanPlayerWithMessage(PBBanDuration.Temporary, player.Name, 10, "Reason"); * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted January 22, 2013 Author Share Posted January 22, 2013 Originally Posted by dyn*: Just used this. Thank you. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 1, 2013 Author Share Posted July 1, 2013 Originally Posted by HexaCanon*: voting for sticky * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 4, 2013 Author Share Posted July 4, 2013 Originally Posted by PapaCharlie9*: voting for stickyDone. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 21, 2013 Author Share Posted November 21, 2013 Originally Posted by lordicon*: Is this used for PB kick as well or only EA or both for BF4? //Simple Kick Code: plugin.KickPlayerWithMessage(player.Name, plugin.R("Reason")); * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 22, 2013 Author Share Posted November 22, 2013 Originally Posted by Singh400*: Is this used for PB kick as well or only EA or both for BF4? //Simple Kick Code: plugin.KickPlayerWithMessage(player.Name, plugin.R("Reason")); AFAIK it is the same. * Restored post. It could be that the author is no longer active. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.