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

  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Ok colon, i've got a sample set working. You'll be able to see it here. https://adkats.gamerethos.net/api/battlelog

 

eaguid and user_id are hidden from the view but those fields exist. You can filter the results with either the "game" and/or "eaguid" query pram.

 

For example

 

Game only: https://adkats.gamerethos.net/api/battlelog_game=bf4

EAGUID Only: https://adkats.gamerethos.net/api/ba...uid=EAGUIDHERE

Both: https://adkats.gamerethos.net/api/ba...uid=EAGUIDHERE

 

EDIT:

 

I've added another search pram. If you have an existing persona id you can use it like so. You can't use EAGUID and persona together, however, you can use game and persona together.

 

Valid response:

https://adkats.gamerethos.net/api/ba...sona=234243602

 

Invalid response (No entry exists):

https://adkats.gamerethos.net/api/ba...sona=234243604

Ok looks good. One question though, i put in a valid EA guid and it told me it was invalid. Does it say a GUID is invalid if it just isn't logged in your system yet?
Link to comment
  • Administrators

Originally Posted by Prophet731*:

 

Ok looks good. One question though, i put in a valid EA guid and it told me it was invalid. Does it say a GUID is invalid if it just isn't logged in your system yet?

Yes, if it says invalid then that means no entry exists. Also i'll be adding API authentication to it so it can show more sensitive information. I'll need to get with you on TS or something to figure out the best way to implement it.

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
  • Administrators

Originally Posted by Prophet731*:

 

@ColColonCleaner

 

Ok the creation is script is setup. The 4 fields required are eaguid, game, persona, and user_id. For game use either bf3, bf4, or bfh for the correct game. You'll send a POST request to the battlelog URL.

 

When an entry already exists it will return the result. The results will look like the below examples.

 

Already existing entry.

 

Code:

{
  "status": "success",
  "errors": [],
  "response": {
    "id": 557,
    "persona_id": 234243602,
    "gravatar": "1417d69fded724cb5a80b2f2053412c3",
    "playername": "Prophet731",
    "persona_banned": 0,
    "created_at": "2017-06-06 19:58:06",
    "updated_at": "2017-06-08 09:23:46",
    "link": "http://battlelog.battlefield.com/bf3/soldier/Prophet731/stats/234243602/pc/",
    "is_cached": false,
    "game": {
      "game_id": 1,
      "game_key": "BF3",
      "game_name": "Battlefield 3"
    }
  }
}
New entry.

 

Code:

{
  "status": "success",
  "errors": [],
  "response": {
    "persona_id": "234243602",
    "updated_at": "2017-06-08 09:31:29",
    "created_at": "2017-06-08 09:31:29",
    "id": 100352,
    "link": "http://battlelog.battlefield.com/bfh/soldier/NoNameGiven/stats/234243602/pc/",
    "is_cached": false,
    "game": {
      "game_id": 3,
      "game_key": "BFH",
      "game_name": "Battlefield Hardline"
    }
  }
}
The response you'll get if one of the validation rules fails.

 

Code:

{
  "status": "error",
  "errors": [
    "The selected game is invalid."
  ],
  "response": null
}

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
  • Administrators

Originally Posted by Prophet731*:

 

Please provide the post request data structure required.

The 4 fields required are eaguid, game, persona, and user_id. For game use either bf3, bf4, or bfh for the correct game.

Those are the field names.

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
  • Administrators

Originally Posted by Prophet731*:

 

That doesn't help me know the JSON payload structure you're expecting to be around them.

I'm confused? I'm not expecting any JSON from you. You've done form field POSTs before with the AdKats servers thing.

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
  • Administrators

Originally Posted by Prophet731*:

 

AdKats 6.9.0.0, method PostWeaponCodes, it's sending JSON. Is the format the same now as it was then?

I'm assuming yes, from what I can tell those are the post fields I set in that code. As long as you send that as a POST request, not a GET request then it should work.

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

Originally Posted by XaosBr*:

 

[22:57:32] 1Xaos > @hcwhitelist UNGIDOPORDEUS

[22:54:43] AdKats > Say > 1Xaos > Invalid duration given, unable to submit.

 

How do I solve this case?

 

I tried to add in SQL using the player id, I got this error.

id player: 18946

 

[07:41:41 77] [AdKats] ERROR-6900: [player_group entry 'whitelist_hackerchecker' for specialplayer_id 18946 is invalid.]

[07:46:41 91] [AdKats] ERROR-6900: [player_group entry 'whitelist_hackerchecker' for specialplayer_id 1 is invalid.]

[07:48:24 13] [AdKats] ERROR-6900: [player_group entry 'whitelist_hackerchecker' for specialplayer_id 1 is invalid.]

* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

[22:57:32] 1Xaos > @hcwhitelist UNGIDOPORDEUS

[22:54:43] AdKats > Say > 1Xaos > Invalid duration given, unable to submit.

 

How do I solve this case?

 

I tried to add in SQL using the player id, I got this error.

id player: 18946

 

[07:41:41 77] [AdKats] ERROR-6900: [player_group entry 'whitelist_hackerchecker' for specialplayer_id 18946 is invalid.]

[07:46:41 91] [AdKats] ERROR-6900: [player_group entry 'whitelist_hackerchecker' for specialplayer_id 1 is invalid.]

[07:48:24 13] [AdKats] ERROR-6900: [player_group entry 'whitelist_hackerchecker' for specialplayer_id 1 is invalid.]

Firstly, issue the command /pupdate, then reboot your procon layer.

 

All special-player commands require a duration, and a player name. You can see this in the plugin documentation.

 

/acwhitelist duration playername

 

It operates just like the temp-ban command for duration parsing. So you can do 2d meaning 2 days, or 3w for 3 weeks, etc. However, you can also use 'perm' to issue a permanent whitelist.

 

/acwhitelist perm playername

Link to comment

Originally Posted by XaosBr*:

 

Firstly, issue the command /pupdate, then reboot your procon layer.

 

All special-player commands require a duration, and a player name. You can see this in the plugin documentation.

 

/acwhitelist duration playername

 

It operates just like the temp-ban command for duration parsing. So you can do 2d meaning 2 days, or 3w for 3 weeks, etc. However, you can also use 'perm' to issue a permanent whitelist.

 

/acwhitelist perm playername

[12:08:05] AdKats > Say > 1Xaos > Offline player found.

[12:08:05] AdKats > Say > 1Xaos > Hacker-Checker Whitelist Player->(OFFLINE)UNGIDOPORDEUS for Permanent Hacker-Checker Whitelist?

[12:11:06] 1Xaos - {MISSING: global.conquest.cn} - Squad > @YES

[12:08:16] AdKats > Say > 1Xaos > Player (OFFLINE)UNGIDOPORDEUS given permanent hacker-checker whitelist for all servers.

 

 

[12:08:16 14] [AdKats] ERROR-6900: [Attempted to issue unban when ban enforcer is disabled.]

[12:08:16 14] [AdKats] ERROR-6900: [player_group entry 'whitelist_hackerchecker' for specialplayer_id 6 is invalid.]

[12:08:16 14] [AdKats] ERROR-6900: [player_group entry 'whitelist_hackerchecker' for specialplayer_id 7 is invalid.]

* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

[12:08:05] AdKats > Say > 1Xaos > Offline player found.

[12:08:05] AdKats > Say > 1Xaos > Hacker-Checker Whitelist Player->(OFFLINE)UNGIDOPORDEUS for Permanent Hacker-Checker Whitelist?

[12:11:06] 1Xaos - {MISSING: global.conquest.cn} - Squad > @YES

[12:08:16] AdKats > Say > 1Xaos > Player (OFFLINE)UNGIDOPORDEUS given permanent hacker-checker whitelist for all servers.

 

 

[12:08:16 14] [AdKats] ERROR-6900: [Attempted to issue unban when ban enforcer is disabled.]

[12:08:16 14] [AdKats] ERROR-6900: [player_group entry 'whitelist_hackerchecker' for specialplayer_id 6 is invalid.]

[12:08:16 14] [AdKats] ERROR-6900: [player_group entry 'whitelist_hackerchecker' for specialplayer_id 7 is invalid.]

You did not update your plugin. use /pupdate and reboot your layer.
Link to comment

Originally Posted by BitterLooter*:

 

I'm seeing this:

[14:22:13 07] [AdKats] ERROR-6900: [Failed to fetch plugin changelog.]

[14:22:13 07] [AdKats] ERROR-6900: [unable to fetch required documentation files. AdKats cannot be started.]

[14:22:14 17] [AdKats] ERROR-6900: [Failed to fetch plugin links.]

[14:22:14 37] [AdKats] ERROR-6900: [Failed to fetch plugin readme.]

A TCPDUMP on the server shows the requests being made, but the server is returning a 404 error file not found....

 

# wget "http://api.gamerethos.net/adkats/fetch/readme"

--2017-06-10 14:21:40-- http://api.gamerethos.net/adkats/fetch/readme

Resolving api.gamerethos.net (api.gamerethos.net)... 144.217.229.91

Connecting to api.gamerethos.net (api.gamerethos.net)|144.217.229.91|:80... connected.

HTTP request sent, awaiting response... 404 Not Found

2017-06-10 14:21:40 ERROR 404: Not Found.

* Restored post. It could be that the author is no longer active.
Link to comment
  • Administrators

Originally Posted by Prophet731*:

 

On June 3rd 11:59 PM (23:59) PST this URL will no longer work. That's used to serve non-https documents to adkats in case SSL fetch link doesn't work. On linux systems it always uses this link because for some reason the framework doesn't like it with SSL connections.

 

Code:

http://api.gamerethos.net/adkats/fetch
The new URL that replaces the above will be this instead.

 

Code:

http://adkats.gamerethos.net/api/fetch
See above.

 

I'm seeing this:

 

A TCPDUMP on the server shows the requests being made, but the server is returning a 404 error file not found....

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

Originally Posted by ColColonCleaner*:

 

I'm seeing this:

 

A TCPDUMP on the server shows the requests being made, but the server is returning a 404 error file not found....

Run /pupdate on your layer to update your plugin to the latest version. This is happening because you are running on a linux layer and can't connect to github via HTTPS.
Link to comment

Originally Posted by Hodor*:

 

@CCC

Downloaded for windows latest test version and after launching AdKats ~ 10 minutes can not boot, other plugins works :huh:

 

Code:

[18:08:15 82] [AdKats] SUCCESS: Fetched reputation definitions.
[18:08:16 41] [AdKats] SUCCESS: Fetched weapon names.
[18:08:16 96] [AdKats] SUCCESS: Fetched special player group definitions.
[18:08:17 02] [AdKats] ERROR-690153: [Unable to confirm global timing. Global UTC Timestamp could not be fetched.]
[18:08:17 02] [AdKats] SUCCESS: Server IP is 94.250.1xx.xx:xxx00
[18:08:17 15] [AdKats] SUCCESS: Database connection open.
[18:08:17 65] [AdKats] INFO: Special player effective not found. Attempting to add.
UPD:

Solved! When I disabled AdKats on Linux (My MySQL on Linux and Procon Windows G-Portal connects to it).

The fact is that yesterday - today AdKats on Linux began to behave strangely (Procon lagged sooooo hard, but Mono showed in the TOP worked)

Using this version myrcon.net/...advanced-in-game-admin-and-ban-enforcer-adkats#entry42378

A few days ago I changed mode for the #1 server to official (#1 server on linux) and disabled features in AdKats that are not available in official mode. Maybe because of this AdKats began to work strange.

 

I will monitor the Linux Procon without enabled AdKats.

 

UPD2:

I noticed that there is no more space on SSD Linux. Maybe the problem is this ....

 

UPD3:

The problem was in the free space on the SSD. I am so sorry @CCC :sad:

Fixed by added this command expire_logs_days = 2 in my.cfg under [mysqld]

* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

@CCC

Downloaded for windows latest test version and after launching AdKats ~ 10 minutes can not boot, other plugins works :huh:

 

Code:

[18:08:15 82] [AdKats] SUCCESS: Fetched reputation definitions.
[18:08:16 41] [AdKats] SUCCESS: Fetched weapon names.
[18:08:16 96] [AdKats] SUCCESS: Fetched special player group definitions.
[18:08:17 02] [AdKats] ERROR-690153: [Unable to confirm global timing. Global UTC Timestamp could not be fetched.]
[18:08:17 02] [AdKats] SUCCESS: Server IP is 94.250.1xx.xx:xxx00
[18:08:17 15] [AdKats] SUCCESS: Database connection open.
[18:08:17 65] [AdKats] INFO: Special player effective not found. Attempting to add.
UPD:

Solved! When I disabled AdKats on Linux (My MySQL on Linux and Procon Windows G-Portal connects to it).

The fact is that yesterday - today AdKats on Linux began to behave strangely (Procon lagged sooooo hard, but Mono showed in the TOP worked)

Using this version myrcon.net/...advanced-in-game-admin-and-ban-enforcer-adkats#entry42378

A few days ago I changed mode for the #1 server to official (#1 server on linux) and disabled features in AdKats that are not available in official mode. Maybe because of this AdKats began to work strange.

 

I will monitor the Linux Procon without enabled AdKats.

 

UPD2:

I noticed that there is no more space on SSD Linux. Maybe the problem is this ....

 

UPD3:

The problem was in the free space on the SSD. I am so sorry @CCC :sad:

Fixed by added this command expire_logs_days = 2 in my.cfg under [mysqld]

Alright Hodor, glad the issue was found and you're stable on the latest version.
Link to comment
  • 2 weeks later...
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Some people have noticed issues with stability around player listing and I'm working to make sure it isn't directly caused by AdKats, or fix the problem if it is. I've updated the test version of AdKats (6.9.0.155+) to have logging of player listing triggers, receives, accepts, and successful processing. Triggers are how often the plugin requests a player list manually, receives are how often the plugin is receiving a player list from procon, accepts are how often the plugin accepts a new player list, and processes are how often the plugin completes processing an inbound player list.

 

You will see debug messages in the plugin console if you enable the player listing debug. This is enabled and disabled by entering 7621 into the debug level setting. This setting is not persisted to the database, and will reset to disabled when the layer is rebooted.

 

Currently AdKats is looking to process a player list every 5 seconds, or about 12 player lists per minute. If you see a higher value for receives than 12-15 (after the plugin has been online for 5 minutes or so, player lists can be more often on startup) it could mean the plugin isn't managing trigger firing properly.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

In 6.9.0.159 I've added an all-caps chat limiter. There are settings for percentage of the message to be considered all caps, and warning/kill/kick limits for it. The percentage setting can be changed between 50% and 100%. These settings are in section A12. It automatically ignores commands, ignores hidden messages, and ignores squad chat.

 

There are also settings to only make it affect certain people, so if you have one player who is chronically talking in all caps but you don't want to affect everyone else in the server, just enable only enforcing specific people and use the special player command to assign them the group. These commands are /allcapsblacklist and /unallcapsblacklist, using the same parameters as all the other special player group commands.

 

EDIT: Updated some things.

Link to comment

Originally Posted by SmackDown*:

 

In 6.9.0.159 I've added an all-caps chat limiter. There are settings for percentage of the message to be considered all caps, and warning/kill/kick limits for it. It automatically ignores commands, and ignores hidden messages. The percentage setting can be changed between 50% and 100%. These settings are in section A12.

Great feature!

 

When do think some of the experiments items will be released. I am very interested in the grenade feature.

* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Great feature!

 

When do think some of the experiments items will be released. I am very interested in the grenade feature.

Hopefully have a chance to take a look at that soon. This recent feature was added out of necessity but I made it useful for everyone while developing it.
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.