Jump to content

Access Restriction (v1.0.5.1 - 01.01.2011)


ImportBot

Recommended Posts

Originally Posted by MorpheusX(AUT)*:

 

Installation

 

Copy AccessRestriction.cs source file to your Plugins/BFBC2 directory

 

Description

 

Please be aware that the use of this plugin might break the BFBC2 Rules of Conduct (found here: http://forums.electronicarts.co.uk/batt ... nduct.html). Please ensure you have read and understood those rules before using the plugin!

Access Restriction shall bring an automatic system, which allows a server admin to set limitations in server-access. The plugin contains four mechanisms, which each allow to restrict access to a special field.

 

Details

 

RankKicker

RankKicker kicks players, whose rank is higher than the one defined by the server admin. Thus, providing a 'noob only'-Server shall get much easier than it was before.

 

AccessLimitation

AccessLimitation lets the admin set a list of allowed players and/or Clantags. Any other player, who joins the server and is not in one of those lists (if both lists are activated, a player just needs to have either a valid Clantag or a valid name) , will get kicked or banned.

 

ClanTagModeration

ClanTagModeration can be used to prevent the abuse of a Clantag. Once a Clantag is added to the list of moderated Clantags, each Player allowed to wear the tag must be added to a seperate list. If a player joins the server, wearing a specific tag, but not being in the list of allowed clan players, he will get kicked or banned.

 

DisallowedClanTags

DisallowedClanTags provides the feature to keep players wearing a specific Clantag off your server. The administrator can choose whether to kick or ban those players, and thus saves a lot of time adding new players to his banlist.

 

Setup & Configuration

 

Please read the plugin's description.

 

Changelog

 

  • 1.0.5->1.0.5.1

    - restructured some parts of the code

    - added an automatic data-clearing method

    - improved the old data-clearing method to make it more effective

    - added a clan tag whitelist to RankKicker[/*:m:1vbf2xvk]

  • 1.0.4 Hotfix->1.0.5

    - fixed a bug resetting the plugin's variables when restarting PRoCon

    - added optional GUID-Banning[/*:m:1vbf2xvk]

  • 1.0.4 Hotfix

    - fixed a bug not allowing to enable RankKicker[/*:m:1vbf2xvk]

  • 1.0.3->1.0.4

    - added "RoC read and accepted" to be checked before using the plugin

    - fixed two minor bugs in the RankKicker-Code

    - added "DisallowedClanTags"[/*:m:1vbf2xvk]

  • 1.0.2->1.0.3

    - small bugfix in OnListPlayers-RankKicker-Code[/*:m:1vbf2xvk]

  • 1.0.1->1.0.2

    - plugin-rename from "RankKicker" to "Access Limitation"

    - fixed the "Ban after X Kicks"-Feature of RankKicker

    - added AccessLimitation

    - added ClanTagModeration[/*:m:1vbf2xvk]

 

Download: http://www.phogue.net/forumvb/attach...1&d=1293900084

* Restored post. It could be that the author is no longer active.
Link to comment
  • Replies 87
  • Created
  • Last Reply

Top Posters In This Topic

Originally Posted by Flyswamper*:

 

As I said in the other thread, I personally believe that using the AccessLimitation logic on ranked servers violates the spirit (if not the rules themselves) of the policies/rules for ranked battlefield servers. Kicking any player that is not in the approved/whitelist is no different than passwording the server from a practical point of view. It is no longer a publicly available server and therefore should not qualify for ranked server status.

 

I would suggest that the code be modified so that this feature could only be run when server is in unranked mode.

 

At least that is how I see it... others may view it differently...

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

Originally Posted by MorpheusX(AUT)*:

 

I am aware of this, but just implemented user's wishes.

I will at least add a "I understand that restricting access violates the EA RoC"-Check in the next release, the Plugin won't run withough it being ticked. Thus, the server admin can decide for himself if he wants to use the feature or not.

Worst case I am gonna nail the AccessLimitation down to unranked Servers.

 

EDIT: BTW, limiting the access to gameservers doesn't violate the EA RoC... There is no paragraph about access restriction to certain players or stuff. See: EA UK Forums

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

Originally Posted by blactionhero*:

 

Restricting access to clan members or to only desirable clients is not a breach of the RoC. Saying that it is accomplishes nothing more than tarnishing this feller's new addon.

 

I understand the point you're making, Flyswamper. This plugin isn't technically denying connections though - it's kicking people who the admin doesn't want on the server. An admin can do this anyway without violating anything. By your logic, a ping kicker, country kicker, etc. would also be in violation.

 

P.S.: The RoC are ridiculous and make me angry. Just sayin'.

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

Originally Posted by Flyswamper*:

 

Restricting access to clan members or to only desirable clients is not a breach of the RoC. Saying that it is accomplishes nothing more than tarnishing this feller's new addon.

Look, I'm not trying to tarnish anything. I am simply pointing out that *I believe* using this violates the SPIRIT of the RoC. I felt that it would be useful to point that out. I'll be the first to concede that the RoC don't specificially address this sort of plugin/situation. As I said, it is my OPINION that it does violate the spirit of them though...

 

I understand the point you're making, Flyswamper. This plugin isn't technically denying connections though - it's kicking people who the admin doesn't want on the server. An admin can do this anyway without violating anything. By your logic, a ping kicker, country kicker, etc. would also be in violation.

No... they are quite different. This plugin deny's (by default) the ability for anyone except those on the approved list to play in the server. Although the mechanics are different, the outcome is exactly the same as if you had passworded the server and only distributed the password to the players on the approved list. This plugin, for all practical purposes, creates a passworded server situation.

 

This is quite different than the situation where a server is open to any/all players until they are deemed as troublemakers (for whatever reason) by admin.

 

P.S.: The RoC are ridiculous and make me angry. Just sayin'.

I undertand your feeling but.... they exist nonetheless. And, if someone chooses to ignore them and still have a ranked server, they run the risk of having their server de-ranked should EA ever decide to take action (fat chance of that in most cases).

 

Again.... I don't point this out to cause anyone here trouble. Quite the contrary, I point it out so that people give this some thought and make their choices from a somewhat more informed position.

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

Originally Posted by MorpheusX(AUT)*:

 

As said before, I respect your thoughts, but still just created a "tool" for an admin. What he/she does with it, is up to him.

Next release will include a mentioned message, pointing out that a admin should read the RoC and that this plugin might break some rules, or the "idea" behind some rules.

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

Originally Posted by MorpheusX(AUT)*:

 

Access Restriction v1.0.4 is released, including a "RoC read and accepted"-Check (just to make sure the admin is aware that he might be breaking some rules) and the requested "blacklist" for clantags.

 

Please report any issues or bugs found in this thread!

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

Originally Posted by SinBad-OTF*:

 

Wasn't able to set RankKicker to 'On' in Version 1.0.4, and yes, I set the BFBC2 RoC to 'Yes'. When I used the pull down menu to select 'Yes' at the bottom it said that setting was set to yes but the pull down menu went back to 'No'

 

Tested Version 1.0.3 and it works fine (although it says version 1.0.2 in the details).

 

Just using the rank limiter, which was a setting in BFBC2, but doesn't work as we all know.

 

//SinBad

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

Originally Posted by SinBad-OTF*:

 

Cool! I can change the setting to allow RankLimiting. Thanks for the plug-in!

 

Note: Be careful if running multiple servers from one instance of ProCon. Accidentally enabled the plug-in our our regular server when it was full.. OOPS!

 

//SinBad

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

Originally Posted by MorpheusX(AUT)*:

 

Note: Be careful if running multiple servers from one instance of ProCon. Accidentally enabled the plug-in our our regular server when it was full.. OOPS!

 

//SinBad

Hehe, I did that while the first stage of testing, and had a nice bug in the stats-requesting. Result: 32 Players kicked in 1 second. At least, the plugin is fast :P
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Jaythegreat1*:

 

When I restart my procon layer, I lose all my settings and the RoC is set to no. Anyway to have this plugin keeps the settings after a restart. It would be a major PITA, to keep re-entering this stuff on 3 servers.

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

Originally Posted by MorpheusX(AUT)*:

 

Version 1.0.5 released. It will also be available via Package Management System.

I hope I found the mentioned bug... Should be working now.

Please report back if the error still occurs.

 

Furthermore, I added the feature to ban players using their GUID, so they can't join the server with another soldier.

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

Originally Posted by MorpheusX(AUT)*:

 

New version released!

Please update to this version to reduce lags caused by Access Restriction!

See the first post for a changelog.

The update will also be available via PRoCon Package Management in short time.

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

Originally Posted by EBassie*:

 

MorpheusX(AUT),

 

thanks for this great plugin.

 

Got a request though:

Is it possible to use the reserved slots as a whitelist for players for the "Access Limitation" option?

In this way you don't have to edit the accounts on multiple places.

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

Originally Posted by MorpheusX(AUT)*:

 

I must say I have no idea if this is possible. Have to look into it closer...

The whole plugin needs a bit of restructuring since it uses the older Plugin API, which is more ineffective.

But this will take several days or weeks. I got very little time due to university at the moment, and CheaterAlert eats up most of this currently.

I will see if I can implement that quickly. If not, I am sorry to say, but you would have to wait the about the first week of February.

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

Originally Posted by Phil_K*:

 

Hi.

 

I must say I have no idea if this is possible. Have to look into it closer...

Just to give you a hint, take a look at

Code:

OnReservedSlotsList(List<string> soldierNames) { }
Hmm.. that reminds me to get more familiar with plugin structures.

:smile:

 

Greets

Phil.

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

Originally Posted by Phil_K*:

 

Hi.

 

Oh. that was easy :lol:

When does this get thrown? Every now and then, or just when someone is added or the plugin is loaded?

:ohmy:

Actually only on every reservedSlots.list command and not in addition to

reservedSlots.addPlayer or .removePlayer.

 

To get sure to get all changes monitor for

Code:

OnReservedSlotsPlayerAdded(string soldierName) { }
OnReservedSlotsPlayerRemoved(string soldierName) { }
too.

 

Greets

Phil.

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

Originally Posted by EBassie*:

 

I will see if I can implement that quickly. If not, I am sorry to say, but you would have to wait the about the first week of February.

I'm not in a hurry. It was just a suggestion. I think I saw it with another plugin and thought it might be handy :smile:

 

Edit: yeah, found it: The weaponlimiter uses reserved slot as whitelist. :smile:

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

Originally Posted by MorpheusX(AUT)*:

 

This plugin appears to be broken. Is there a fix or another workaround?

Could I get a bit more information? Browsing through all nearly 1700 lines of code to find a bug, which I don't even know if it exists is a bit stupid 8-)
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by MoFo*:

 

I've got the plugin settings set properly I believe, it simply does not kick anyone who enters the server over the specified rank. No other detail than that. It's not working for me. ROC read and accepted set to Yes, Rank Kicker set to on, rank limit set to 30.

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