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

 

If you watch the procon chat tab, does it say X has been BANNED, etc, etc

Yeah it said it had banned the person, I only noticed it doing it about a week ago when the person I had banned then shot me, I can kick them fine and they can't rejoin it just seems to be the kick after the ban that is failing.
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Yeah it said it had banned the person, I only noticed it doing it about a week ago when the person I had banned then shot me, I can kick them fine and they can't rejoin it just seems to be the kick after the ban that is failing.

Hmmm, you have creds i can use to see this?
Link to comment

Originally Posted by durangod*:

 

are we able to reboot the server via adkats ?

 

i was also wondering why im still getting this permission denied, im sure i have something set wrong but not sure what.

 

adkatspermission.jpg

 

 

UPDATE: i did answer my own question here by reading, how about that lol :smile: folks remember that in procon addon for adkats when you do add user just add any name you want (it will not take special chars) but when you do add soldier, that is where you put your bf3 player name that you play with. This assignes your bf3 id with your permission id basically.. and then that number that it shows for them in adkats goes in the bf3 or bf4 id in bfadmincp profile. If it does not come up with a number or nothing at all, tell them to jump on the server for a min and run around for a sec under their playername, then it will show. It has to store the player data in the playerdata table first so it knows who is who. So i got that part now i can issue commands without the guest note.

 

as per the first question about rebooting im not sure you can. i would love to be able to because then i could prob use it via the bfadmincp, but i dont think you can reboot that way which means youll have to have your server site open in case you need to reboot. Hope they add this some day its a much needed feature.

 

 

also do you have recommended settings for jr. admins, anything that is a definate NO WAY setting. By jr admin i mean right under full admin, the next level lower than full..

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

Originally Posted by TMiland*:

 

Make sure you are not running AdKats 5.1.5.0 - 5.1.5.3. If so, update to the latest test version immediately.

 

Were you adding these people using an external script, or using plugin commands?

I'll update to latest testversion now, yes adding them with a custom php script which hooks in on the xenforo upgrade payment system.

 

I see from an older version now that the dates have been added by you?

 

Posted Image

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

Originally Posted by TMiland*:

 

Yo! Look at this:

[12:34:57 61] [AdKats] ERROR: Your PRoCon layer and database have a 7m28s UTC timestamp mismatch. UTC-Database:sad:10/18/2014 10:27:29 AM) UTC-Procon:sad:10/18/2014 10:34:57 AM)

[12:34:57 61] [AdKats] INFO: Shutting down AdKats.

[12:34:57 93] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 4 secs

[12:35:00 53] [AdKats] AdKats 5.1.6.3 Disabled! =(

edit1:

I have contacted fragnet support now to get them to check the servertime. :P

 

Edit2:

Found another error:

[13:52:46 08] [AdKats] SUCCESS: User fetch complete [53 users, 23 Special Players].

[13:52:46 08] [AdKats] INFO: Fetching player list.

[13:53:00 66] [AdKats] ERROR: Unable to find target weight for type|action: 13|35

[13:53:00 66] [AdKats] ERROR: Unable to find target weight for type|action: 15|35

Edit3:

Fixed timestamp mismatch error!

 

Adkats is working again! :smile:

 

Now the question is, how am i going to get the slots working with zero dates? :P

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

Originally Posted by Prophet731*:

 

Yo! Look at this:

 

edit1:

I have contacted fragnet support now to get them to check the servertime. :P

 

Edit2:

Found another error:

 

 

Edit3:

Fixed timestamp mismatch error!

 

Adkats is working again! :smile:

 

Now the question is, how am i going to get the slots working with zero dates? :P

You need valid dates. That's your only problem. Are you providing that when you insert a row?

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

 

You need valid dates. That's your only problem. Are you providing that when you insert a row?

I have tried some different things, but nothing works, i cannot get ahold of the dev of the script, and i have no clue.

 

Maybe you could help me?

 

Here's the insert part of the script:

Code:

$field = (!empty($user['customFields']['originid']) _ $user['customFields']['originid'] : $user['username']);
		try
		{
			$field = $slotdb->select()->from(array('playerdata' => 'tbl_playerdata'), array('PlayerID'))->where('SoldierName = _', $field);
			$field = $slotdb->fetchAll($field);
			
			$field = (!empty($field[0]['PlayerID']) _ (int)$field[0]['PlayerID'] : (string)$user['username']);
			
			if(ctype_digit($field)) {
				$data = array('player_group' => 'slot_reserved', 'player_id'  =>  $field);
			} else {
				$data = array('player_group' => 'slot_reserved', 'player_identifier'  =>  $field);
			}
			
			$slotdb->insert('adkats_specialplayers', $data);
		}
* Restored post. It could be that the author is no longer active.
Link to comment
  • Administrators

Originally Posted by Prophet731*:

 

Your not inserting dates with it. I'll modify it when I have had a few cups of coffee.

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

 

Your not inserting dates with it. I'll modify it when I have had a few cups of coffee.

Thats 100% correct, the dates where not part of the table when the script was made... :ohmy:

 

Thank you chief! :biggrin:

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

Originally Posted by Prophet731*:

 

Thats 100% correct, the dates where not part of the table when the script was made... :ohmy:

 

Thank you chief! :biggrin:

Question: Is this just a recurring payment or do you give time frames? If you give time frames I can set the expire field to whatever they choose instead of going making it expire in 20 years.

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

 

Question: Is this just a recurring payment or do you give time frames? If you give time frames I can set the expire field to whatever they choose instead of going making it expire in 20 years.

I have both just a month sub. and recurring.

 

I'll send you the whole script on pm.

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

Originally Posted by ColColonCleaner*:

 

are we able to reboot the server via adkats ?

 

i was also wondering why im still getting this permission denied, im sure i have something set wrong but not sure what.

 

adkatspermission.jpg

 

 

UPDATE: i did answer my own question here by reading, how about that lol :smile: folks remember that in procon addon for adkats when you do add user just add any name you want (it will not take special chars) but when you do add soldier, that is where you put your bf3 player name that you play with. This assignes your bf3 id with your permission id basically.. and then that number that it shows for them in adkats goes in the bf3 or bf4 id in bfadmincp profile. If it does not come up with a number or nothing at all, tell them to jump on the server for a min and run around for a sec under their playername, then it will show. It has to store the player data in the playerdata table first so it knows who is who. So i got that part now i can issue commands without the guest note.

 

as per the first question about rebooting im not sure you can. i would love to be able to because then i could prob use it via the bfadmincp, but i dont think you can reboot that way which means youll have to have your server site open in case you need to reboot. Hope they add this some day its a much needed feature.

 

 

also do you have recommended settings for jr. admins, anything that is a definate NO WAY setting. By jr admin i mean right under full admin, the next level lower than full..

A command to reboot the server was just added, update to the latest test version and give it a go. That command has not been tested yet.

 

Below are our roles' denied commands, keep in mind that globally we do not use server nuke, player mute, or yells, so if you use those on your servers your lower roles should probably have access to them.

 

Our "Manager" role denied commands:

All Commands Allowed

 

Our "Admin" role denied commands:

Report Player

Call Admin on Player

Admin Yell

Player Yell

Admin Tell

Player Tell

Server Nuke

Autobalance Whitelist Player

Reserved Slot Player

Hacker-Checker Whitelist Player

Ping Whitelist Player

AA Whitelist Player

Restart AdKats

Shutdown Server

 

Our "Advisor" role denied commands:

Permaban Player

Mute Player

Report Player

Call Admin on Player

Admin Yell

Player Yell

Admin Tell

Player Tell

End Current Round

Server Nuke

Unban Player

Lead Current Squad

Disperse Player

Autobalance Whitelist Player

Reserved Slot Player

Future Permaban Player

Pull Player

Hacker-Checker Whitelist Player

Lock Player Commands

Unlock Player Commands

Ping Whitelist Player

AA Whitelist Player

Restart AdKats

Shutdown Server

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Yo! Look at this:

 

edit1:

I have contacted fragnet support now to get them to check the servertime. :P

 

Edit2:

Found another error:

 

 

Edit3:

Fixed timestamp mismatch error!

 

Adkats is working again! :smile:

 

Now the question is, how am i going to get the slots working with zero dates? :P

I'll be adding those missing weight values soon.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Yeah it said it had banned the person, I only noticed it doing it about a week ago when the person I had banned then shot me, I can kick them fine and they can't rejoin it just seems to be the kick after the ban that is failing.

Your 1200 server.

 

Code:

[18:30:02] AdKats > ColColonCleaner just joined this server group for the first time!
[18:30:02] AdKats > ColColonCleaner is now spectating the server.
[18:31:07] ColColonCleaner > /ban
[18:31:11] AdKats > Say > ColColonCleaner > Your user role Default Guest does not have access to Permaban Player.
[18:31:11] AdKats > Say > ColColonCleaner > Duration: 78ms
[18:31:23] ColColonCleaner > /ban colcoloncleaner testing
[18:31:27] AdKats > Say > Player ColColonCleaner was BANNED by admin for testing
[18:31:27] AdKats > You PERMA BANNED ColColonCleaner.
[18:31:27] AdKats > Say > ColColonCleaner > Your reputation has gone negative! Be careful, it's now -47.62
[18:31:23] ColColonCleaner has left the server..
[18:31:35] ColColonCleaner > /unban colcoloncleaner
[18:31:39] AdKats > Fetching matching bans. Please wait.
[18:31:39] AdKats > ColColonCleaner | 10/18/2014 | testing
[18:31:39] AdKats > Unban Player->[OFFLINE]ColColonCleaner for Admin Unban_
[18:31:37] ColColonCleaner > /yea
[18:31:40] ColColonCleaner > /yes
[18:31:44] AdKats > ColColonCleaner is now unbanned.
-
[18:32:21] ColColonCleaner has joined the server..
[18:33:05] AdKats > ColColonCleaner is now spectating the server.
[18:34:23] ColColonCleaner > /ban colon moar testing
[18:34:27] AdKats > Say > Player ColColonCleaner was BANNED by admin for moar testing
[18:34:27] AdKats > You PERMA BANNED ColColonCleaner.
[18:34:27] AdKats > Say > ColColonCleaner > Your reputation decreased further from -47.62 to -90.91
[18:34:23] ColColonCleaner has left the server..
-
[18:36:27] ColColonCleaner has joined the server..
[18:37:09] AdKats > ColColonCleaner is now spectating the server.
[18:37:09] AdKats > Say > Enforcing permanent ban on ColColonCleaner for moar testing
[18:37:06] ColColonCleaner has left the server..
-
[18:37:46] ColColonCleaner > /unban colon
[18:37:50] AdKats > Fetching matching bans. Please wait.
[18:37:50] AdKats > ColColonCleaner | 10/18/2014 | moar testing
[18:37:50] AdKats > Unban Player->[OFFLINE]ColColonCleaner for Admin Unban_
[18:37:48] ColColonCleaner > /yes
[18:37:52] AdKats > ColColonCleaner is now unbanned.
Link to comment

Originally Posted by Jasonpb*:

 

Ok worked this out, the guy has nothing showing in procon, not even a EAGUID and none of the commands seem to work on him, I've had a few users like this now that have been on our instances, one of which was blatantly hacking.

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

Originally Posted by ColColonCleaner*:

 

Ok worked this out, the guy has nothing showing in procon, not even a EAGUID and none of the commands seem to work on him, I've had a few users like this now that have been on our instances, one of which was blatantly hacking.

Yes, the player is stuck in your server's cache and it can't be removed unless you reboot the server. This has happened with some players on ours, only a few days ago was the last instance in fact.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Yes I've worked out it can only be fixed after a reboot, pretty bloody annoying :ohmy: you'd think there would be some way to clear it.

I gotta find some way to detect that. I still have the player's guid, but that doesn't help any. I might have to set a case where they won't be added to the player list if they are invalid like that.

 

One thing you can do to those players is move them between teams, for some reason that still works.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

There have been 65 patches and 50 tickets closed for the test version after 5.1.0.0, currently at 5.1.6.5, but there are only ~25 servers with this TEST patch active.

 

More servers testing the functions added here would be great: https://github.com/ColColonCleaner/A...3Aupdated-desc

 

Latest Test Patch: https://raw.githubusercontent.com/Co...test/AdKats.cs

Link to comment

Originally Posted by Jasonpb*:

 

I gotta find some way to detect that. I still have the player's guid, but that doesn't help any. I might have to set a case where they won't be added to the player list if they are invalid like that.

 

One thing you can do to those players is move them between teams, for some reason that still works.

Yeah you can move them between squads as well, I tried that to see if it would eventually cause them to time out, of course it didn't.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by veryDead*:

 

I've updated my server to run 5.1.6.7. All looks good so far. I am using several of the new features including the auto-surrender. I will post back how everything goes after a couple of days of operation.

 

How do I populate the specialplayers table? Do I have to manually add them directly into the table or am I missing the place in procon to do it? I want to be sure before I start mucking about.

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

Originally Posted by ColColonCleaner*:

 

Adkats detected glitched player and i coudnt do anything with him , cant ban , tban , kick , its seas he has been kicked but no actions . he still in server

 

6c2d75cb812bbe27c9c1f3792ab83368.png

59b1972f275925a47b04055019f51519.png

Nothing you can do about that. Your server needs to be rebooted to remove the glitched player.
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.
Note: Your post will require moderator approval before it will be visible.

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.