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

Originally Posted by sixpax12*:

 

Getting a thousand or so of these daily ...

 

PHP Parse error: syntax error, unexpected end of file in /home/www/app/Libraries/AntiCheat.php on line 135

 

This is calling github for weapons stats for adkats but it is part of the laravel package for bfacp ...

 

Here is the end of the script:

 

Code:

/**
     * Fetches the weapon damages from GitHub and caches it for 24 hours (1 day).
     *
     * @return mixed
     */
    private function fetchWeaponDamages()
    {
        $this->weapons = Cache::remember('acs.weapons', 60 * 24, function () {
            try {
                $request = $this->guzzle->get('https://raw.githubusercontent.com/AdKats/AdKats/master/adkatsblweaponstats.json');
            } catch (\Exception $e) {
                $request = $this->guzzle->get('http://api.gamerethos.net/adkats/fetch/weapons');
            }

            return json_decode($request->getBody(), true);
Syntax says expecting a "," or ")" but neither of those stop the error ...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by sixpax12*:

 

Why is a BFACP question in this Adkats plugin thread?

Prophet is not very active here anymore ...

 

ColColonCleaner is pretty active here ...

 

The script is referencing an adkats github.

 

Not sure what the big deal is ... not like there are thousands of peeps here posting daily. :P

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

Originally Posted by keb2*:

 

Can you see these players in the procon players tab?

yes i see them on this tab

 

 

and soon new messages appeared

[18:07:15 31] [AdKats] WARNING: Ahmed_AJ spawned without being in player list.

[18:07:16 01] [AdKats] WARNING: nikhilxx18 spawned without being in player list.

[18:07:31 01] [AdKats] SUCCESS: Missing player Ahmed_AJ finally loaded.

[18:07:31 03] [AdKats] SUCCESS: Missing player nikhilxx18 finally loaded.

but they played on the server at least 10 minutes before the message

 

maybe this is affected by the server load where Procon and the database are installed?

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

Originally Posted by ty_ger07*:

 

Prophet is not very active here anymore ...

 

ColColonCleaner is pretty active here ...

 

The script is referencing an adkats github.

 

Not sure what the big deal is ... not like there are thousands of peeps here posting daily. :P

Maybe this will help:

 

myrcon.net/...battlefield-admin-control-panel-for-adkats#entry52558

 

By posting in the incorrect section, you give Prophet no chance to notice or help and that isn't fair to him as the creator.

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

Originally Posted by ColColonCleaner*:

 

Why is this happening? How to make the warnings disappear?

When a player is spawned in without being in the player list that means they cannot be acted on by commands. Is it only these two players that are causing issues?
Link to comment

Originally Posted by keb2*:

 

When a player is spawned in without being in the player list that means they cannot be acted on by commands. Is it only these two players that are causing issues?

no.I gave an example.many such messages about different players.what may cause these messages?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Checka_Wiemi*:

 

Hey guys,

 

I got a huge problem on my mySQL database. My hoster wrote me the x.th time that my database is causing lot of traffic.

For expample they said that the following query is causing trouble:

 

-------%

SELECT

`tbl_playerdata`.`PlayerID` as `player_id`,

`tbl_playerdata`.`SoldierName` as `player_name`,

`tbl_playerdata`.`EAGUID` as `player_guid`,

`tbl_playerdata`.`PBGUID` as `player_pbguid`,

`tbl_playerdata`.`IP_Address` as `player_ip`,

`tbl_playerdata`.`DiscordID` as `player_discord_id`,

`tbl_playerdata`.`ClanTag` as `player_clantag`,

`adkats_battlecries`.`player_battlecry`,

`adkats_battlelog_players`.`persona_id` as `player_personaID`,

`adkats_battlelog_players`.`user_id` as `player_userID`,`GameID` as `game_id` FROM `jahbf3db`.`tbl_playerdata`

LEFT JOIN `adkats_battlecries`

ON `tbl_playerdata`.`PlayerID` = `adkats_battlecries`.`player_id`

LEFT JOIN `adkats_battlelog_players`

ON `tbl_playerdata`.`PlayerID` = `adkats_battlelog_players`.`player_id` WHERE ( `DiscordID` = '182830000000000000' ) AND `GameID` = 1

LIMIT 1

-------%

(changed the DiscordID already!)

 

Is there any chance to reduce this? And no I don't want to deactivate those settings like discord in AdKats ;-)

 

 

And my second problem:

 

"AdKats > Say > Playerxyz > You have been assigned the authorized role Default Guest."

 

this is constantly in my chat and I don't know why because this player isn't default guest. he got another role and I don't know what's the problem. Maybe someone knows why?

 

 

Kind regards

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

Originally Posted by ColColonCleaner*:

 

Hey guys,

 

I got a huge problem on my mySQL database. My hoster wrote me the x.th time that my database is causing lot of traffic.

For expample they said that the following query is causing trouble:

 

-------%

SELECT

`tbl_playerdata`.`PlayerID` as `player_id`,

`tbl_playerdata`.`SoldierName` as `player_name`,

`tbl_playerdata`.`EAGUID` as `player_guid`,

`tbl_playerdata`.`PBGUID` as `player_pbguid`,

`tbl_playerdata`.`IP_Address` as `player_ip`,

`tbl_playerdata`.`DiscordID` as `player_discord_id`,

`tbl_playerdata`.`ClanTag` as `player_clantag`,

`adkats_battlecries`.`player_battlecry`,

`adkats_battlelog_players`.`persona_id` as `player_personaID`,

`adkats_battlelog_players`.`user_id` as `player_userID`,`GameID` as `game_id` FROM `jahbf3db`.`tbl_playerdata`

LEFT JOIN `adkats_battlecries`

ON `tbl_playerdata`.`PlayerID` = `adkats_battlecries`.`player_id`

LEFT JOIN `adkats_battlelog_players`

ON `tbl_playerdata`.`PlayerID` = `adkats_battlelog_players`.`player_id` WHERE ( `DiscordID` = '182830000000000000' ) AND `GameID` = 1

LIMIT 1

-------%

(changed the DiscordID already!)

 

Is there any chance to reduce this? And no I don't want to deactivate those settings like discord in AdKats ;-)

 

 

And my second problem:

 

"AdKats > Say > Playerxyz > You have been assigned the authorized role Default Guest."

 

this is constantly in my chat and I don't know why because this player isn't default guest. he got another role and I don't know what's the problem. Maybe someone knows why?

 

 

Kind regards

That's the player loading query.

 

Is it always the discord-specific one that they report is happening "too often"? How often are your layers rebooting? How many layers do you have connected to the same database?

 

There is a heavy up-front cost loading players into AdKats, but after that it should be quite low. Once a discord ID is checked against the database it's not checked again unless something changes, so that cost should be low overall as well, just a large cost up front.

Link to comment

Originally Posted by yulinyuzhu*:

 

Another question is that, how to add VIPs if I turn on Feed Reserved slot lists? I tried straightly add them in procon but deleted by adk. Also I dont want vips added to other servers which are adk-on and using the same database.

Thank you

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

Originally Posted by xloneshadowx*:

 

Why default guests can't spectate my server while I don't turn on Feed spectator? How to fix it?

That might be on your procon layer under server settings config. make sure the box public spectators is checked
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by xloneshadowx*:

 

Another question is that, how to add VIPs if I turn on Feed Reserved slot lists? I tried straightly add them in procon but deleted by adk. Also I dont want vips added to other servers which are adk-on and using the same database.

Thank you

In the latest updated Adkats version, he made it possible for adkats to work with the plugin VIP Slot Manager that might be something you want to check out works great
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Why default guests can't spectate my server while I don't turn on Feed spectator? How to fix it?

Look in section 4-2 for anything that's causing a verbose spectator slot. The spectator slot list must be empty for everyone to be allowed in. If anyone is in the spectator slot list then only those people are allowed. Once you empty the list in AdKats then everyone is allowed.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Another question is that, how to add VIPs if I turn on Feed Reserved slot lists? I tried straightly add them in procon but deleted by adk. Also I dont want vips added to other servers which are adk-on and using the same database.

Thank you

Reserved slots through AdKats are automatically added across all servers. I would suggest using another plugin for reserved slot management if you don't want that to happen. I haven't made a setting for it yet.
Link to comment

Originally Posted by Checka_Wiemi*:

 

That's the player loading query.

 

Is it always the discord-specific one that they report is happening "too often"? How often are your layers rebooting? How many layers do you have connected to the same database?

 

There is a heavy up-front cost loading players into AdKats, but after that it should be quite low. Once a discord ID is checked against the database it's not checked again unless something changes, so that cost should be low overall as well, just a large cost up front.

7 servers and 7 layers are connected to my database at the moment.

They are rebooting every 20h if the server is empty (sometimes it isn't rebooting for some days because the server is running).

 

 

And to specify my second problem with "AdKats > Say > Playerxyz > You have been assigned the authorized role Default Guest." -> it is always the same player that appears in chat and I just deleted this one in AdKats but there are still this entries o.O

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

Originally Posted by ColColonCleaner*:

 

7 servers and 7 layers are connected to my database at the moment.

They are rebooting every 20h if the server is empty (sometimes it isn't rebooting for some days because the server is running).

 

 

And to specify my second problem with "AdKats > Say > Playerxyz > You have been assigned the authorized role Default Guest." -> it is always the same player that appears in chat and I just deleted this one in AdKats but there are still this entries o.O

Check your adkats user list, see if someone has this player assigned to them there with the 'default guest' role.
Link to comment

Originally Posted by Checka_Wiemi*:

 

Check your adkats user list, see if someone has this player assigned to them there with the 'default guest' role.

Damn, you're totally right. Had no thought on that point. But that was the problem. Thanks for your help!
* Restored post. It could be that the author is no longer active.
Link to comment
  • Administrators

Originally Posted by Prophet731*:

 

Getting a thousand or so of these daily ...

 

PHP Parse error: syntax error, unexpected end of file in /home/www/app/Libraries/AntiCheat.php on line 135

 

This is calling github for weapons stats for adkats but it is part of the laravel package for bfacp ...

 

Here is the end of the script:

 

Code:

/**
     * Fetches the weapon damages from GitHub and caches it for 24 hours (1 day).
     *
     * @return mixed
     */
    private function fetchWeaponDamages()
    {
        $this->weapons = Cache::remember('acs.weapons', 60 * 24, function () {
            try {
                $request = $this->guzzle->get('https://raw.githubusercontent.com/AdKats/AdKats/master/adkatsblweaponstats.json');
            } catch (\Exception $e) {
                $request = $this->guzzle->get('http://api.gamerethos.net/adkats/fetch/weapons');
            }

            return json_decode($request->getBody(), true);
Syntax says expecting a "," or ")" but neither of those stop the error ...

Why is a BFACP question in this Adkats plugin thread?

Prophet is not very active here anymore ...

 

ColColonCleaner is pretty active here ...

 

The script is referencing an adkats github.

 

Not sure what the big deal is ... not like there are thousands of peeps here posting daily. :P

See myrcon.net/...battlefield-admin-control-panel-for-adkats#entry52560

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 leibhold*:

 

They be having issues with both Adkats and inserting images here

 

 

) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='AdKats - Connection of groups to roles'

[20:21:03 42] [AdKats] ERROR- 7500: [Non-Query failed. [Adding AdKats role groups table]: MySql.Data.MySqiClient. MySqlException: Cannot add foreign key constraint

bei PRoConEvents.AdKats.SafeExecuteNonQuery(MySqiComma nd command)

bei PRoConEvents.AdKats.SendNonQuery(String desc, String nonQuery, Boolean verbose)]

[20:21:03 42] [AdKats}] ALTER TABLE adkats_settings MODIFY setting_value varchar(10000)

[20:21:03 42] [AdKats} ERROR-7500: [AdKats tables not present or valid in the database. Have you run the AdKats database setup script yet? If so, are your tables InnoDB_]

[20:21:03 42] [AdKats] INFO: Shutting down AdKats.

[20:21:03 45] [AdKats] WAB'4i'1'5: Database timing confirmed, but there is a 3m30s UTC timestamp mismatch between your layer and database.

[20:21:08 61] [AdKats] AdKats 7.5.0.0 Disabled! =(

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

Advanced In-Game Admin and Ban Enforcer - AdKats


ADKATS 7.6.1.2 RELEASED!

Admin Toolset with a plethora of features, over 100 available in-game commands, and many customization options. AdKats focuses on making in-game admins more efficient and accurate at their jobs, with flexibility for almost any setup. Includes a cross-server ban enforcer with advanced enforcement features, global admin management, cross-server player messaging, and the BFAdminCP 2.0+ for web-based control has been released. Designed for groups with high-traffic servers and many admins, but will function just as well for small servers.

REQUIREMENTS: 
This plugin requires a MySQL database, and XpKiller's Stat logger plugin to operate. If you do not have an existing database and/or a Procon layer we suggest using Branzone's hosting services. Our group has been with them for years across BF3, BF4, and Hardline; the most performant and reliable host we've found.
BFACP/Database/Procon Layer Hosting: 
Portal Home - EZRCON

 

FEATURES

  • Extensive In-Game Commands. Commands for player killing, kicking, punishing, banning, unbanning, moving, joining, whitelisting, messaging, etc, etc... ~100 available in-game commands. Commands can be accessed from in-game, Procon's chat window, database, and from other plugins.
  • Customizable User Roles. Custom user roles can be created for admins and players, with each role given access to only the commands you want them to use. Default guest role is given to all players and can be edited to your desired specs. Roles and powers are automatically synced between servers so you only need to change user information once. Soldiers assigned to users will also keep their powers even if they change their in-game names.
  • Setting sync between servers. All changes to plugin settings are stored in the database and can be automatically synced between your Procon layers. Setting up new layers or switching layers is a breeze as the settings for existing servers are automatically imported on startup.
  • Infraction Tracking System. Punish/forgive players for breaking rules on your servers. Everything is tracked so the more infractions they commit, the worse their punishment automatically gets. Created so all players can be treated equally based on their history, regardless of who is issuing punishments against them. Heavily customizable.
  • Player Reputation System. Based on issued commands from and against players they can form a numeric reputation on the server. Documentation below. A local leaderboard for reputation is provided in the BFAdminCP.
  • Quick Player Report and Admin Call Handling, with Email Support.Notification system and quick handling features for all admin calls and player reports. Reports can be referenced by number for instant action. Automatic PBSS are triggered on reported players.
  • Orchestration and Server List Management. Server reserved slots, spectator slots, autobalance whitelising through MULTIBalancer, ping kick whitelists, and several others can be automatically handled through the AdKats user list, role groups, and orchestration commands.
  • AdKats Ban Enforcer. AdKats can enforce bans across all of your servers and can enforce on all identity metrics at the same time. System will automatically import bans from your servers, consolidating them in one place, and can import existing bans from the BF3 Ban Manager plugin's tables. Full documentation below.
  • Automated Challenge System with Rewards. The challenge system in AdKats is designed to be a multi-server stats-driven way to give players new goals with rewards. You can set up almost any combination of damage types or weapons to be used by players, in multiple tiers.
  • BF3/BF4 "Hacker-Checker" with Whitelist. Battlelog stats can be polled for players in the server, issuing automatic bans for damage mods, aimbots, magic bullet, and several others. The LIVE system can detect damage mods and magic bullet from a single round of play. DPS checks are enabled by default, with others available after a few clicks.
  • Surrender Vote System. When enabled, if players are stuck in their base with no options, they can vote to end the round with the current winning team as winner.
  • Auto-Surrender/Auto-Nuke System. This uses ticket loss rates to detect where teams are on the map, specifically with how many flags are captured. If a team is being base-camped, it can either automatically end the round with current winner, or nuke the team who is causing the base-camp. Optimal values for Metro 2014 and Operation Locker are available, for both surrender and nuke options.
  • Automatic Updates. AdKats automatically updates itself when stable releases are made, only requiring a Procon instance reboot to run updated versions. This can be disabled if desired, but is required if running TEST versions.
  • Ping Enforcer. Automated kick system based on ping, with moving average calculation, modifiers based on time of day and server population, customizable messages, logged kicks, and manual ping options.
  • AFK Manager. Automated kick system based on player AFK time, with manual kick command. Customizable durations, and option to ignore chat messages counting toward active time.
  • Internal SpamBot with Whitelist. SpamBot with options for simultaneous say, yell, and tell. Customizable intervals between each type of message, and ability to whitelist players/admins from seeing spambot messages.
  • Commander Manager. Commanders can cause team imbalance when servers are in low population. This manager can forbid commanders before a certain player count is active.
  • Cross-Server Player Messaging. Private conversations between players can operate not only within the same server, but will work between any online server in the database, and even between any AdKats supported game.
  • Admin Assistants. When fully used this can turn your regular playerbase into a human autoadmin. Trusted players fill the gaps normal autoadmins don't see by utilizing the report system and keeping your server under control even when normal admins are offline.
  • Email Notification System. Email addresses can be added to every user, and once enabled they will receive emails for player reports and admin calls.
  • Fuzzy Player Name Completion. Fully completes partial or misspelled player names. I've been consistently able to find almost any player only a few characters from their name. Can also fetch players who have left the server, are in another server of yours on the same database, or have been in your servers at any point in time.
  • Player Muting. Players can be muted if necessary, giving warnings and kicks if they talk. Automatic mute in specific cases like lanuage can be orchestrated by other plugins like Insane limits.
  • Player Joining. Player's squads can be joined via command, and locked squads can be unlocked for admin entry.
  • Player Locking. Players can be locked from admin commands for a specific timeout, the main purpose is if a certain admin is handling them (checking stats for cheat detection, records, etc.) they shouldn't be interrupted by another admin acting on the player.
  • Player Assist. Player's want to play with their friends, but you don't want to imbalance the teams_ The assist command lets any player join the weak team to help them out and squad up with friends without hurting server balance.
  • Yell/Say Pre-Recording. Use numbers to reference predefined messages. Avoid typing long reasons or messages. e.g. /kill player 3
  • Server Rule Management. Server rules can be listed, requests for rules logged, rules targeted at other players, and rules can be distributed between servers automatically.
  • External Controller API. AdKats can be controlled from outside the game through systems like the BFAdminCP and through other plugins like Insane Limits. For example, you can issue AdKats punish commands from Insane Limits or ProconRulz and have them logged against the player's profile like any other admin command.
  • Internal Implementation of TeamSwap. Queued move system for servers that are consistently full, players can be queued to move to full teams once a slot opens.
  • Metabans Support. When using ban enforcer all bans can be submitted to metabans and removed if the player is unbanned.
  • Editable In-Game Commands. Command text, logging options, chat access types, and enable options can be edited to suit your needs.
  • Full Logging. All admin activity is tracked via the database per your custom settings for every command, so holding your admins accountable for their actions is quick and painless. If you are using the BFAdminCP nobody but your highest admins will need manual Procon access.
  • Setting Lock. The settings page in AdKats can be locked with a password. This means even admins with access to plugin settings can be blocked from changes using the password.
  • Performance. All actions, messaging, database communications, and command parsing take place on their own threads, minimizing performance impacts.

 

AdKats_Docs_UserManual.jpg

AdKats_Docs_Dependencies.jpg

AdKats_Docs_Install.jpg

AdKats_Docs_FAQ.jpg

AdKats_Docs_Features.jpg

AdKats_Docs_Commands.jpg

AdKats_Docs_Web.jpg

AdKats_Docs_Settings.jpg

 

New Extension! Click below to enforce loadouts on-spawn!

AdKats_Docs_Loadout.jpg

 

AdKats_Docs_Donate.jpg

 

AdKats Release Notes:

https://github.com/AdKats/AdKats/blob/master/CHANGELOG.md#7604-12-jan-2020

I hope you enjoy the plugin. While using this plugin, two players, ColColonCleaner, and PhirePhrey will be added to your server's reserved slot list.

If you have any questions, please comment here.

 

Link to comment

first, thanks for doing this and hopefully you will get a lot of support.

 

not sure if its based on adkats, think its more a statslogger thing maybe someone can give me a little bit more info about the "problem"

 

i am searching for a long time now how i  can get this temp bans or warnings out of our db?

https://noobsrus.co.uk/stats/index.php?sid=4&pid=52365&p=player

 

always a bit confused when i saw a regular player showed up as banned in the leaderboard and than need to click it to see its a temp ban form language enforcer. so why this bannes will no get overwritten after some time or need i change any settings?

Link to comment
  • Administrators

first, thanks for doing this and hopefully you will get a lot of support.

 

not sure if its based on adkats, think its more a statslogger thing maybe someone can give me a little bit more info about the "problem"

 

i am searching for a long time now how i  can get this temp bans or warnings out of our db?

https://noobsrus.co.uk/stats/index.php?sid=4&pid=52365&p=player

 

always a bit confused when i saw a regular player showed up as banned in the leaderboard and than need to click it to see its a temp ban form language enforcer. so why this bannes will no get overwritten after some time or need i change any settings?

 

The stats page by ty_ger07 isn't done by me or colon. His application is reading the adkats_bans table and found an entry for that player being banned and displaying it. I'm not sure if he has a setting you can switch to disable that or not.

 

Normally we would link the correct thread but that hasn't been created it so.. and ty_get07 isn't on these forums yet. I've notified him though github so he can hopefully sign up here if he wants to bring his support here.

 

Stats logger web page for ty_ger07

 

https://myrcon.net/index.php?/topic/15-stats-webpage-for-xpkillers-stats-logger-plugin/

Edited by Prophet731
Added link to tyger007 thread

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.

×
×
  • 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.