Jump to content
  • 0

custom server status script for FluxCP


hi guys

Could i request a custom server script for FluxCP? please

what i would like is the PHP code to show something like this

<?php if
  $loginserver = 0 && $charserver = 0 && $mapserver = 0 then $ServerOffline show Red circle
  else if
    $loginserver = 1 && $Charserver = 1 && $mapserver = 1 then $ServerOnline show green circle ?>

<?php if
      $WOE = 0 then show Red circle
      else if
        $WOE= 1 then show green circle ?>

<?php vendingplayers = amount echo amount ?> 

as you can tell i understand very basic PHP so I'm unable to fully understand how to achieve what i would like

i hope someone is willing to help me

thanks in advance

Kind regards


Share this post

Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

so i would like to put my code here for you guys to tell me if Im on the right track please



$serverStatus[$groupName][$serverName] = array(
  'ServerOnline' => $athenaServer->CharServer->mapServer->isUp (),

should this combine all 3 to make it into one showing the server to be online or offline

hope you understand what i would like to achieve here

Kind Regard


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   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

By using this site, you agree to our Terms of Use and Privacy Policy.