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

 

nice. i thought i was drunk when i noticed that the first time.

Yep, more will be coming soon too. I recently added red coloring to the ban enforce messages just like the admin actions.

 

I'm not sure about adding colors to the loadout enforcer messages, they happen a lot and adding color to them might make it too busy. We'll see though. There is a limited number of colors in procon so it might be alright.

 

The whole idea behind this is being able to easily pick out messages you care about from the rest of the information.

Link to comment

Originally Posted by Motorcharge*:

 

Which url do I need for Discord integration? I'm trying to set it up but keep getting error messages for both the one copied from the HTML and from the JSON link.

 

"Issue connecting to discord widget url: *link*"

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

Originally Posted by ColColonCleaner*:

 

Which url do I need for Discord integration? I'm trying to set it up but keep getting error messages for both the one copied from the HTML and from the JSON link.

 

"Issue connecting to discord widget url: *link*"

You need your discord server ID.

 

For example, when you open your discord server in your web browser you'll see the server ID in the URL.

 

discordapp.com/channels/ServerID/ChannelID

 

Put the server ID into the server ID setting.

Link to comment

Originally Posted by AC-Topper*:

 

Hello,

 

I have a question concerning the additional text which is added to every ban message. Is it somehow possible to remove the admin name so that a ban message only contains the reason, duration and the customizable additional text? I've found the option "Display Admin Name in Action Announcement" which does exactly what I want but only in-game. Thanks.

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

Originally Posted by ColColonCleaner*:

 

Hello,

 

I have a question concerning the additional text which is added to every ban message. Is it somehow possible to remove the admin name so that a ban message only contains the reason, duration and the customizable additional text? I've found the option "Display Admin Name in Action Announcement" which does exactly what I want but only in-game. Thanks.

There was intentionally no setting added to remove the admin name from the ban message, the idea behind that being every player should know who banned them.

 

However, i see some of the reasons why people might want to disable that. I can add a setting for it in the future if you want.

Link to comment

Originally Posted by AC-Topper*:

 

There was intentionally no setting added to remove the admin name from the ban message, the idea behind that being every player should know who banned them.

 

However, i see some of the reasons why people might want to disable that. I can add a setting for it in the future if you want.

Some of our admins asked me if that's possible because banned people spam them with friend requests on Battlelog instead of using our forum or Battlelog Platoons for ban appeals. I understand the reason why you haven't added this option yet but (at least from our experience) many players simply ignore the link to our unban web page which we provide through the additional ban message and add the admin...

 

We would really appreciate it if you could implement this setting. :smile:

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

Originally Posted by Motorcharge*:

 

You need your discord server ID.

 

For example, when you open your discord server in your web browser you'll see the server ID in the URL.

 

discordapp.com/channels/ServerID/ChannelID

 

Put the server ID into the server ID setting.

Thank you, I got that taken care of.

 

But, is there somewhere I can find more info on Discord integration? I feel like it's setup properly but I don't see commands for it and I'm not entirely sure how it's supposed to work as I've never seen a server with it integrated. The clan's server my group split from had the Teamspeak integration setup (and is responsible for it in adkats I guess) so I only have experience with that integration.

 

Are there commands? Is there a way to join Discord directly from the server via command?

 

The only things in Adkats I haven't setup for Discord are the string arrays for Discord Players and Discord Channel Members but I noticed the Discord All Members filled itself out.

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

Originally Posted by ColColonCleaner*:

 

Thank you, I got that taken care of.

 

But, is there somewhere I can find more info on Discord integration? I feel like it's setup properly but I don't see commands for it and I'm not entirely sure how it's supposed to work as I've never seen a server with it integrated. The clan's server my group split from had the Teamspeak integration setup (and is responsible for it in adkats I guess) so I only have experience with that integration.

 

Are there commands? Is there a way to join Discord directly from the server via command?

 

The only things in Adkats I haven't setup for Discord are the string arrays for Discord Players and Discord Channel Members but I noticed the Discord All Members filled itself out.

You can see explanations of the discord settings at the following link:

 

https://github.com/AdKats/AdKats#b29...nitor-settings

 

There is one discord command by my knowledge, and that's /discordlink which links discord members to players in game. Teamspeak didn't have this issue because you could match IPs of in game players to IPs of teamspeak users, but discord doesn't provide IP information over the public API so this command is sometimes necessary to link people if their names do not match.

Link to comment

Originally Posted by Motorcharge*:

 

You can see explanations of the discord settings at the following link:

 

https://github.com/AdKats/AdKats#b29...nitor-settings

 

There is one discord command by my knowledge, and that's /discordlink which links discord members to players in game. Teamspeak didn't have this issue because you could match IPs of in game players to IPs of teamspeak users, but discord doesn't provide IP information over the public API so this command is sometimes necessary to link people if their names do not match.

So it has to be done manually?

 

Just tried /discordlink on myself and it came back that it couldn't find me in Discord but when I left the server and came back it showed the message that I was in Discord.

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

Originally Posted by ColColonCleaner*:

 

So it has to be done manually?

 

Just tried /discordlink on myself and it came back that it couldn't find me in Discord but when I left the server and came back it showed the message that I was in Discord.

If procon were on .NET 4.7 i'd be able to use websockets with discord properly. Unfortunately it's still on .NET 3.5, which doesn't have websockets. So for security reasons on discord's end they aren't able to provide anything more on their public API than a generic server info URI updated every 5 minutes.

 

This means that players in your discord server are currently only updated every 5 minutes.

 

If I ever get the chance to update procon for people to .NET 4.7 i'll do it, but almost everyone running AdKats is on .net 3.5.

Link to comment

Originally Posted by SmackDown*:

 

Hello,

 

Can you please explain what section 32 of Adkats is all about and what it does. I can find no explanation as to its purpose and how to use it. Could you also explain the following sections and settings:

 

C32.Challenge Settings

 

C32.Challenge Setting [1] Displays

 

C32.Challenge Settings[2]

 

C32.Chalenge Settings[3] Rules

 

Thank you for your efforts.

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

Originally Posted by ColColonCleaner*:

 

Hello,

 

Can you please explain what section 32 of Adkats is all about and what it does. I can find no explanation as to its purpose and how to use it. Could you also explain the following sections and settings:

 

C32.Challenge Settings

 

C32.Challenge Setting [1] Displays

 

C32.Challenge Settings[2]

 

C32.Chalenge Settings[3] Rules

 

Thank you for your efforts.

It's not done yet, leave it alone for now. :smile:
Link to comment

Originally Posted by SmackDown*:

 

Seeing the below errors. I notice that the error only shows up after the reboot of the layer server. After the below error code displays, I will reboot the layer server again and then the below error does not show up again:

 

[05:39:50 89] [AdKats] WARNING: Thread warning: DatabaseComm[38] PlayerListing[33] BattlelogComm[43] IPAPIComm[44] BanKickPlayerMessage[49] AccessFetching[21] KillProcessing[35] Messaging[36] Command[37] ActionHandling[39] TeamSwap[40] BanEnforcer[41] AntiCheat[42] BanKickPlayerMessage[50] BanKickPlayerMessage[45] BanKickPlayerMessage[46] BanKickPlayerMessage[47] BanKickPlayerMessage[53] BanKickPlayerMessage[48] BanKickPlayerMessage[57] BanKickPlayerMessage[6] BanKickPlayerMessage[56] BanKickPlayerMessage[55] BanKickPlayerMessage[54] BanKickPlayerMessage[59] BanKickPlayerMessage[60] BanKickPlayerMessage[62] BanKickPlayerMessage[64] BanKickPlayerMessage[63] BanKickPlayerMessage[61] BanKickPlayerMessage[65] BanKickPlayerMessage[66] BanKickPlayerMessage[67] BanKickPlayerMessage[68]

 

 

 

Any ideas?

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

Originally Posted by ColColonCleaner*:

 

Seeing the below errors. I notice that the error only shows up after the reboot of the layer server. After the below error code displays, I will reboot the layer server again and then the below error does not show up again:

 

[05:39:50 89] [AdKats] WARNING: Thread warning: DatabaseComm[38] PlayerListing[33] BattlelogComm[43] IPAPIComm[44] BanKickPlayerMessage[49] AccessFetching[21] KillProcessing[35] Messaging[36] Command[37] ActionHandling[39] TeamSwap[40] BanEnforcer[41] AntiCheat[42] BanKickPlayerMessage[50] BanKickPlayerMessage[45] BanKickPlayerMessage[46] BanKickPlayerMessage[47] BanKickPlayerMessage[53] BanKickPlayerMessage[48] BanKickPlayerMessage[57] BanKickPlayerMessage[6] BanKickPlayerMessage[56] BanKickPlayerMessage[55] BanKickPlayerMessage[54] BanKickPlayerMessage[59] BanKickPlayerMessage[60] BanKickPlayerMessage[62] BanKickPlayerMessage[64] BanKickPlayerMessage[63] BanKickPlayerMessage[61] BanKickPlayerMessage[65] BanKickPlayerMessage[66] BanKickPlayerMessage[67] BanKickPlayerMessage[68]

 

 

 

Any ideas?

This is because you have all those unread records in your database. I still haven't looked into why your records are not being marked as read when they should be, been focused on other things.

 

EDIT: If you haven't already done the below query. Try setting your AdKats debug level to 5, then shut down your layer. Start it back up. Let AdKats boot to start up. Wait a little while for all of the 'kick' messages to stop happening, a couple minutes. Then send me that log file.

 

To fix this issue, after you've sent the log file, run this on your database:

 

update adkats_records_main set adkats_read = 'Y' where adkats_read = 'N';

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

That's cool but will it work with MariaDB?

Considering how similar MariaDB is to MySQL, and that you can use MySQL connectors to interface with a MariaDB instance, you should be fine. However, i have not tested AdKats or the stat logger plugin against that database engine.

 

I would suggest setting up the stat logger plugin and making sure that works with Maria if that's the engine you are using. Keep me posted.

Link to comment
  • Administrators

Originally Posted by Prophet731*:

 

Considering how similar MariaDB is to MySQL, and that you can use MySQL connectors to interface with a MariaDB instance, you should be fine. However, i have not tested AdKats or the stat logger plugin against that database engine.

 

I would suggest setting up the stat logger plugin and making sure that works with Maria if that's the engine you are using. Keep me posted.

Colon, we've been using MariaDB for a long time for AdKats and the stats logger. So it'll work fine. It's basically a fork of MySQL from I think version 5.7? Not sure when it happened.

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

 

Colon, we've been using MariaDB for a long time for AdKats and the stats logger. So it'll work fine. It's basically a fork of MySQL from I think version 5.7? Not sure when it happened.

I was unaware of this, I've only used MySQL locally. Glad to hear it's compatible.
Link to comment

Originally Posted by jsimpson32*:

 

Recently I added some admins to adkats but now need to delete them. How do I remove them completely rather than just change status to guest? There is a drop down box to remove them but not sure how to use it.

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

Originally Posted by ColColonCleaner*:

 

Recently I added some admins to adkats but now need to delete them. How do I remove them completely rather than just change status to guest? There is a drop down box to remove them but not sure how to use it.

See the 'delete_' line on each user? Type the word delete in that line. This is explained in the documentation.

 

Requiring people to type the full word delete prevents accidental deletion of users.

Link to comment

Originally Posted by jsimpson32*:

 

See the 'delete_' line on each user? Type the word delete in that line. This is explained in the documentation.

 

Requiring people to type the full word delete prevents accidental deletion of users.

Yeah, bit of laziness on my part for not looking it up, guilty. Thanks for prompt answer!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by SmackDown*:

 

New error today.

 

Rebooted our layer servers and got the below errors:

 

[05:29:00 81] [AdKats] EXCEPTION-70185-0.03-D-DBReadDefinitions-DatabaseComm39: [Error reading in definitions for challenge manager.][MySql.Data.MySqlClient.MySqlException: Table 'c962102_BF4Stats.adkats_challenge_definition' doesn't exist

at PRoConEvents.AdKats.SafeExecuteReader(MySqlCommand command)

at PRoConEvents.AdKats.AChallengeManager.DBReadDefini tions(MySqlConnection con)]

[05:29:01 03] [AdKats] EXCEPTION-70185-0.03-D-DBReadRules-DatabaseComm39: [Error reading in rules for challenge manager.][MySql.Data.MySqlClient.MySqlException: Table 'c962102_BF4Stats.adkats_challenge_rule' doesn't exist

at PRoConEvents.AdKats.SafeExecuteReader(MySqlCommand command)

at PRoConEvents.AdKats.AChallengeManager.DBReadRules( MySqlConnection con)]

 

 

 

I can tell this is related to the new project your working on. Is this something that I need to worry about or is the challenge project not done yet?

 

Thank you for your help.

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

Originally Posted by ColColonCleaner*:

 

New error today.

 

Rebooted our layer servers and got the below errors:

 

[05:29:00 81] [AdKats] EXCEPTION-70185-0.03-D-DBReadDefinitions-DatabaseComm39: [Error reading in definitions for challenge manager.][MySql.Data.MySqlClient.MySqlException: Table 'c962102_BF4Stats.adkats_challenge_definition' doesn't exist

at PRoConEvents.AdKats.SafeExecuteReader(MySqlCommand command)

at PRoConEvents.AdKats.AChallengeManager.DBReadDefini tions(MySqlConnection con)]

[05:29:01 03] [AdKats] EXCEPTION-70185-0.03-D-DBReadRules-DatabaseComm39: [Error reading in rules for challenge manager.][MySql.Data.MySqlClient.MySqlException: Table 'c962102_BF4Stats.adkats_challenge_rule' doesn't exist

at PRoConEvents.AdKats.SafeExecuteReader(MySqlCommand command)

at PRoConEvents.AdKats.AChallengeManager.DBReadRules( MySqlConnection con)]

 

 

 

I can tell this is related to the new project your working on. Is this something that I need to worry about or is the challenge project not done yet?

 

Thank you for your help.

Ah yeah, don't worry about it, it's from the challenge manager. You might see those 2 errors every 5 minutes or so until I make the table inserts public or block the errors. I'll add the block tonight.

 

EDIT: You shouldn't notice this affecting anything else in the plugin though. The challenge system is completely isolated.

Link to comment

Originally Posted by SmackDown*:

 

Ah yeah, don't worry about it, it's from the challenge manager. You might see those 2 errors every 5 minutes or so until I make the table inserts public or block the errors. I'll add the block tonight.

 

EDIT: You shouldn't notice this affecting anything else in the plugin though. The challenge system is completely isolated.

Thank you for your efforts and response!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by jsimpson32*:

 

Is it possible to grant just @moveme command access only to a person without giving them full admin rights?

Never mind, i see it's possible just need to read in... wish I had access at work. Lol
* 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.




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