Jump to content

Advanced In-Game Admin and Ban Enforcer - AdKats


Message added by Prophet731,

If you've been banned from a server then you will need to appeal the ban with the owners/community of that server. We do not control any bans done on servers that utilize AdKats as all bans are local to that server.

Recommended Posts

Posting off topic here, sorry. I just had a problem with my provider, they have reset my server and I have trouble to get it running again. The GUID has changed and I had some work getting the plugins running, but somehow the stats are reset as well. The plugins are connecting to the database fine, AdKats seems to work ok with all bans in place and the tables are OK. But the logger plugin just seems to have 'forgotten' the stats as it may appear as a new server to it...

Any suggestion how to restore my old stats into my 'new' server? I cannot find any reference of the server GUID in the tables so I am a bit lost here... Thanks for advice from anyone

Link to comment
  • Plugin Developer

Posting off topic here, sorry. I just had a problem with my provider, they have reset my server and I have trouble to get it running again. The GUID has changed and I had some work getting the plugins running, but somehow the stats are reset as well. The plugins are connecting to the database fine, AdKats seems to work ok with all bans in place and the tables are OK. But the logger plugin just seems to have 'forgotten' the stats as it may appear as a new server to it...

Any suggestion how to restore my old stats into my 'new' server? I cannot find any reference of the server GUID in the tables so I am a bit lost here... Thanks for advice from anyone

 

Shut down your layers.

Open your database and go to the tbl_server table.

Note your "new" and "old" servers both there.

Save the IP/port of your "new" server somewhere.

Delete the "new" server record.

Replace the IP on your "old" server with the new IP/port.

Start your layers.

Link to comment
  • Plugin Developer

My !switchme is not working for admins/VIPs.

 

!assist puts us in a que verses instant move?

 

Did you rename the !moveme command to !switchme? Or are you using a different plugin for this?

 

Yes !assist will put you in a queue, just like !fmove and !move will. You cannot move someone to a full team so it waits until a slot is open.

Link to comment

Nope, I didn't rename anything. I was told to use !switchme ... I'll try !moveme (which I read is for admins only) That's good.

 

The !assist on other servers lets you move instantly to the losing team, even though they have more/less players.

 

Last night it was 7 vs 5 ... tried to use !assist to help the team with lesser players and it put me in a queue saying when a spot opens. They had 2 spots available? 

Link to comment
  • Plugin Developer

Nope, I didn't rename anything. I was told to use !switchme ... I'll try !moveme (which I read is for admins only) That's good.

 

The !assist on other servers lets you move instantly to the losing team, even though they have more/less players.

 

Last night it was 7 vs 5 ... tried to use !assist to help the team with lesser players and it put me in a queue saying when a spot opens. They had 2 spots available? 

 

 

Also, this teamswap setting ... high is set to 500000 and low is set to 0?

 

I think these plugins are aimed for servers running 64 players. We're running 32. I am so lost with these settings. I have Discord if someone can help me out?

 

In AdKats you can make any command available to any group of people. Some people might just have it set so moveme is only an admin usable command.

You can ignore the teamswap window stuff, the default settings there disables any restrictions.

AdKats works with any number of slots, as do most plugins.

 

Please look over the AdKats setup documentation which explains the settings and how to set up users with their permissions.

 

How do you want VIP stuff to work? Because how you want that to work will dictate how the settings should be set up.

Link to comment
  • Plugin Developer

Auto balance Whitelist

Reserved Slot

High Ping Whitelist - Up to 250 ping

VIP Kick Whitelist - No more being kicked when an admin or VIP joins

 

There isn't a way to do a partial ping whitelist, where they are whitelisted unless they go above an even higher value. It's either whitelisted or not whitelisted.

 

The others are doable, but i was more asking how you want to manage it. If you're alright managing it via a VIP role in AdKats, that's perfect. You can set durations there and they will automatically expire over time if that's what you want. Just make a role called VIP and add your VIPs to it, turn on feeding reserved slots/whitelists in the orchestration setting section and you'll be good.

 

Autobalance whitelist for VIPs doesn't mean giving them the moveme command, there is an option in the role group settings (setting section 4-2) to give a role autobalance whitelist. Then you just need to turn on feeding whitelist to multibalancer in the orchestration setting section (assuming you're using multibalancer).

Link to comment
  • Plugin Developer

Somehow settings are locked and it’s asking me for a AdKats password??

 

As sixpax said, someone set the password.

If you don't know the password, shut down your layers, go to the adkats.cfg file on your layer and remove the password line (or change it to what you want it to be), then start up your layers again.

Link to comment

CCC first of all: I cannot thank you enough for the amazing work you have done for our community. AdKats adds a whole dimension to the adminstration of my BF4 and your incessant support for it is invaluable. Please run for office.

 

Of course, I have an issue again now. As I might want to migrate my database to another provider, I could use some advice here (I am an SQL newbie). I read in the old forum there were some issues with the design but was unable to locate a conclusion on the issues. If I shutdown the layer, use MySQL workbench to export the database into a self contained file, including create schema and restore it to my local SQL server, the content seems OK? Would this method be sufficient to migrate everything to another server? Your considerations are highly appreciated.

Link to comment
  • Plugin Developer

CCC first of all: I cannot thank you enough for the amazing work you have done for our community. AdKats adds a whole dimension to the adminstration of my BF4 and your incessant support for it is invaluable. Please run for office.

 

Of course, I have an issue again now. As I might want to migrate my database to another provider, I could use some advice here (I am an SQL newbie). I read in the old forum there were some issues with the design but was unable to locate a conclusion on the issues. If I shutdown the layer, use MySQL workbench to export the database into a self contained file, including create schema and restore it to my local SQL server, the content seems OK? Would this method be sufficient to migrate everything to another server? Your considerations are highly appreciated.

 

The only issues you should run into are around infraction points. If the backup is basically a bunch of insert statements you're going to have double the infraction/forgive points on people because of how i calculate that table. There are triggers on the main records table that automatically updates the infraction points table when punishments/forgives are added/removed.

So basically do the backup/restore and check the values in that infractions table between databases. If they look the same then you're golden.

Link to comment

As sixpax said, someone set the password.

If you don't know the password, shut down your layers, go to the adkats.cfg file on your layer and remove the password line (or change it to what you want it to be), then start up your layers again.

 

I found the password in the config file. Thanks, Col! Awesome plugin as always. Everything is running smoothly alogn with the balancer. All night server was balanced and did great! Thanks!

Link to comment
  • Administrators

The only issues you should run into are around infraction points. If the backup is basically a bunch of insert statements you're going to have double the infraction/forgive points on people because of how i calculate that table. There are triggers on the main records table that automatically updates the infraction points table when punishments/forgives are added/removed.

So basically do the backup/restore and check the values in that infractions table between databases. If they look the same then you're golden.

 

If I remember correctly, if you dump the database with export triggers and such, it will add those at the end of the script so it wouldn't run. I'm not 100% sure though. I know i've done it quite a few times and the infraction points always seem to be correct.

The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

spacer.png

Link to comment
  • Plugin Developer

If I remember correctly, if you dump the database with export triggers and such, it will add those at the end of the script so it wouldn't run. I'm not 100% sure though. I know i've done it quite a few times and the infraction points always seem to be correct.

 

Maybe the export process has been improved over the years. Several people, ADK included ran into issues with that.

Link to comment
  • Administrators

Maybe the export process has been improved over the years. Several people, ADK included ran into issues with that.

 

I would have to look around for my SQL dump I had from ADK. It's somewhere on my hard drives lol

The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

spacer.png

Link to comment
  • 2 weeks later...

I don't have any debug info, but I am trying to find out why a player can't join. I see him being kicked: AdKats > Say > Enforcing permanent ban on PLAYERNAME for ban reason. The ban reason I recognize as my own (not very flattering). Yet when I display this playername or any substring in section A13-3 ban search nothing comes up (no players matching substring have active bans). /unban playername is of no effect, and there's no ban for him left in Procon either (I let AdKats feed almost everything). How can I find out where this ban is listed and how to get rid of it? This player should never have been banned in the first place. Thanks for your help!

Link to comment
  • Plugin Developer

I don't have any debug info, but I am trying to find out why a player can't join. I see him being kicked: AdKats > Say > Enforcing permanent ban on PLAYERNAME for ban reason. The ban reason I recognize as my own (not very flattering). Yet when I display this playername or any substring in section A13-3 ban search nothing comes up (no players matching substring have active bans). /unban playername is of no effect, and there's no ban for him left in Procon either (I let AdKats feed almost everything). How can I find out where this ban is listed and how to get rid of it? This player should never have been banned in the first place. Thanks for your help!

 

Someone with the same IP as him is banned from your server.

If you aren't running the BFAdminCP you'll need to check your database. Look for that ban message in your adkats_records_main table. You'll see target_id on that record. The player in tbl_playerdata with that ID is the banned player.

If you don't want to go through this hassle again you can turn off default enforcement by IP in the ban settings then new bans won't be enforced by IP. I don't have a master switch to turn it off for all bans in the settings but you can execute a query on the database to do that.

update adkats_bans set ban_enforceIP = 'N' where 1=1
Edited by Prophet731
Put SQL query in code block
Link to comment

Hey CCC looks like you have some understanding of how the system works.... Found the guy by IP address. Yes, they use the same IP. Your method gives me every enforcer action and also the name of the linked account. Nice. My main man told me some providers in Russia sell cheap internet access with shared WAN IP's for multiple customers... The banned player is a sniper/assault player with suspicious HS, a smurf account that has not played for 5 years until two weeks ago. Plays a lot of different maps. My trusted (but banned) player plays Silk Road map exclusively as engineer in LAV. Looks like they are different players to me.

 

I ban on IP as well as on EA_GUID and Soldiername... Maybe overkill but I thought it might prevent cheaters from returning with another account on the same IP Address. So, you would advice me not to ban on IP address?

And the SQL update is different from A13-2 Enforce New Bans by IP = False HOW? It is now set to true. Isn't that your master switch? THANK you for helping out!

Link to comment
  • Administrators

Hey CCC looks like you have some understanding of how the system works.... Found the guy by IP address. Yes, they use the same IP. Your method gives me every enforcer action and also the name of the linked account. Nice. My main man told me some providers in Russia sell cheap internet access with shared WAN IP's for multiple customers... The banned player is a sniper/assault player with suspicious HS, a smurf account that has not played for 5 years until two weeks ago. Plays a lot of different maps. My trusted (but banned) player plays Silk Road map exclusively as engineer in LAV. Looks like they are different players to me.

 

I ban on IP as well as on EA_GUID and Soldiername... Maybe overkill but I thought it might prevent cheaters from returning with another account on the same IP Address. So, you would advice me not to ban on IP address?

And the SQL update is different from A13-2 Enforce New Bans by IP = False HOW? It is now set to true. Isn't that your master switch? THANK you for helping out!

 

He wrote it lol

The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

spacer.png

Link to comment
  • Plugin Developer

Hey CCC looks like you have some understanding of how the system works.... Found the guy by IP address. Yes, they use the same IP. Your method gives me every enforcer action and also the name of the linked account. Nice. My main man told me some providers in Russia sell cheap internet access with shared WAN IP's for multiple customers... The banned player is a sniper/assault player with suspicious HS, a smurf account that has not played for 5 years until two weeks ago. Plays a lot of different maps. My trusted (but banned) player plays Silk Road map exclusively as engineer in LAV. Looks like they are different players to me.

 

I ban on IP as well as on EA_GUID and Soldiername... Maybe overkill but I thought it might prevent cheaters from returning with another account on the same IP Address. So, you would advice me not to ban on IP address?

And the SQL update is different from A13-2 Enforce New Bans by IP = False HOW? It is now set to true. Isn't that your master switch? THANK you for helping out!

 

As prophet said, i wrote AdKats myself. Started in 2013.

 

That 'master switch' only applies to new bans. When a ban is created you decide at that point whether it should be enforced by any/all of the 3 metrics. Turning that off won't affect existing bans already in the system. This makes more sense when using the BFACP because then you can decide the enforcement for every new ban, whereas inside the plugin it just has defaults that apply to every new ban without you being able to change it from in-game. You can also edit bans on the BFACP to remove IP enforcement from an existing ban without needing to mess with the database.

Link to comment

As prophet said, i wrote AdKats myself. Started in 2013.

 

That 'master switch' only applies to new bans. When a ban is created you decide at that point whether it should be enforced by any/all of the 3 metrics. Turning that off won't affect existing bans already in the system. This makes more sense when using the BFACP because then you can decided the enforcement for every new ban, whereas inside the plugin it just has defaults that apply to every new ban. You can also edit bans on the BFACP to remove IP enforcement from an existing ban without needing to mess with the database.

 

Haha CCC I am well aware that you are the author of this masterpiece, sir. I was ironic. It is clear now what the difference is and what happened exactly. Unfortunately, I cannot get BFACP to work as my provider will not allow external access to the DB or RCON and does not provide web hosting either. I will treat this as an incident and want to keep my IP bans enforced so I unbanned the cheater, turned off Ban by IP and banned him again. Works too?

Link to comment
  • Plugin Developer

Haha CCC I am well aware that you are the author of this masterpiece, sir. I was ironic. It is clear now what the difference is and what happened exactly. Unfortunately, I cannot get BFACP to work as my provider will not allow external access to the DB and does not provide web hosting either. I will treat this as an incident and want to keep my IP bans enforced so I unbanned the cheater, turned off Ban by IP and banned him again. Works too?

 

Yeah that trick should work great. Hopefully this isn't something you run into too often.

Link to comment
  • Administrators

Haha CCC I am well aware that you are the author of this masterpiece, sir. I was ironic. It is clear now what the difference is and what happened exactly. Unfortunately, I cannot get BFACP to work as my provider will not allow external access to the DB or RCON and does not provide web hosting either. I will treat this as an incident and want to keep my IP bans enforced so I unbanned the cheater, turned off Ban by IP and banned him again. Works too?

 

I've thought about offering BFACP hosting in the past for those that couldn't run it or their providers refused to do what you just said. Obviously a cost would be involved with that type of thing thought.

The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

spacer.png

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Our picks

    • Game Server Hosting:

      We're happy to announce that EZRCON will branch out into the game server provider scene. This is a big step for us so please having patience if something doesn't go right in this area. Now, what makes us different compared to other providers? Well, we're going with the idea of having a scaleable server hosting and providing more control in how you set up your server. For example, in Minecraft, you have the ability to control how many CPU cores you wish your server to have access to, how much RAM you want to use, how much disk space you want to use. This type of control can't be offered in a single service package so you're able to configure a custom package the way you want it.

      You can see all the available games here. Currently, we have the following games available.

      Valheim (From $1.50 USD)


      Rust (From $3.20 USD)


      Minecraft (Basic) (From $4.00 USD)


      Call of Duty 4X (From $7.00 USD)


      OpenTTD (From $4.00 USD)


      Squad (From $9.00 USD)


      Insurgency: Sandstorm (From $6.40 USD)


      Changes to US-East:

      Starting in January 2022, we will be moving to a different provider that has better support, better infrastructure, and better connectivity. We've noticed that the connection/routes to this location are not ideal and it's been hard getting support to correct this. Our contract for our two servers ends in March/April respectively. If you currently have servers in this location you will be migrated over to the new provider. We'll have more details when the time comes closer to January. The new location for this change will be based out of Atlanta, GA. If you have any questions/concerns please open a ticket and we'll do our best to answer them.
      • 5 replies
    • Hello All,

      I wanted to give an update to how EZRCON is doing. As of today we have 56 active customers using the services offered. I'm glad its doing so well and it hasn't been 1 year yet. To those that have services with EZRCON, I hope the service is doing well and if not please let us know so that we can improve it where possible. We've done quite a few changes behind the scenes to improve the performance hopefully. 

      We'll be launching a new location for hosting procon layers in either Los Angeles, USA or Chicago, IL. Still being decided on where the placement should be but these two locations are not set in stone yet. We would like to get feedback on where we should have a new location for hosting the Procon Layers, which you can do by replying to this topic. A poll will be created where people can vote on which location they would like to see.

      We're also looking for some suggestions on what else you would like to see for hosting provider options. So please let us know your thoughts on this matter.
      • 4 replies
    • Added ability to disable the new API check for player country info


      Updated GeoIP database file


      Removed usage sending stats


      Added EZRCON ad banner



      If you are upgrading then you may need to add these two lines to your existing installation in the file procon.cfg. To enable these options just change False to True.

      procon.private.options.UseGeoIpFileOnly False
      procon.private.options.BlockRssFeedNews False



       
      • 2 replies
    • I wanted I let you know that I am starting to build out the foundation for the hosting services that I talked about here. The pricing model I was originally going for wasn't going to be suitable for how I want to build it. So instead I decided to offer each service as it's own product instead of a package deal. In the future, hopefully, I will be able to do this and offer discounts to those that choose it.

      Here is how the pricing is laid out for each service as well as information about each. This is as of 7/12/2020.

      Single MySQL database (up to 30 GB) is $10 USD per month.



      If you go over the 30 GB usage for the database then each additional gigabyte is charged at $0.10 USD each billing cycle. If you're under 30GB you don't need to worry about this.


      Databases are replicated across 3 zones (regions) for redundancy. One (1) on the east coast of the USA, One (1) in Frankfurt, and One (1) in Singapore. Depending on the demand, this would grow to more regions.


      Databases will also be backed up daily and retained for 7 days.




      Procon Layer will be $2 USD per month.


      Each layer will only allow one (1) game server connection. The reason behind this is for performance.


      Each layer will also come with all available plugins installed by default. This is to help facilitate faster deployments and get you up and running quickly.


      Each layer will automatically restart if Procon crashes. 


      Each layer will also automatically restart daily at midnight to make sure it stays in tip-top shape.


      Custom plugins can be installed by submitting a support ticket.




      Battlefield Admin Control Panel (BFACP) will be $5 USD per month


      As I am still working on building version 3 of the software, I will be installing the last version I did. Once I complete version 3 it will automatically be upgraded for you.





      All these services will be managed by me so you don't have to worry about the technical side of things to get up and going.

      If you would like to see how much it would cost for the services, I made a calculator that you can use. It can be found here https://ezrcon.com/calculator.html

       
      • 11 replies
    • I have pushed out a new minor release which updates the geodata pull (flags in the playerlisting). This should be way more accurate now. As always, please let me know if any problems show up.

       
      • 9 replies
×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.