This page coves basic Frequently Asked Questions (FAQ) for the Badlion Anticheat (BAC) plugin installation. We suggest reading all of the below information before consulting tech support.
We are not liable for any of the commands/advice given here to you on how to manage your server(s) and follow these instructions at your own risk. Official legal information is available in the contract you agreed to when purchasing BAC here.
NOTE: Only install the bukkit plugin if you do not have a BungeeCord server setup. Otherwise always use the BungeeCord plugin. Do not install both.
Linux Servers
All of the information below is aimed at Linux servers. We do not provide support for other Operating Systems for your Minecraft Servers. We assume that you have some very basic understanding of how to use a linux console. If you do not understand this guide please seek assistance from someone who understands basic linux servers.
How do I download the file directly onto my server?
Linux Console
Right click the download link on your BAC Page (TODO link) and copy the link location. Then on your server run the following command where your Bungee or Bukkit/Spigot (where your main jar file is found) server is located.
Replace {LINK HERE} with the link you copied above
curl {LINK HERE} –output bac.tar.gz
FTP/SFTP
Download the files onto your comptuer and then use your favorite FTP or SFTP application to upload them into the BungeeCord or Bukkit/Spigot server location on your remote server.
How do I extract the contents of the tar file?
Linux Console
Run the following command in the location where bac.tar.gz is located (should be the same location where either BungeeCord.jar or bukkit.jar/spigot.jar is).
tar -xzf bac.tar.gz
FTP/SFTP
Consult your client's help guide on how to untar and uncompress files.
Does BAC Require any additional ports to be opened on my firewall?
Short answer, if you are running your server on port 25565 then you need to open port 28566.
Long answer:
We require that a specific port is open on your firewall which is calculated by the following formula:
Bungee or Bukkit Port (Normally 25565) + 3001 = 28566.
If you have a different port than the normal 25565 then you need to follow the above formula to determine which port to open up. Example of having BungeeCord setup on port 25251 would result in 25251 + 3001 = 28252 needing to be opened up for the BAC plugin to work properly.
How do I open up a port on my firewall?
Long accurate answer:
Assuming you are using iptables we suggest reviewing the following guide for a detailed breakdown of how to open ports on your iptables configuration and to save the rules: https://www.digitalocean.com/community/tutorials/iptables-essentials-common-firewall-rules-and-commands
Short 99% of the time works answer:
Replace {PORT HERE} with the correct port (normally 28566).
sudo iptables -A INPUT -p tcp -m tcp –dport {PORT HERE} -j ACCEPT
To persist the changes to a system reboot will vary from system to system.
Ubuntu: https://askubuntu.com/questions/119393/how-to-save-rules-of-the-iptables
Centos/REHL/Debian: https://www.thomas-krenn.com/en/wiki/Saving_Iptables_Firewall_Rules_Permanently
Other: Google it yourself.
Other Problems
If you have an issue and cannot get it resolved with the information above please contact us at bac-support [at] badlion [dot] net.
Hosting Companies such as MCProHosting, GGServers, CubedHost, etc
Unfortunately we do not provide direct support for these or any other hosting companies. You will need to find out how to do the following from your hosting company directly:
1) Download/Upload the tar folder or individual files onto your server(s)
2) Get port 28566 opened (assuming your Minecraft server is on port 25565, if not read more above in the Linux section)
3) Modify config file how you deem fit
4) Start your server and it should automatically become BAC enabled.
If you need help with steps #1-3 of the above, please contact your hosting company support. If you need help on #4 or something else with the plugin(s) not working, please contact our tech support at bac-support [at] badlion [dot] net.
General FAQ
How do I enforce BAC on certain servers?
BungeeCord Plugin
Use the bacRequiredServers option in the config.json file located in BadlionAntiCheat/ and add as many servers as you want to. An example configuration is below:
{
"badlionAuthHost": "anticheatproxy[.]badlion[.]net",
"badlionAuthPort": 3484,
"licenceKey": "LICENSEKEY",
"modsDisallowed": [],
"bacOnly": false,
"whitelistedPlayers": [],
"bacRequiredServers": ["pvp1", "factions2", "skywars3"]
}
Bukkit Plugin
Simply change the bacOnly option from false to true in the config.json file located in BadlionAntiCheat/
How can I program custom features using the BAC API?
Check out the API documentation here: https://github.com/BadlionClient/BACPluginAPI