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

 

Ok. Please turn on plugin debugging in your procon settings. You should see the setting already, just need to turn it on.

 

enablePluginDebugging False

Change that line to True, then reboot your layer.

 

Then please send me the updated exception message, even if it looks like it hasn't changed, it has.

Code:
[11:44:46] [AdKats] EXCEPTION-70117-0,01-D-<SendServerRules>b__9fc-RulePrinter42: [Error while printing server rules][System.InvalidOperationException: Die Sequenz enthält kein übereinstimmendes Element.
   bei System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   bei PRoConEvents.AdKats.<>c__DisplayClassa0b.<SendServerRules>b__9fc()]
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Code:

[11:44:46] [AdKats] EXCEPTION-70117-0,01-D-<SendServerRules>b__9fc-RulePrinter42: [Error while printing server rules][System.InvalidOperationException: Die Sequenz enthält kein übereinstimmendes Element.
   bei System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   bei PRoConEvents.AdKats.<>c__DisplayClassa0b.<SendServerRules>b__9fc()]
Strange it's not showing line numbers on the error. That -D- should be a line number now, your procon instance must not be generating/loading the .pdb debug file properly.

 

Either way i'll look into this further when I am able to access my rig again.

 

Something you can do in the meantime though. What happens if you remove all of your rules and type a new random sentence as a single rule? Save off your original rule list and try this, let me know if a single random sentence works properly on your server. If it does, try adding back each of your original rules one by one until the error happens. Keep me posted on the results.

Link to comment

Originally Posted by Checka_Wiemi*:

 

Just a short question: is it possbile to export AdKats serversettings of a single server into another database?

Why? I want to create a new database with exactly the same serversettings as the old one. Would be nice if there's a way somehow to do such things :-)

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

Originally Posted by ColColonCleaner*:

 

Just a short question: is it possbile to export AdKats serversettings of a single server into another database?

Why? I want to create a new database with exactly the same serversettings as the old one. Would be nice if there's a way somehow to do such things :-)

https://dev.mysql.com/doc/workbench/...t-results.html

 

select * from adkats_settings where server_id = x

 

Should be what you need. Just export the results of that and import on your other database. Or if that's the only server you have just export the whole adkats_settings table.

 

Only thing you need to make sure of is that the newly imported rows match the server ID of the server on your new database. But you can also modify the imported settings to match the server ID of your new server on that database. Run this on your new database after the import to update the server IDs on the settings.

 

update adkats_settings set server_id = newserverid where server_id = oldserverid

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

What kind of banreason is this exactly: "HSK Automatic Ban [LIVE][6-L-22-91]" ?

I guess that it was discussed in this thread before but I can't remember what it is.

It means he got 20 headshots in a row without using a sniper weapon. Plugin detected that and auto-banned him.

 

A LIVE HSK ban's last two numbers are kill count and headshot percentage, in this case 22 and 91% respectively.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

@ColColonCleaner

 

Hi, any in-game commands to add player to exist role?

There are no role management in-game commands at this time. I might be able to add some soon though.

 

Substring case-insensitive fetching of the matching role would be used.

The command would check if the target player was already assigned to a user, if so then that user's role would be changed to the given role, otherwise a new user would be created and assigned the given role then the player would be assigned to that user.

The same expiration entry as special player commands would be used, "perm" or a duration being required.

You would not be able to modify the role of a player that is higher power level then you currently are.

You would not be able to change your own role to one that is higher power level than you currently are.

You would not be able to assign a role to another player that is a higher power level than you currently are.

Link to comment

Originally Posted by SmackDown*:

 

Hello,

 

I have a question regarding our ban list. Our ban list that we currently have has over 20,000 players in it. When we first started to use adkats years ago, we upload a ban list that was comprised of bans in both BF3 and BF4. Now over the years it has grow to this size.

 

My question is does having such a large ban list cause excessive load on our BFadminCP page. Seems our website is starting to slow down at times and our web provider is saying that we have some program in our webpage that is using excess amount of RAM. Not sure if this is the correct issue or not, but I am wondering if I can improve performance if I start to delete some of these older bans. Some of this ban go back to 2013.

 

If deleting some of these ban would improve performance, can you advise the safest way to delete the older bans in my database. Only want to do this if you think it will help in reducing the resource load on my webpage.

 

Thank you for your help.

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

Originally Posted by Hodor*:

 

@ColColonCleaner

 

I hope to see something like this: /addrole [playername] [ROLENUMBER] [TIME/PERM]

Example: I want to add a player to the role that i created "High Admin", the role have shortname in adkats RLE3

Code:

/addrole ColColonCleaner rle3 perm
/addrole ColColonCleaner rle3 1d30m
/addrole ColColonCleaner rle3 1m2d1h
Possible? Are you want make the same? :cool:

 

 

Got error 7.0.1.0:

 

Code:

[21:26:51 54] [AdKats] EXCEPTION-7010-D-PlayerListingThreadLoop-PlayerListing13: [Error occured in player listing thread. Skipping loop.][System.ArgumentNullException: Der Wert darf nicht NULL sein.
Parametername: key
   bei System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   bei System.Collections.Generic.Dictionary`2.Remove(TKey key)
   bei PRoConEvents.AdKats.PlayerListingThreadLoop()]
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

@ColColonCleaner

 

I hope to see something like this: /addrole [playername] [ROLENUMBER] [TIME/PERM]

Example: I want to add a player to the role that i created "High Admin", the role have shortname in adkats RLE3

Code:

/addrole ColColonCleaner rle3 perm
/addrole ColColonCleaner rle3 1d30m
/addrole ColColonCleaner rle3 1m2d1h
Possible? Are you want make the same? :cool:

 

 

Got error 7.0.1.0:

 

Code:

[21:26:51 54] [AdKats] EXCEPTION-7010-D-PlayerListingThreadLoop-PlayerListing13: [Error occured in player listing thread. Skipping loop.][System.ArgumentNullException: Der Wert darf nicht NULL sein.
Parametername: key
   bei System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   bei System.Collections.Generic.Dictionary`2.Remove(TKey key)
   bei PRoConEvents.AdKats.PlayerListingThreadLoop()]
The standard for AdKats commands is duration first, then player name, then message. Duration needs to be first because without a player entered you target yourself. Messages need to be last because they can have multiple words. That doesn't really apply here since all 3 are needed always, but it's a standard to stick with.

 

It would likely be:

/setrole perm playername rolename

 

The role ID wouldn't be used because people wouldn't easily remember those. Setting someone to 'guest', or 'vip', or 'tier 2' is easy to remember.

 

As for that exception, it's always worrying to see them being thrown from player listing, since that is central to the plugin. Unfortunately that section is huge, and finding that without a line number will be difficult. I'll check the system on the server i'm currently helping and see if they've seen it there with a line number, but that check won't be possible until this weekend.

However, unless you're seeing that error consistently it shouldn't cause any visible issues on your system. That thread is designed to simply grab the next player list if there are any errors and just process that one instead. If that next one processes completely you'll only see a 5-10 second lapse in player data updates, which is basically nothing.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Hello,

 

I have a question regarding our ban list. Our ban list that we currently have has over 20,000 players in it. When we first started to use adkats years ago, we upload a ban list that was comprised of bans in both BF3 and BF4. Now over the years it has grow to this size.

 

My question is does having such a large ban list cause excessive load on our BFadminCP page. Seems our website is starting to slow down at times and our web provider is saying that we have some program in our webpage that is using excess amount of RAM. Not sure if this is the correct issue or not, but I am wondering if I can improve performance if I start to delete some of these older bans. Some of this ban go back to 2013.

 

If deleting some of these ban would improve performance, can you advise the safest way to delete the older bans in my database. Only want to do this if you think it will help in reducing the resource load on my webpage.

 

Thank you for your help.

If I remember correctly the banlist on the acp is paged, meaning it will only pull back what it needs to display. AdKats itself only fetches bans based on the player who is joining or being processed in the player list. We had around 40000 bans across BF3/BF4 and didn't notice slowness.

I do not think that the service prophet built holds the bans in memory, unless he did some kind of caching to improve performance. How much ram did your provide say was being used?

Link to comment

Originally Posted by SmackDown*:

 

If I remember correctly the banlist on the acp is paged, meaning it will only pull back what it needs to display. AdKats itself only fetches bans based on the player who is joining or being processed in the player list. We had around 40000 bans across BF3/BF4 and didn't notice slowness.

I do not think that the service prophet built holds the bans in memory, unless he did some kind of caching to improve performance. How much ram did your provide say was being used?

Server provider did not tell me how much RAM was being used. They were not very helpful in helping figure out why my webpage was slowing down. All they would say was that a program was slowing down the webpage and then mentioned that I could be maxing out my RAM.
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Server provider did not tell me how much RAM was being used. They were not very helpful in helping figure out why my webpage was slowing down. All they would say was that a program was slowing down the webpage and then mentioned that I could be maxing out my RAM.

They said you could be maxing out your ram but didn't tell you what your limit was or how much ram was being used? That's weird.

 

Anyway, is the ban page the only one that is having this slowness, or are other pages slow as well?

Link to comment

Originally Posted by SmackDown*:

 

They said you could be maxing out your ram but didn't tell you what your limit was or how much ram was being used? That's weird.

 

Anyway, is the ban page the only one that is having this slowness, or are other pages slow as well?

The whole website is slow. But what is weird, is that some times, there are no issues, but 10 minuets later, I cant connect to my own webpage or it is slow to load up.
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

The whole website is slow. But what is weird, is that some times, there are no issues, but 10 minuets later, I cant connect to my own webpage or it is slow to load up.

Hmm.

 

If you want to take the iron hammer route to figuring this out, you could make a brand new AdKats instance (just a new schema on your existing database) and connect it to just one of your servers. Then point your existing BFACP instance at that database and see if you experience the same performance issues with almost no data behind it.

Link to comment

Originally Posted by vagnus*:

 

hey can i ask something ? i want to put to my server something so when someone take a weapon or rocket or something i dont want to my server it will auto kill him .( but no when he uses it just when he deployes with it :smile: )

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

Originally Posted by ColColonCleaner*:

 

hey can i ask something ? i want to put to my server something so when someone take a weapon or rocket or something i dont want to my server it will auto kill him .( but no when he uses it just when he deployes with it :smile: )

myrcon.net/.../on-spawn-loadout-enforcer-for-infantryvehicles-adkatslrt
Link to comment

Originally Posted by vagnus*:

 

What did you mean by this? I don't understand.

dont worrie i resolved it ty anyway .

 

 

now i have other problem . i want to put my self something like head-admin . so other admins cant kick me or kill me or anything. is this possible ?

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

Originally Posted by ColColonCleaner*:

 

dont worrie i resolved it ty anyway .

 

 

now i have other problem . i want to put my self something like head-admin . so other admins cant kick me or kill me or anything. is this possible ?

To do that you need to make your role a higher power level than they are. Power level is determined by the number of regular/admin commands that a role has access to.
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.