second_coming

ExilePHPStats

56 posts in this topic

I have knocked together a basic admin tool for in game admins to use to help them deal with in game problems like catching dupers etc.

E982YDd.png

xByhl4o.png

https://github.com/secondcoming/ExilePHPStats

To display your server, edit the file 'config.php' in the 'includes' folder

<?php

// array of servers ('hostname or ip address|database name|database username|database password|server name|server port')
$ServerList = array('127.0.0.1|exile_altis|dbuser|dbpass|altis','127.0.0.1|exile_chernarus|dbuser|dbpass|chernarus|3306'); 

?>

 
Edited by second_coming
added mysql port to the config
4 people like this

Share this post


Link to post
Share on other sites

Ima currently working on a Project, to bring this in an own programm.

you mind if i use parts of the code?

 

Share this post


Link to post
Share on other sites
Advertisement

Nice work sir! Is there a php for noobs thread or something somewhere? Would love to add some of these php things to the server for cleaning up the DB and this addon looks sweet but I havent ever messed with php before..

Share this post


Link to post
Share on other sites

I have a few php scripts I call from my restart batch, I'll put them on github too so you can have a look at them

2 people like this

Share this post


Link to post
Share on other sites

Man that would be awesome. I am a PHP noob also but would like to move away from BEC. So I need to figure all this out. I mostly do this for play but would like to get something going. I more less shell script and .bat all my stuff

Share this post


Link to post
Share on other sites

I went to do this and I got this on the site. 

Fatal error: Call to undefined function phpheader() in /home4/donsadle/public_html/gameonline365.com/ExilePHPStats/includes/header.php on line 1

I set my config.php just like this

<?php
// array of servers ('hostname or ip address|database name|database username|database password|server name')
$ServerList = array('exile.gameonline365.com|exile|***********|********|altis'); 
?>

Masked the user and password. Well you know why

Edited by WickedMoonShiner

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.