Jump to content

Battlefield Admin Control Panel - BFACP


Message added by Prophet731,

Version 2.3.0 and 3.0 will only be offered as a SaaS solution. Please redirect all discussions regarding these versions to EZSCALE's discord channel. 

https://discord.com/channels/905179054527905823/1043276850694201375/1043276850694201375

Recommended Posts

Hi, I'd like to change some links like Metabans etc. but I can't manage to find the right file to change.

Could you give me a hint ? Also is there a chance for a finished new version of Admin CP ;) ?

Thx in advance.

 take a look at these 2 files :-

 

/app/bfacp/Battlefield/Player.php

/app/lang/en/player.php

 

(make backups before editing)

Link to comment
  • Administrators

 take a look at these 2 files :-

 

/app/bfacp/Battlefield/Player.php

/app/lang/en/player.php

 

(make backups before editing)

 

Thanks for posting that. I completely forgot to answer his original question. Whoops.

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
  • 2 weeks later...
  • Administrators

Little update. Version 3 is coming along fine, still no eta. However, I wanted to share what the guest view will look like. Below is a screenshot of what will be viewable to the guest user. I'm making a change to where you need to be logged in to see the actual dashboard. There will be loads of permissions that you will be able to set for the content that a user group will be able to see. Player reputation will also be displayed on here for the guest view but I haven't gotten that far yet. What you see below is what will be shown. The data is cached for 10 minutes so as to not hit the database every single time but not too short will the info will be dated quickly.

 

 

 

c9700271a772eba80b32807363fe35cd.png

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

Another update for Version 3

 

I'm working on the dashboard page for logged in users. I'm adding what I think would be useful but I wanted to know if other people have suggestions on what to put on here.

 

0de95ff0038f3878f02029420685bdec.png

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
  • 2 weeks later...
  • 2 weeks later...
  • Administrators
4 minutes ago, angujo said:

I need a help, I have installed bfacp https://stats.clanbr.com.br, the problem is that even though I have Administrator permission, I can not register special player, add players to the ban list, some functions do not appear even having all the privileges.

Any tips?

Thank you!

First thing, what PHP version are you running?

 

I see you're running version 2.0.2. If you are able to, I recommend installing the last version I made which is a development version. See here.

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
36 minutes ago, Prophet731 said:

First thing, what PHP version are you running?

 

I see you're running version 2.0.2. If you are able to, I recommend installing the last version I made which is a development version. See here.

https://stats.clanbr.com.br/info.php 5.6


Install a new version, but encounter another problem trying to log in:
'adkats.bfacp_user_role' does not exist, maybe I will delete the bfacp tables if I need to install from scratch.

Just 1 more
Link to comment
  • Administrators
1 minute ago, angujo said:

https://stats.clanbr.com.br/info.php 5.6


Install a new version, but encounter another problem trying to log in:
'adkats.bfacp_user_role' does not exist, maybe I will delete the bfacp tables if I need to install from scratch.

Ok that's good. You're on 5.6.

Do you have command line access? I would suggest installing the one I mentioned. That's the most stable one, even though it's a development version. There are some bugs in 2.0.2 that are fixed in 2.1.

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
  • Administrators
1 minute ago, angujo said:

Yes, i do.

I put on log when i was installing.

LOG_BFACP.txt 20.51 kB · 1 download

Alright, well I see 1 error which can be solved easily since you're running root (which I don't advise btw ;))

1) Wipe all tables that start with bfacp_ in your database.

2) Next install memcached. I'm assuming you're running a Ubuntu installation, otherwise please find the ones for your distro for memcache.

yum install memcache php-memcached

3) Update your .env file and add these entries

CACHE_DRIVER=memcached
SESSION_DRIVER=memcached
SESSION_LIFETIME=120

4) Next run these commands. I know you ran the composer install already but this just removes all the dev packages that don't need to be there.

composer install --no-dev --no-scripts --prefir-dist && \
chmod -R 0777 storage public/js/builds && \
php artisan migrate --force && \
php artisan db:seed --force && \
php artisan optimize

If you have any issues with any of these steps please let me know.

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
25 minutes ago, Prophet731 said:

Alright, well I see 1 error which can be solved easily since you're running root (which I don't advise btw ;))

1) Wipe all tables that start with bfacp_ in your database.

2) Next install memcached. I'm assuming you're running a Ubuntu installation, otherwise please find the ones for your distro for memcache.


yum install memcache php-memcached

3) Update your .env file and add these entries


CACHE_DRIVER=memcached
SESSION_DRIVER=memcached
SESSION_LIFETIME=120

4) Next run these commands. I know you ran the composer install already but this just removes all the dev packages that don't need to be there.


composer install --no-dev --no-scripts --prefir-dist && \
chmod -R 0777 storage public/js/builds && \
php artisan migrate --force && \
php artisan db:seed --force && \
php artisan optimize

If you have any issues with any of these steps please let me know.

Ubuntu, yes i do, but i am using mysql server and not memcache, 
Is there any difference in the installation?

Just 1 more
Link to comment
  • Administrators
Just now, angujo said:

Ubuntu, yes i do, but i am using mysql server and not memcache, 
Is there any difference in the installation?

memcache is a caching driver that's uses your server RAM. This is faster than using the mysql cache.

You still need mysql.

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
  • Administrators
Just now, angujo said:

Not generating as bfacp tables, can generate manually?

You need to run the migrate command.

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
7 minutes ago, Prophet731 said:

You need to run the migrate command.

 


It worked, thank you ,  but I had to remove all tables, but forgot to make users bakcup lol.

Shouldn't you create a default user (username: admin, password: password)?

It was not generated in the table nor generating the seeds.

Edited by angujo
Just 1 more
Link to comment
  • Administrators
1 minute ago, angujo said:

now coming back to the same problem, i can't add or remove special players or ban list.

image.png

image.png

I can't remember if I made the add button to the special players page. Let me look at the code base.

As for the ban list, bans are done on the players profile. The ban list is used for editing or deleting.

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
1 minute ago, Prophet731 said:

I can't remember if I made the add button to the special players page. Let me look at the code base.

As for the ban list, bans are done on the players profile. The ban list is used for editing or deleting.

 "As for the ban list, bans are done on the players profile. The ban list is used for editing or deleting."   = OK

Just 1 more
Link to comment
  • Administrators

@angujo

So, I looked through the code base. I never added that ability to add a special player unfortunately. Only the ability to change their group. This was like 80% completed before I stopped working on it for a couple years. So for now you just have to add players via AdKats until version 3.0 comes out.

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
40 minutes ago, Prophet731 said:

@angujo

So, I looked through the code base. I never added that ability to add a special player unfortunately. Only the ability to change their group. This was like 80% completed before I stopped working on it for a couple years. So for now you just have to add players via AdKats until version 3.0 comes out.

Ok, no problem, understood. i will use via adkats. Thank you very much ! 

Just 1 more
Link to comment
  • 2 weeks later...
  • Administrators
1 minute ago, chll1988 said:

Can this be installed in the apache environment? I changed the SQL and opened the page prompting a 403 error.

Yes, it support Apache. Make sure you have mod_rewrite enabled.

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
  • Administrators
36 minutes ago, chll1988 said:

I don't know much about programming. I don't know where I went wrong, I enabled the mod you said. It still prompts a 403 error.

You are pointing the document root to the public folder provided by the bfacp right?

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
  • Administrators
Thank you!
Can you tell me how to do it?
Each host is different. I don't know how yours is set up. Google how to set document root for the software your provider uses.

Sent from my ONEPLUS A5010 using Tapatalk

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
5 hours ago, Prophet731 said:

每个主机都不同。我不知道您的设置如何。Google如何为您的提供商使用的软件设置文档根目录。

使用Tapatalk从我的ONEPLUS A5010发送
 

I don't understand this description:

Change the files and folders permissions under `app/storage` recursively to 0777. This application was designed to run on a subdomain and not from a folder from the TLD. Make sure to create a subdomain and if possible have domain point to the public folder that's located under the root folder.

I am using 2012R.

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.