SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Tools and Files (https://forum.sa-mp.com/forumdisplay.php?f=82)
-   -   [Tool/Web/Other] [PHP]SA:MP Control Panel [fully released] V2.0 (https://forum.sa-mp.com/showthread.php?t=69066)

darkrider366 15/03/2009 05:38 PM

[PHP]SA:MP Control Panel [fully released] V2.0
 
This is my first PHP release for sa-mp. its a Control Panel for Linux Ubuntu. 8) 8)

includes:
FTP
server.cfg Editor
start
stop
restart

Install:
For a windows install just drag and drop the cpanel windows folder contents to your web directory and download samp 0.2x server for windows and make this directory
C:\samp\
and drop all the server files to that directry, and ur done.
Code:

<?php
class maxProtector{
        var $password = 'changeme';
       
  function showLoginForm(){
?>

in this section "maxprotector.class.php" you MUST edit the password
this password is the access to the control panel, to change the password change the word
"changeme"
Code:

define("USERNAME", "usernamehere"); // Your default username.
define("PASSWORD", "passwordhere"); // Your default password.

in this section "ftp.php" on the 11th and 12th line there is the username and password, please change these
to what ever you want, please remember to use hard names like MrDf£re and passwords like 43F$3F#
this prevents most brute force hacks,
_________________________________________________
NOW, to put your gamemode on you need to goto ftp > "login" > gamemode > upload
NOW, to put your filterscripts on you need to goto ftp > "login" > filterscripts > upload
NOW, to put your scriptfiles on you need to goto ftp > "login" > scriptfiles > upload
NOW, to put your plugins on you need to goto ftp > "login" > plugins > upload
NOW, to make these work, goto the main page, then goto server.cfg
Then goto the main page of the control panel and press start/restart/stop to control your server

Ubuntu:
http://rapidshare.com/files/20960092...panel.zip.html
http://rapidshare.de/files/46114872/...panel.zip.html
http://www.filefactory.com/file/af6a...-MP_cpanel_zip
http://www.megaupload.com/?d=GKUDCY37
V2.0
http://rapidshare.de/files/46531293/...l_2.0.zip.html
http://rapidshare.com/files/21749626...l_2.0.zip.html
http://www.zezombia.com/upload/files/511_sa-mp cpanel 2.0.zip
Windows:
http://rapidshare.com/files/21210320...elwin.zip.html
http://rapidshare.de/files/46265487/cpanelwin.zip.html
http://www.filefactory.com/file/af669cg/n/cpanelwin_zip
http://www.megaupload.com/?d=X7O1TNBI

CentOS:
http://rapidshare.com/files/20960092...panel.zip.html
http://rapidshare.de/files/46114872/...panel.zip.html
http://www.filefactory.com/file/af6a...-MP_cpanel_zip
http://www.megaupload.com/?d=GKUDCY37


PLEASE REPORT ALL BUGS FOR LINUX VERSIONS ONLY ^_^ i do not support the windows one anymore!.

[SP]JTweemanXD 15/03/2009 05:39 PM

Re: SA:MP Control Panel
 
looks good, nice work

Weirdosport 15/03/2009 05:40 PM

Re: SA:MP Control Panel
 
I saw the Script Discussion page for this, looks good.

darkrider366 15/03/2009 05:41 PM

Re: SA:MP Control Panel
 
Quote:

Originally Posted by Weirdosport
I saw the Script Discussion page for this, looks good.

Quote:

Originally Posted by [SP
JTweemanXD ]
looks good, nice work

thanks ppl

Mr_LeaDeR 15/03/2009 07:20 PM

Re: SA:MP Control Panel
 
Wow nice work on there ! :mrgreen:

darkrider366 15/03/2009 08:43 PM

Re: SA:MP Control Panel
 
Quote:

Originally Posted by Mr_LeaDeR
Wow nice work on there ! :mrgreen:

Quote:

Originally Posted by [SP
oOCharlieOo ]
Nice One dan :D

thanks peeps, keep the comments :D

ICECOLDKILLAK8 15/03/2009 09:39 PM

Re: SA:MP Control Panel
 
Looks alright, You could of put all the php files into one file though instead of having a load of files, Also maybe think about using sessions, And you could change this
Code:

require_once("/var/www/samp/cpanel/maxProtector.class.php");
to this
Code:

require_once("maxProtector.class.php");
to make it more setup friendly

darkrider366 15/03/2009 09:44 PM

Re: SA:MP Control Panel
 
Quote:

Originally Posted by JeNkStAX
Looks alright, You could of put all the php files into one file though instead of having a load of files, Also why
Code:

require_once("/var/www/samp/cpanel/maxProtector.class.php");
just put this lol
Code:

require_once("maxProtector.class.php");

testing.. it dont matter tho

g@k 15/03/2009 10:54 PM

Re: SA:MP Control Panel
 
let's testing !!! i tell you if it work in few minutes

CAMERON_BANFIELD 16/03/2009 08:19 AM

Re: SA:MP Control Panel
 
Quote:

Originally Posted by darkrider366
Windows:
not done yet

I cant wait till this version is finished!!! Thanks


All times are GMT. The time now is 08:11 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.