Jump to content
  • 0

Plugin developer needet


ImportBot

Question

Originally Posted by DasHary*:

 

Hi,

im a little bit confused...

 

I need a Plugin for my PSE4 (playerstats engine for bf4 - http://26th.eu/subseiten/pse/) - it should check the players on my servers for there c-score (combination score).

They should get an configurable action if the value of c-score is higher than the configured value.

 

I have no idea how to program something like this, have only knowledge in web programming... hope i will find someone here who can do this?

 

The plugin should be able to do the following:

 

Check the player list in intervals (configurable in seconds)

The check should call the url http://26th.eu/subseiten/pse/api.php...e=%playername%

there are some values in json data type (name, updated, cscore...)

If the cscore higher than the configured value do the action configured. there should be some levels - Example:

C-Score 20 - 50 - Warn in chat

C-Score 50-99 - kick

C-Score >= 100 - tban 120

Values and actions should be configurable.

 

Is there somebody who can do this for me?

 

Or does somebody know how to set up insane limits for this?

 

Greetings

DasHary

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

10 answers to this question

Recommended Posts

Originally Posted by DasHary*:

 

Sorry leibhold, but what does this links have to do with my request?

It seems that it is not possible to call a website or an api with insane limits per limit. (web client call dont want to work in "code" area)

In procon rulz there is no module for webclient, so there isn´t it possible definitly.

i was allready inspecting the existing possibilities, tried code snippets over 20 hours, didnt get a result that works.

 

this is the reason why i calling for dev´s, not for getting some links to plugins that allready exist.

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

Originally Posted by leibhold*:

 

I makem mistake.

 

Anyway, if you don't have dev come onboard, look at showthread....0-1-0-14-1-13)*

 

in there is code for accessing web site (in this case battlelog) but should be adaptable for you to grab information from your web site.

If you ignore the sql stuff.

 

I am out of it this week but maybe next week have a chance to stare at it.

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

Originally Posted by DasHary*:

 

I makem mistake.

 

Anyway, if you don't have dev come onboard, look at showthread....0-1-0-14-1-13)*

 

in there is code for accessing web site (in this case battlelog) but should be adaptable for you to grab information from your web site.

If you ignore the sql stuff.

 

I am out of it this week but maybe next week have a chance to stare at it.

Yes, im already tried to examinate existing Plugins, like Battlelog Cache and Metabans, but it did not help, because i have no idea about the code, like i say´d - mainly im a Web Programmer, no C# and other Stuff.

SQL is no problem, is one of my specialities.

 

Just editing of the code will not be enough, because i need to 1st update the players data (just a call to the url), and get the data, parse it and doing the action with the result.

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

Originally Posted by ColColonCleaner*:

 

I would suggest looking into the BFAdminCP and looking at what's going on there. If you are already working in PHP just use what's coded there to connect to the server yourself from the web and run the commands you need. No need for procon to be the middle-man, just requires more work on your part for the web-side.

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

Originally Posted by DasHary*:

 

I would suggest looking into the BFAdminCP and looking at what's going on there. If you are already working in PHP just use what's coded there to connect to the server yourself from the web and run the commands you need. No need for procon to be the middle-man, just requires more work on your part for the web-side.

This is a interestant idea :smile:

i have already bfadmin cp in use and will look around there

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

Originally Posted by DasHary*:

 

I would suggest looking into the BFAdminCP and looking at what's going on there. If you are already working in PHP just use what's coded there to connect to the server yourself from the web and run the commands you need. No need for procon to be the middle-man, just requires more work on your part for the web-side.

@ColColonCleaner: THANKS for that Idea :smile:

 

Yesterday i build it.

Now its working so:

I call a php file per Web

the file gets the Server players per "LethaK's Frostbite-PHP-Framework" (later i will change it to the realtime playerlist from statslogger sql)

than it does a lookup in the PSE for the cscore or add the player if not exists

looking in the statslogger table wich id the player has

if cscore is higher than 100 the player will be kicked (per php rcon) and a ban is injected to the adkats banlist and records table

 

works wonderful :smile:

 

but, one thing is left, is it possible to edit adkats so that it loads the php file after a new player is inserted into db?

where and how can i edit this?

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

Originally Posted by ColColonCleaner*:

 

Wait, all you wanted to do was issue bans on people? With AdKats running you just create a new record in the adkats_records_main table with an adkats_read of 'N' and the plugin runs whatever command you want, kicks people, bans them, or whatever you told it to. You don't need to manually kick them, the plugin handles that.

 

To make the plugin itself do this checking, you would need to modify the player statistics fetching portion of the plugin. Instead of pointing things at battlelog, point it at your custom site. Or just also check your custom site along with battlelog.

 

What issues have you found with the default hacker-checker?

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

Originally Posted by DasHary*:

 

Wait, all you wanted to do was issue bans on people? With AdKats running you just create a new record in the adkats_records_main table with an adkats_read of 'N' and the plugin runs whatever command you want, kicks people, bans them, or whatever you told it to. You don't need to manually kick them, the plugin handles that.

 

To make the plugin itself do this checking, you would need to modify the player statistics fetching portion of the plugin. Instead of pointing things at battlelog, point it at your custom site. Or just also check your custom site along with battlelog.

 

What issues have you found with the default hacker-checker?

nono, i just need a way for calling the php file if the player joins, all ather things (getting stats, process them, ...) will be done by the file itself.

 

but the problem is the timing. the player needs to already exist in the statslogger db (so i can get the ID for adkats actions).

when statslogger knows the player, he is already there, with the id, name and so on - a web client call from it would do the thing.

 

but i need a hint where i can place the web client code for executing it.

 

from statslogger or adkats doesnt matter, just need to call the adress when a new player is joined.

 

>create a new record in the adkats_records_main

just in the records? i do a entry in this AND the ban list (with referece to the record), it works good - isn´t this correct?

 

>What issues have you found with the default hacker-checker?

Its a nice tool for realtime checks, but my way blocks the cheater before he can do things that the hacker checker would find.

Something like this would be banned before he can use his aimbot on my servers: http://26th.eu/subseiten/pse/p.php_p=-Lg-ShadyNZ

 

There is nothing further what i need, except this webclient call.

Just need to load the website, nothing else.

 

(sorry, my english is really bad ^^)

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

Archived

This topic is now archived and is closed to further replies.



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