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

 

Is it possible to add the reported players last chat, like 5 lines or so to the report mail? :smile:

You know what to do for feature requests :smile:

 

Last chat of the reporter and the reportee would probably be nice.

 

and maybe @chath command to show the last X chat messages of a person. Defaulting to 5 if no number given.

Link to comment

Originally Posted by ixnorp*:

 

list.png

 

hihi,

 

am I missing something in here? Adding only the player_id should worked right? And leaving the rest blank is ok according to your doc right? But I don't know why the player still gets banned.

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

Originally Posted by virusdead*:

 

Have you installed XpKiller's Stat Logger plugin?

the problem is resolved everything works.

I'm looking for something to insult but work with the plugin insane limit with vulgar words

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

Originally Posted by Prophet731*:

 

list.png

 

hihi,

 

am I missing something in here? Adding only the player_id should worked right? And leaving the rest blank is ok according to your doc right? But I don't know why the player still gets banned.

Have you unbanned them?

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

 

Have you unbanned them?

yes of course. Am I missing anything in the settings? Do I need to put the player_server as 1? I only got 1 server. I had to put their ign(didn't try guid/ip/etc yet) instead of player_id to let the white list work
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

yes of course. Am I missing anything in the settings? Do I need to put the player_server as 1? I only got 1 server. I had to put their ign(didn't try guid/ip/etc yet) instead of player_id to let the white list work

Strange...

 

this is a screen of our table, which is currently working.

 

Posted Image

Link to comment

Originally Posted by TMiland*:

 

You know what to do for feature requests :smile:

 

Last chat of the reporter and the reportee would probably be nice.

 

and maybe @chath command to show the last X chat messages of a person. Defaulting to 5 if no number given.

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

Originally Posted by rayman2550*:

 

Hey Col, this is the error mysql gives off every time i try to import the database.

4877858.png

I have already installed XpKiller's Stat, ran it once, stopped it and no go.

 

NVM. The database is stupid and acting up.

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

Originally Posted by Prophet731*:

 

Hello , can you plz write qury for me to delete row

table: tbl_chatlog

column: logSoldierName

Value : Server

 

thnx very much

Code:
DELETE FROM `tbl_chatlog` WHERE `logSoldierName` = 'Server'
That will delete all entries in the chatlog table where the soldier name is equal to Server

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

 

Code:

DELETE FROM `tbl_chatlog` WHERE `logSoldierName` = 'Server'
That will delete all entries in the chatlog table where the soldier name is equal to Server
thnx man !
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by rayman2550*:

 

I managed to get XpKiller's Stats plugin, it populated the database, i imported the adkats.sql file, all was good but now the adkats plugin can't connect to the database even though XpKiller's Stats is connected and working. I have checked and re-checked the credentials and they match up.

 

Code:

[00:58:24 97] [AdKats] SUCCESS: Populated reputation dictionaries
[00:58:24 97] [AdKats] SUCCESS: Server IP is 66.55.137.109:25200!
[00:58:25 00] [AdKats] ERROR: Database connection FAILED with EXCEPTION. Bad credentials, invalid hostname, or invalid port.
[00:58:25 00] [AdKats] WARNING: Shutting down AdKats.
[00:58:26 31] [AdKats] AdKats 4.2.1.0 Disabled! =(
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Knoffel*:

 

Our !report doesnt send emails.

I'm using the same settings as in "notify me" but it doesnt work..

Debug output:

"[10:02:56 87] [AdKats] REPORT [500] sent on xXKnoffelXx for emailtest"

The report is shown in our DB and Webadmin, but i don't receive an email. Anything I'm doing wrong?

 

Posted Image

 

Changed to Debug level 5 and that's what i get:

 

[10:26:33 39] [AdKats] Command parsed. Command is player_report.

[10:26:33 39] [AdKats] DBCOMM: Unprocessed: 1 Current: 0

[10:26:33 39] [AdKats] DBCOMM: Unprocessed: 0 Current: 1

[10:26:33 39] [AdKats] DBCOMM: Entering handle record upload

[10:26:33 39] [AdKats] DBCOMM: Record needs full upload, checking.

[10:26:33 39] [AdKats] UPLOADING record for Report Player

[10:26:33 50] [AdKats] player_report upload for xXKnoffelXx by SettingsAdmin SUCCESSFUL!

[10:26:33 51] [AdKats] REPORT [812] sent on xXKnoffelXx for EMAIL

[10:26:33 51] [AdKats] player_report last used 1m29s ago.

10:26:33 51] [AdKats] DBCOMM: Unprocessed: 1 Current: 0

[10:26:33 51] [AdKats] DBCOMM: Unprocessed: 0 Current: 1

[10:26:33 51] [AdKats] DBCOMM: Entering handle record upload

[10:26:33 51] [AdKats] DBCOMM: UPDATING record for Report Player

[10:26:33 57] [AdKats] player_report update for xXKnoffelXx by SettingsAdmin SUCCESSFUL!

Ok, i figured out, that the email isn't send when I'm reporting myself for testing. I reported a player on our server and got this error:

 

[10:40:13 74] [AdKats] EXCEPTION: Line 0: [EmailProcessingThreadLoop][Error occured in mail processing thread. skipping loop.]: System.Net.Mail.SmtpException: 535 5.7.8 Error: authentication failed: authentication failure

at System.Net.Mail.SmtpClient.CheckStatus (SmtpResponse status, Int32 i) [0x00000] in :0

at System.Net.Mail.SmtpClient.Authenticate (System.String user, System.String password) [0x00000] in :0

at System.Net.Mail.SmtpClient.Authenticate () [0x00000] in :0

at System.Net.Mail.SmtpClient.SendCore (System.Net.Mail.MailMessage message) [0x00000] in :0

at System.Net.Mail.SmtpClient.SendInternal (System.Net.Mail.MailMessage message) [0x00000] in :0

at System.Net.Mail.SmtpClient.Send (System.Net.Mail.MailMessage message) [0x00000] in :0

Edit: i needed to add my Plesk SSL Certificate to mono certmgr. Now Adkats says

[11:01:07 19] [AdKats] DBCOMM: UPDATING record for Report Player

[11:01:07 19] [AdKats] A notification email has been sent.

but I still don't get an email.

 

Tested with Gmail account. "A notification email has been sent." But still no email received...

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

Originally Posted by ColColonCleaner*:

 

I managed to get XpKiller's Stats plugin, it populated the database, i imported the adkats.sql file, all was good but now the adkats plugin can't connect to the database even though XpKiller's Stats is connected and working. I have checked and re-checked the credentials and they match up.

 

Code:

[00:58:24 97] [AdKats] SUCCESS: Populated reputation dictionaries
[00:58:24 97] [AdKats] SUCCESS: Server IP is 66.55.137.109:25200!
[00:58:25 00] [AdKats] ERROR: Database connection FAILED with EXCEPTION. Bad credentials, invalid hostname, or invalid port.
[00:58:25 00] [AdKats] WARNING: Shutting down AdKats.
[00:58:26 31] [AdKats] AdKats 4.2.1.0 Disabled! =(
Hmm, i'm not sure what the issue could be. This might sound stupid, but try rebooting your layer?
Link to comment

Originally Posted by Knoffel*:

 

After i noticed, that the emails are only sent at the end of a round, i noticed a new error message and changed the SSL port from 465 to 587, now it works!

 

I thought it will send the emails right after the report command, just like NotifyMe

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

Originally Posted by ColColonCleaner*:

 

After i noticed, that the emails are only sent at the end of a round, i noticed a new error message and changed the SSL port from 465 to 587, now it works!

 

I thought it will send the emails right after the report command, just like NotifyMe

It does send them right away. There is no delay.
Link to comment
  • Administrators

Originally Posted by Prophet731*:

 

Metabans support is added now. Bans issued while ban enforcer is being used will be uploaded to metabans if a user/key is provided. Test version will be available soon.

Hey is the metabans code pushed up to the dev repo?

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

 

Need opinions on this.

 

I'm changing the report messages to include more information as some have requested, now including team names and scores for reporter and reportee so you can find them faster. However there is no way this will ever fit on one line now, so i've split it into several, now looking like this.

 

The message sent to online admins:

 

REPORT [787] Source: ColColonCleaner (US : 2913)

REPORT [787] Target: ColColonCleaner (US : 2913)

REPORT [787] Reason: testing

 

Suggestions?

Link to comment

Originally Posted by Jamesonp*:

 

Need opinions on this.

 

I'm changing the report messages to include more information as some have requested, now including team names and scores for reporter and reportee so you can find them faster. However there is no way this will ever fit on one line now, so i've split it into several, now looking like this.

 

The message sent to online admins:

 

REPORT [787] Source: ColColonCleaner (US : 2913)

REPORT [787] Target: ColColonCleaner (US : 2913)

REPORT [787] Reason: testing

 

Suggestions?

That's great. It's sometime's confusing to catch whose reporting who for what. It would also be nice if you could type something like !recentreports to see the reports during that round as they can sometimes get lost with admin and chat messages.

 

Unrelated, it would be cool if we could get an expiry date on users and have them auto deleted - or put back down to the guest group (we use it to assign donation privileges).

* Restored post. It could be that the author is no longer active.
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.