SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Tools and Files

Reply
 
Thread Tools Display Modes
Old 15/03/2009, 05:38 PM   #1
darkrider366
Huge Clucker
 
Join Date: Aug 2008
Posts: 293
Reputation: 2
Default [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.

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!.
darkrider366 is offline   Reply With Quote
Old 15/03/2009, 05:39 PM   #2
[SP]JTweemanXD
Little Clucker
 
Join Date: Dec 2008
Posts: 6
Reputation: 0
Default Re: SA:MP Control Panel

looks good, nice work
[SP]JTweemanXD is offline   Reply With Quote
Old 15/03/2009, 05:40 PM   #3
Weirdosport
High-roller
 
Join Date: Jul 2008
Posts: 1,294
Reputation: 0
Default Re: SA:MP Control Panel

I saw the Script Discussion page for this, looks good.
Weirdosport is offline   Reply With Quote
Old 15/03/2009, 05:41 PM   #4
darkrider366
Huge Clucker
 
Join Date: Aug 2008
Posts: 293
Reputation: 2
Default 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
darkrider366 is offline   Reply With Quote
Old 15/03/2009, 07:20 PM   #5
Mr_LeaDeR
Little Clucker
 
Join Date: Mar 2009
Posts: 19
Reputation: 0
Default Re: SA:MP Control Panel

Wow nice work on there !
Mr_LeaDeR is offline   Reply With Quote
Old 15/03/2009, 08:43 PM   #6
darkrider366
Huge Clucker
 
Join Date: Aug 2008
Posts: 293
Reputation: 2
Default Re: SA:MP Control Panel

Quote:
Originally Posted by Mr_LeaDeR
Wow nice work on there !
Quote:
Originally Posted by [SP
oOCharlieOo ]
Nice One dan
thanks peeps, keep the comments
darkrider366 is offline   Reply With Quote
Old 15/03/2009, 09:39 PM   #7
ICECOLDKILLAK8
High-roller
 
Join Date: Aug 2008
Posts: 1,154
Reputation: 5
Default 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
__________________
IVMP
ICECOLDKILLAK8 is offline   Reply With Quote
Old 15/03/2009, 09:44 PM   #8
darkrider366
Huge Clucker
 
Join Date: Aug 2008
Posts: 293
Reputation: 2
Default 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
darkrider366 is offline   Reply With Quote
Old 15/03/2009, 10:54 PM   #9
g@k
Big Clucker
 
Join Date: Dec 2007
Posts: 86
Reputation: 0
Default Re: SA:MP Control Panel

let's testing !!! i tell you if it work in few minutes
g@k is offline   Reply With Quote
Old 16/03/2009, 08:19 AM   #10
CAMERON_BANFIELD
Banned
 
Join Date: Jun 2008
Posts: 145
Reputation: 0
Default Re: SA:MP Control Panel

Quote:
Originally Posted by darkrider366
Windows:
not done yet
I cant wait till this version is finished!!! Thanks
CAMERON_BANFIELD is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can you make FTP panel? AND control Panel on WINDOWS JosipBerozTito Everything and Nothing 10 20/08/2011 12:14 AM
Control panel VC-MP maia123123 Server Support 2 31/10/2009 01:09 PM
What is an control panel? arie9000nerd Everything and Nothing 2 21/08/2009 08:08 AM
PHP, Control panel. Helix Help Archive 7 16/03/2009 10:36 PM
SA:MP Control Panel [released] darkrider366 Help Archive 12 16/03/2009 09:33 PM


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


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