Jump to content
Sign in to follow this  
ImportBot

Ban Manager (V.1.0.3.1)[rework of CRemoteBanlist V 1.0.0.11]

Recommended Posts

Originally Posted by DaMagicWoBBeR*:

 

Hi,

 

this plugin is a rework of MorpheusX(AUT) CRemoteBanlist V 1.0.0.11. For more information have look at www.phogue.net/forumvb/member...MorpheusX(AUT)*. Both plugins uses a SQL-database to store the baninformation but in different tables so the admin webpage from MorpheusX(AUT) post is not compatible. This plugin will not delete or do any changes on CRemoteBanlist datatable.

 

The Plugin has own ingame commands. To get the information banning admin you need to use the plugin ingame commands. Please backup all your ban files before starting the plugin because its beta. Please set the banlist empty option to YES, so it should work with pb-ban with more than 100 entries.

 

So test it and please report bugs.

If you use GUID, Stats and Mapstats Logger [bF3] plugin, use the same database for banmanager

 

BanManagerV1031.zip

 

Changelog:

V 1.0.3.1

- fixed spamming PlugIn Console

 

V 1.0.3.0

- fixed a bug where ingame command doesn't worked

- fixed PunkBuster Problem where the wrong BanLength Type got written into database

- added option to disable Punkbuster Bans written into database (PB-Bans still working)

- added support for MySQL ODBC Driver 5.2

 

V 1.0.2.0

- compatible with Webpage

- add one more table to database

- change default value from eaguid to guid in database bantype

- change default value from 1 to 0 in database servergroup

- you need to change this values manuell in our database if you used version 1.0.0.0 or delete the database

 

V 1.0.0.0

- first release

 

Changelog Webpage

V 1.1

- added import function from cremotebanlist

 

V 1.0

- first release

 

 

Beta Section

 

Beta Version are only for testing purpose.

Backup all you banlists. Use a different database for betaplugins!!!

 

 

Procon Plugin

 

V 1.1.0.0 beta

- changed from ODBC to .net connector

- changed database design

- query game port is needed for live scoreboard for the webpage

- import functions for cRemoteban list and old database are only added via webpage now. iam working to add it to plugin

- old webpage not compatible with this version.

 

BanManager_V1.1.0.0_beta.zip

 

Webpage

 

V 2.1b:

- changed needed rights to 755 instead of 777 for install and config php

 

V 2.1a:

- fix issues with languagepack

- add multi-language support

HowTo Upgrade:

 

2.1 -> 2.1a: Upload and replace all files excluding config.php

 

anyversion -> 2.1a: Delete all files excluding config.php and upload the newversion

V 2.1

- add german as second language

- fix some issues

 

V 2.0 c

- fix some bugs

 

V 2.0 b

- fix userlist error with mysql reserved keyword

 

V 2.0 a

- add port to database so an other dbport can insert

- fix error with password in database

 

webpage_banmanager_v2.1b_beta.zip


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

Share this post


Link to post

Originally Posted by dyn*:

 

Quick post to see if anyone is still using this? Looking for a solution to share bans across multiple servers -- this should do the trick.


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

Share this post


Link to post

Originally Posted by Dudenell*:

 

Quick post to see if anyone is still using this? Looking for a solution to share bans across multiple servers -- this should do the trick.

If they are all running on the same layer then here's a easy plugin. I cannot comment on this one though.

www.phogue.net/forumvb/showth...er-BC2-MOH-BF3*


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

Share this post


Link to post

Originally Posted by DaMagicWoBBeR*:

 

Don't forget to give us some feedback. Report bugs and/or some features that you are missing. Maybe we can add some of your wishes.


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

Share this post


Link to post

Originally Posted by Hutchew*:

 

Even with Debug-0, this is spamming the console every few seconds.........Any way to turn it all off?

 

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked

[00:27:56 70] BanManager: Full debug: player already checked


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

Share this post


Link to post

Originally Posted by Hutchew*:

 

Hmmmmmm..........How to import our 2500+ line banlist from RemoteBanlist into Banlist Manager...........?

 

Table structure is different, so an export/import failed..........am I doing something wrong?

 

TIA,

 

Hutchew


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

Share this post


Link to post

Originally Posted by DaMagicWoBBeR*:

 

Try version 1.0.3.1 for the spamming problem, if its still spamming go to your procon config folder open the "server_ip_port".cfg and search for the line procon.protected.plugins.setVariable "BanManager" "Fulldebug", delete it and restart the procon server. Let me know if the problem is fixed. For your second Problem we are working on a solution within the Webpage.


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

Share this post


Link to post

Originally Posted by Hutchew*:

 

That's a fix for the spamming.........Thanks!

 

As our banlist is functional in remotebanlist, I am going to leave banmanager turned off for now so it doesn't start filling it up (I assume errors in ID primary keys when we import the old into the new).

 

Please let me know when you have an import function ready to test.

 

Thanks again,

 

Hutchew


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

Share this post


Link to post

Originally Posted by Hutchew*:

 

Wishlist:

 

We currently run a limit in InsaneLimits which basically gives our admins preset reasons for any kill/kick/tban/ban and that is all they are allowed to use (it enforces consistent and fair admin'ing practices). They are not allowed to "make up" or "improvise" reasons.

 

This also coincides with our rules in the "server rules on request" plugin (where you can "send" a specific rule to a player or entire server).

 

So for example, Rule # 1 is Admin and/or server abuse is forbidden on this server. If an admin wants to kick or ban a player for that reason, he simply types in "!bb 1" and it will ban that player for reason "Admin or server abuse is forbidden on this server!"

 

YadaYadaYada.......we shouldn't have to restrict our admins and if we don't trust them to be fair and consistent, they shouldn't be admins........Yeah, I know. In a perfect world, maybe. With this in place, it just makes it a lot easier to keep our junior admins consistent and be able to track exactly what they are doing in the wee morning hours when no senior admins are around.

 

So now I see these in-game admin commands built into the banmanager, and think to myself.............."self, if they were to add "reasons" for these in-game commands, that would be like the best thing ever..........!"

 

Let me know if you want to discuss, or see first hand how our current system works.

 

Hutchew


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

Share this post


Link to post

Originally Posted by DaMagicWoBBeR*:

 

ok that should be possible to implement but are all of your admins only allowed to ban with the given reasons or is there a whitelist for your "senioradmins"_.


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

Share this post


Link to post

Originally Posted by Hutchew*:

 

All admins use the same reasons in-game, only some Sr. Admins have procon layer admin access, but as they are Sr, their judgement is allowed.

 

All clan tagged members currently have admin rights, so the ability to use that to give permissions would work for us, rather than a whitelist. On the other hand, It might be nice to be able to give different levels of admin capabilities to Jr. Admins vs. Full admins vs Sr Admins. That would have to be set up with whitelists, but still very do-able.

 

I don't really want Jr admins to have the ability to unban; I leave that to Sr. Admins, and it would be nice to limit Jr admins to temp-bans only, too.......

 

So the more I think about it, yeah, it would be nice to have different levels of admin rights.

 

Lol, always something.........

 

Hutchew

 

Edit: I would recommend; if you do implement whitelists, you set them up to be one name per line instead of names separated by comma's. Make it tons easier to copy/paste from a spreadsheet, and edit later on........... If there was any one thing I could change about insanelimits, that would be it.


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

Share this post


Link to post

Originally Posted by DaMagicWoBBeR*:

 

I take the privileges of every admin set in procon, so if someone is not allowed to ban via procon he/she should also not allowed to ban via the plugin. Same with all other command except unban because there is no option in procon to set unban rights (everybody who is allowed to ban can also unban). Maybe I will remove the command cause its not that important to unban a player via ingame command.

 

Same with all other command except unban because there is no option in procon to set unban rights (everybody who is allowed to ban can also unban).

I see thats not right and i also implemented this. If someone is allowed to edit the banlist he can unban players, not if he is allowed to ban.

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

Share this post


Link to post

Originally Posted by Hutchew*:

 

Actually, removing the in-game unban command would be better anyway, as we do our unbans through the webpage. Or, to be able to leave it in, we could just change the command to something else and just not publish it to our admins.........

 

So, would in-game admin still have to be turned on? That would kinda defeat the purpose of the plugin, as "Admins" could use the built in commands to get around using the plugin commands. Or do I not understand?


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

Share this post


Link to post

Originally Posted by DaMagicWoBBeR*:

 

To disable unban command you can leave it empty . The same is for the Ingame Admin Plugin. Clear the commands which you want to disable for this plugin so everybody has to use the Banmanager commands to kick ban roundban or timeban and so on. But you need to let ingame admin enabled to switch maps and players and so.


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

Share this post


Link to post

Originally Posted by Hutchew*:

 

Ah, Ok......Why didn't I think of that.......lol

 

Alright, well, still kind of a moot point until I can import the remotebanlist data into banmanager.........

 

patiently waiting............lol............ :smile:


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

Share this post


Link to post

Originally Posted by DaMagicWoBBeR*:

 

Next week we will release a new version of the webpage with an importfunction for the cremotedatabase.


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

Share this post


Link to post

Originally Posted by schmoove*:

 

I have installed this plugin, the !b or any of the other ban commands do not seem to work right, if I issue the !b playername command I get nothing returned, no one gets banned, nothing is logged in the ban list or the mysql tables. If I do the same command but spell the players name wrong it comes back with player not found, so I know it is seeing the command.

I think the problem is in the mysql connection with the ban manager but I don't see any errors in debug mode. Is anyone using this and have it working properly?


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

Share this post


Link to post

Originally Posted by Hutchew*:

 

We tried it, but due to lack of updates/support, have gone back to the remotebanlist plugin, which for all intents and purposes, does a fine job. YMMV

 

Hutchew


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

Share this post


Link to post

Originally Posted by DaMagicWoBBeR*:

 

I have installed this plugin, the !b or any of the other ban commands do not seem to work right, if I issue the !b playername command I get nothing returned, no one gets banned, nothing is logged in the ban list or the mysql tables. If I do the same command but spell the players name wrong it comes back with player not found, so I know it is seeing the command.

I think the problem is in the mysql connection with the ban manager but I don't see any errors in debug mode. Is anyone using this and have it working properly?

I need some more information. What Version of Procon, Ban Manager are you using? What MySQL ODBC 5.1 Driver is set in the plugin and what Version are you using? Normally there must be an error message in the plugin console if something iss wrong with the connection to mysql database. Whats about the other commands like kick and slay?

 

We tried it, but due to lack of updates/support, have gone back to the remotebanlist plugin, which for all intents and purposes, does a fine job. YMMV

 

Hutchew

I dont know what you mean. You had the spam problem and i fixed it immediately. You wanted an import function we added it to the webpage and no feedback if its working or not. So i think the only problem is a lack of feedback, cause what should i update if i dont know whether the plugin is working correctly or not. So a little bit of gratitude would be nice. And the cremoteban list is no more updated at the moment as far as i know.

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

Share this post


Link to post

Originally Posted by Hutchew*:

 

WoBBer, I do appreciate your attempts to satisfy our needs. Don't think for a second I don't. Without developers such as yourself, we would be lost in this trainwreck of a game. There's your gratitude, and it is definitely heartfelt.

 

But, you never said that there was an update available, so I Ass-U-Me-ed that nothing had been done on it. So maybe we are both a bit lacking in communication skills; I didn't want to pester for updates, and you didn't convey that you had made any.

 

And you are correct; remotebanlist is not being updated, and Liebhold has directed further development towards your version. What will it take to be able to use your plugin with Liebhold's webpage? It's the bomb for searching chatlogs, players, bans, etc......

 

I will re-install forthwith and let you know how it does. It may be a week or two: RL is being a pain in my arse atm.

 

Thanks again,

Hutchew


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

Share this post


Link to post

Originally Posted by Jamesonp*:

 

I'm currently trying this out. I'll update with my feedback.

 

Thanks for doing this

 

Edit:

 

I'm receiving this error when starting the plugin:

 

Exception while CheckDatabase: System.Data.Odbc.OdbcException: ERROR [iM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

at System.Data.Odbc.OdbcConnection.HandleError(OdbcHa ndle hrHandle, RetCode retcode)

at System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcCo nnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle)

at System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConn ection outerConnection, OdbcConnectionString connectionOptions)

at System.Data.Odbc.OdbcConnectionFactory.CreateConne ction(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)

at System.Data.ProviderBase.DbConnectionFactory.Creat eNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)

at System.Data.ProviderBase.DbConnectionFactory.GetCo nnection(DbConnection owningConnection)

at System.Data.ProviderBase.DbConnectionClosed.OpenCo nnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)

at System.Data.Odbc.OdbcConnection.Open()

at PRoConEvents.BanManager.CheckDatabase()

 

In my ODBC Data Sources, I'm showing the following driver: MySQL ODBC 5.2w Driver

 

OS:

Windows Server 2008 x64

 

Can you provide some insight into what may be causing this?


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

Share this post


Link to post

Originally Posted by DaMagicWoBBeR*:

 

Its a problem of the plugin. For now you need to switch back to ODBC 5.1. I will fix it so that there is no need of ODBC Driver anymore like BF3 Chat, GUID, Stats and Mapstats Logger


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

Share this post


Link to post

Originally Posted by Jamesonp*:

 

Copy that, thanks!


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

Share this post


Link to post

Originally Posted by dyn*:

 

Hello,

 

I'm having some problems with the ban manger:

 

- Temp bans which are added via EA GUID do not appear to have any way to be removed. There is no way to click on them for further investigation.

 

- I banned myself for testing purposes and now it will not unban me. The error that I receive is:

MySQL error1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '='' AND bantype=''' at line 1

 

OK - -1 - Players Unbanned

- Miscellaneous mysql errors throughout the website. They were suppressed by turning off mysql errors in .htaccess.

 

Thoughts?


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

Share this post


Link to post

Originally Posted by DaMagicWoBBeR*:

 

OK I think you mean the webpage? Delete the ban direct in the database. We will have a look into the code of the Webpage to fix this.


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

Share this post


Link to post

Originally Posted by dyn*:

 

OK I think you mean the webpage? Delete the ban direct in the database. We will have a look into the code of the Webpage to fix this.

Yup. That's just what I did: Go into the DB and delete the ban that way. Worked without incident. thanks!!

 

Also seeing another issue in that the plugin feed on procon is stating that it's kicking 2 people over and over again. However, these players are not actually joining our server. They haven't even played on any server in over a week.

 

[12:56:56 64] BanManager: Kicked PLAYER1 for hacking cheating (Admin)" permanent

[12:56:56 75] BanManager: Kicked PLAYER2 for "? permanent

[12:58:27 93] BanManager: Kicked PLAYER1 for hacking cheating (Admin)" permanent

[12:58:28 06] BanManager: Kicked PLAYER2 for "? permanent

[12:59:59 21] BanManager: Kicked PLAYER1 for hacking cheating (Admin)" permanent

[12:59:59 33] BanManager: Kicked PLAYER2 for "? permanent

Edit for more details!! The double kicking is only happening on one server. Also, I went into the DB and manually deleted the bans for PLAYER1 and PLAYER2 so not sure why the plugin wants to continually kick them out or trying to enforce bans when they're not even connected to the server.

 

I also went and disabled / restarted the plugin on the server that is having problems. No difference -- still having the same issue.

 

Thanks!


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

Share this post


Link to post

Originally Posted by DaMagicWoBBeR*:

 

How many databases are you using for the different servers? For testpurpose could you try another database for server with the problems? Cause I'm not sure if its a problem of the plugin.

But normally you should only use one for all servers to get global ban working.


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

Share this post


Link to post

Originally Posted by dyn*:

 

How many databases are you using for the different servers? For testpurpose could you try another database for server with the problems? Cause I'm not sure if its a problem of the plugin.

But normally you should only use one for all servers to get global ban working.

I am using one database. It shares the DB with XP's stats logger. No prefix. All servers are connected to the one DB. Will try the new DB soon.

 

TY


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

Share this post


Link to post

Originally Posted by Hutchew*:

 

What will it take to be able to use your plugin with Liebhold's webpage? It's the bomb for searching chatlogs, players, bans, etc......

 

Thanks again,

Hutchew

Duh, Nevermind.......... We'll get it going and report back..........

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

Share this post


Link to post

Originally Posted by DaMagicWoBBeR*:

 

Its not possible for the moment. We also could need some support for the Webpage, so if anyone feel free especially design ^^. But at the moment iam changing the plugin connection from odbc connector to .net connector, so there will no more need of odbc driver with this plugin (hope it also will work with mono & linux).


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

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Our picks

    • 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

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

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