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

Hello~

I made it through the installing pretty decent. but some interesting things happend lately.

1. There was no default admin account seeded into the database. (solved it by just register a account and then confirm it and assign administrator role to it)

2. Every new account can't Create Bans only the first one i created, the others triggers this exception after clicken on the button

Next exception 'ErrorException' with message 'Trying to get property of non-object (View: /var/www/vhosts/XXX/XXX/app/views/admin/adkats/bans/create.blade.php)' in /var/www/vhosts/XXX/XXX/app/storage/views/02237e9e9821bcfac5602a99828070a2:19

XXX are censored

Link to comment
  • Administrators
9 hours ago, OwerGrowen said:

Hello~

I made it through the installing pretty decent. but some interesting things happend lately.

1. There was no default admin account seeded into the database. (solved it by just register a account and then confirm it and assign administrator role to it)

2. Every new account can't Create Bans only the first one i created, the others triggers this exception after clicken on the button


Next exception 'ErrorException' with message 'Trying to get property of non-object (View: /var/www/vhosts/XXX/XXX/app/views/admin/adkats/bans/create.blade.php)' in /var/www/vhosts/XXX/XXX/app/storage/views/02237e9e9821bcfac5602a99828070a2:19

XXX are censored

Do those accounts have a soldier assigned to them for that game? They need to have one assigned for that game. 

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

Do those accounts have a soldier assigned to them for that game? They need to have one assigned for that game. 

Ok so my theory is confirmed now xD

So in order to use the functions i need to assign those accounts their soldier.

Is there a sneaky way to bypass that? since some Mods of my Orga doesnt play BF4 but should be able to ban/kick etc.

Link to comment

i have 3 independent bfacp + adkats installed on the same server with independent database.

However, using memcached the main dashboard indicators are cumulative, adding the 3 servers based on the first bfacp installed.

Last bfacp+adkats installed with clean database, it keeps showing values in the dashboard of the other servers even being in independent BFACP.

How can i fix it ?

(google translate)

Just 1 more
Link to comment

Hello,
I need some help setting this up please.
I have made an A record for bfacp.domainexample.com to my vps ip adress.
Then on my vps I am using NGINX, I created the bfacp direcroty and then did "cd /var/www/bfacp"
Then I used the command line install method with composer.
I copied a /etc/nginx/sites-available site1.conf and edited the domains in the file to bfacp.domainexample.com
Symbolic link is also made.
I have created the cert certificates also.
And I did restart nginx with no errors.
But now when I go to that url it downloads the index.php file and doesn't show any webpage.

What have I done wrong? Can you give me an example for the .conf file that should work?

I think I have all the requirements installed I went thru them one by one to install.
 

Link to comment
  • Administrators
On 6/16/2021 at 1:46 AM, OwerGrowen said:

Ok so my theory is confirmed now xD

So in order to use the functions i need to assign those accounts their soldier.

Is there a sneaky way to bypass that? since some Mods of my Orga doesnt play BF4 but should be able to ban/kick etc.

Not in the latest public version. Version 3 (still in development) fixes this limitation.

On 6/19/2021 at 2:39 PM, BruceLeeSoldier said:

i have 3 independent bfacp + adkats installed on the same server with independent database.

However, using memcached the main dashboard indicators are cumulative, adding the 3 servers based on the first bfacp installed.

Last bfacp+adkats installed with clean database, it keeps showing values in the dashboard of the other servers even being in independent BFACP.

How can i fix it ?

(google translate)

Which version are you running? 

Just now, dangerBEclose said:

Hello,
I need some help setting this up please.
I have made an A record for bfacp.domainexample.com to my vps ip adress.
Then on my vps I am using NGINX, I created the bfacp direcroty and then did "cd /var/www/bfacp"
Then I used the command line install method with composer.
I copied a /etc/nginx/sites-available site1.conf and edited the domains in the file to bfacp.domainexample.com
Symbolic link is also made.
I have created the cert certificates also.
And I did restart nginx with no errors.
But now when I go to that url it downloads the index.php file and doesn't show any webpage.

What have I done wrong? Can you give me an example for the .conf file that should work?

I think I have all the requirements installed I went thru them one by one to install.
 

Nginx Rules for the BFAdminCP · AdKats/BFACP Wiki (github.com)

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
8 hours ago, JaNL4U said:

Hi we are having issues with bfacp 2.1 not displaying live scoreboard and various other issue (menu, /span> and more code language) anyone that could help?

image.thumb.png.11b0bfe99f9cbffe588a092f047e808c.png

image.thumb.png.654da2e77a6363830d43038f43560561.png

You running any JS blocker addons or anything? Did you modify the install from github in any way?

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

Hello

I cant figure out why i get this error

errors.thumb.PNG.ff917a48a7721ce19026927e7d5eec90.PNG

Warning: require(/var/customers/webs/ni2822243_2/Panel/public/bootstrap/autoload.php): failed to open stream: No such file or directory in /var/customers/webs/ni2822243_2/Panel/public/index.php on line 21 Fatal error: require(): Failed opening required '/var/customers/webs/ni2822243_2/Panel/public/bootstrap/autoload.php' (include_path='.:/usr/share/php/:/usr/share/php5/') in /var/customers/webs/ni2822243_2/Panel/public/index.php on line 21

Link to comment
  • 2 weeks later...
  • Administrators
On 6/29/2021 at 9:57 AM, JaNL4U said:

Nope didn't modify anything nor blocking any javascript. I tried it with multiple browser incognito and without

Sorry for the delay, I've been slammed and keep forgeting to check back on this. Are you still experiencing this issue? 

On 7/21/2021 at 7:47 AM, Skalman306 said:

Hello

I cant figure out why i get this error

errors.thumb.PNG.ff917a48a7721ce19026927e7d5eec90.PNG

Warning: require(/var/customers/webs/ni2822243_2/Panel/public/bootstrap/autoload.php): failed to open stream: No such file or directory in /var/customers/webs/ni2822243_2/Panel/public/index.php on line 21 Fatal error: require(): Failed opening required '/var/customers/webs/ni2822243_2/Panel/public/bootstrap/autoload.php' (include_path='.:/usr/share/php/:/usr/share/php5/') in /var/customers/webs/ni2822243_2/Panel/public/index.php on line 21

Have you uploaded the vendor folder? Also which version are you trying to install?

On 7/31/2021 at 8:42 AM, Cookiezzz said:

Is it possible the temp ban / permanent ban on live scoreboard is broken?

Never tried until now. Can always add a ban to the profile.

Which version are you running?

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

 

11 hours ago, Prophet731 said:

Sorry for the delay, I've been slammed and keep forgeting to check back on this. Are you still experiencing this issue? 

Have you uploaded the vendor folder? Also which version are you trying to install?

Which version are you running?

 Version 2.0.2 . I checked and I believe there's just no implementation of ban on live scoreboardd. Is that possible?

Link to comment
2 hours ago, Hodor said:

@Prophet731 Hi. When 3.0? It's almost out 2042 and 3.0 is still not there

Just my personal opinion:

Bf42 will probably not have RCON. Nah definitely. Thanks dice.

So it's probably not worth the work anymore

Need new plugin features? I can change: Adkats, AdKatsLRT, LanguageEnforcer, InsaneLimits, xVotemap for you. Also working on new plugins. Have an idea? Share it and I might include it in my repos. Github.com/hedius

 

Check out E4GLAdKats for an advancded and maintained AdKats version.

Link to comment
6 hours ago, Hedius said:

Just my personal opinion:

Bf42 will probably not have RCON. Nah definitely. Thanks dice.

So it's probably not worth the work anymore

I'm just wondering. The announcement was already a year or more a year ago and he said that soon, soon, but it does not come soon. Probably real life, you will answer? Okay. It's a pity that 3.0 never saw the light.
I didn't mean that 2042 will have RCON. I meant that after 2042 there will be no point in 3.0, this is my opinion.

Edited by Hodor
Link to comment
  • Administrators
On 8/9/2021 at 4:47 AM, Hodor said:

@Prophet731 Hi. When 3.0? It's almost out 2042 and 3.0 is still not there

 

On 8/9/2021 at 1:22 PM, Hodor said:

I'm just wondering. The announcement was already a year or more a year ago and he said that soon, soon, but it does not come soon. Probably real life, you will answer? Okay. It's a pity that 3.0 never saw the light.
I didn't mean that 2042 will have RCON. I meant that after 2042 there will be no point in 3.0, this is my opinion.

Well I mean you're not wrong that I will say real life does get in the way.  Especially during a pandemic. Version 3 is still being worked on in what little spare time I got. Between my work, running/maintaining EZRCON, and dealing with at home stuff, it's not exactly a lot free time these days.

Also, guess this is a good time as any but Version 3 will be only available through EZRCON as I made a design choice that makes it way more difficult to support in an open source environment, which I'm not willing to do. Now, this doesn't prevent your use of it as it will still allow remote database connections. Part of the reason it's taking longer to actually finish.

I'm still hoping 2042 allows RCON access, maybe at a later date.

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 months later...

uhmm i have a question prophet731

about DateTime in bfacp

let me explain the chatlog as an example.

chat loged time in my DB is KST (UTC+9). it's correct

But.

in bfacp chat logs. it add +9 again! it shown UTC+18 time. what should i do to fix this?

all server are in Seoul. same region. procon layer, bfacp webserver, DB serve etc...

db.PNG

bfacp.PNG

bfacp2.PNG

bfacp3.PNG

Link to comment
3 hours ago, wAZe said:

uhmm i have a question prophet731

about DateTime in bfacp

let me explain the chatlog as an example.

chat loged time in my DB is KST (UTC+9). it's correct

But.

in bfacp chat logs. it add +9 again! it shown UTC+18 time. what should i do to fix this?

all server are in Seoul. same region. procon layer, bfacp webserver, DB serve etc...

db.PNG

bfacp.PNG

bfacp2.PNG

bfacp3.PNG

Do not log the chat with chat logger. Disable chat logging there and use the manually post chat setting in AdKats.

Need new plugin features? I can change: Adkats, AdKatsLRT, LanguageEnforcer, InsaneLimits, xVotemap for you. Also working on new plugins. Have an idea? Share it and I might include it in my repos. Github.com/hedius

 

Check out E4GLAdKats for an advancded and maintained AdKats version.

Link to comment
Just now, Hedius said:

Do not log the chat with chat logger. Disable chat logging there and use the manually post chat setting in AdKats.

If this doesn't help. Make sure that your php time zone and the time zone of the database server are correctly configured.

Need new plugin features? I can change: Adkats, AdKatsLRT, LanguageEnforcer, InsaneLimits, xVotemap for you. Also working on new plugins. Have an idea? Share it and I might include it in my repos. Github.com/hedius

 

Check out E4GLAdKats for an advancded and maintained AdKats version.

Link to comment
  • 10 months later...
1 hour ago, Simpendaal said:

I've made a new account in the database. How do I sed admin rights on it?

Go into the database. You have bfacp roles there. Ine should be called Administrator.

 

Assign the ID of it to the user.

 

It is an 1:N relation so the role id should be set in the user table probably? Not sure have to look it up otherwise

Need new plugin features? I can change: Adkats, AdKatsLRT, LanguageEnforcer, InsaneLimits, xVotemap for you. Also working on new plugins. Have an idea? Share it and I might include it in my repos. Github.com/hedius

 

Check out E4GLAdKats for an advancded and maintained AdKats version.

Link to comment
  • Administrators
1 hour ago, Simpendaal said:

I've made a new account in the database. How do I sed admin rights on it?

 

6 minutes ago, Hedius said:

Go into the database. You have bfacp roles there. Ine should be called Administrator.

 

Assign the ID of it to the user.

 

It is an 1:N relation so the role id should be set in the user table probably? Not sure have to look it up otherwise

You'd set the role of your user id in the table "bfacp_user_roles". By default it should be 1 (one) for the role id for full administrator.

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

 

You'd set the role of your user id in the table "bfacp_user_roles". By default it should be 1 (one) for the role id for full administrator.
 

The user I've made have ID 1, but I dont have admin rights on that account.
So i cant use Admin CP right now, because I cant add servers because I dont have admin rights.

Any ideas?

Edited by Simpendaal
Link to comment
3 minutes ago, Simpendaal said:

The user I've made have ID 1, but I dont have admin rights on that account.
So i cant use Admin CP right now, because I cant add servers because I dont have admin rights.

Any ideas?

You have to modify the database directly.

Need new plugin features? I can change: Adkats, AdKatsLRT, LanguageEnforcer, InsaneLimits, xVotemap for you. Also working on new plugins. Have an idea? Share it and I might include it in my repos. Github.com/hedius

 

Check out E4GLAdKats for an advancded and maintained AdKats version.

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.
Note: Your post will require moderator approval before it will be visible.

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.

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