SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 10/08/2010, 08:31 PM   #1
Westie
Gangsta
 
Westie's Avatar
 
Join Date: Jul 2009
Posts: 858
Reputation: 63
Post antctrl free - It has Windows too!


antctrl version 1.2



Okay, I apologise for the massive image in the middle of the page, but come on... everyone else does it!


Introduction:
I promised you people that I would create you a new control panel, and here it is. Remember folks, you would need to be the server owner to set this up (as before), and there is no way this can run on shared hosting. So please, stop asking. Okay? Thank you!
Also, this version runs on Windows! Woo! Because of this, there are changes however that do affect Linux users. If you want to use this panel, then please, please read the configuration paragraphs - each operating system has a different configuration.


Linux installation:
  1. There's no need for the Start.sh file any more in the server directory. So, you can get rid of that if you want. No one's going to need it now anyway.
  2. Create the Linux user with this command: useradd -m Server01 - You can change the username. In fact, it's highly recommended that you do.
  3. Change that user's password with this command: passwd Server01 - make it random or something, but keep it for later use.
  4. Install the SA-MP server to that user's home - so the SA-MP binary should be at /home/Server01/samp03svr (or what ever you decide to name it).
  5. Install the antctrl web files where you see fit.
  6. Open System/Definitions.php, and edit these lines:
    • USERNAME - username to log into the panel
    • PASSWORD - password to log into the panel
    • SSH_USERNAME - The SSH login name (from earlier)
    • SSH_PASSWORD - The SSH password (from earlier)
    Furthermore, you can edit these:
    • SSH_EXEC - the name of the SA-MP server binary - don't rename unless you're wanting to run various servers
    • SSH_RELDIR - relative directory of the SA-MP server
    • CONTROL_THEME - The control panel theme.
It should probably work after this.


Windows installation:
  1. If you're wanting to have some security - or easily tell what servers are owned by who, create another user account. This only really applies to people running Windows Server.
  2. Install the SA-MP server to that user's home - so the SA-MP binary should be at C:\Users\Westie\SA-MP (or what ever you decide to name it).
  3. Install the antctrl web files where you see fit.
  4. Open System/Definitions.php, and edit these lines:
    • USERNAME - username to log into the panel
    • PASSWORD - password to log into the panel
    • COM_RELDIR - absolute directory of the SA-MP server - must be set, must be exact!
    Furthermore, you can edit these:
    • COM_EXEC - the name of the SA-MP server binary - don't rename unless you're wanting to run various servers
    • COM_USERNAME - The alternative user name (security)
    • COM_PASSWORD - The alternative user name (security)
    • CONTROL_THEME - The control panel theme.
It should probably work after this.


I'm sorry that it's a bit more complicated than I hoped, but I'll try and make an automatic configuration generator - just for you. That's right. The visitor.


Download!
Please note, people with commercial aspirations:
If you want to use this commercially - that is, make money from hosting, then send me a PM to arrange licence details. It's about $30 USD per host node.

Licence details: http://www.typefish.co.uk/licences/

Want to download it? Click on this blue link. GOOD? HAVE FUN.


Useful miscellaneous links:

Last edited by Westie; 31/08/2011 at 12:00 PM.
Westie is offline   Reply With Quote
Old 10/08/2010, 08:40 PM   #2
Kyle
High-roller
 
Kyle's Avatar
 
Join Date: Mar 2009
Location: United Kingdom
Posts: 2,387
Reputation: 319
Default Re: antctrl free - The new secure free panel!

Yet again, Another amazing release from you. I wont be using this but it looks great!

Well Done Yet Again!
Kyle is offline   Reply With Quote
Old 10/08/2010, 08:51 PM   #3
brunogysin
Huge Clucker
 
brunogysin's Avatar
 
Join Date: Feb 2010
Location: San Andreas
Posts: 316
Reputation: 4
Default Re: antctrl free - The new secure free panel!

has to do to take on windows
brunogysin is offline   Reply With Quote
Old 10/08/2010, 09:02 PM   #4
brunogysin
Huge Clucker
 
brunogysin's Avatar
 
Join Date: Feb 2010
Location: San Andreas
Posts: 316
Reputation: 4
Default Re: antctrl free - The new secure free panel!

Sorry, but you don't have php5-ssh2 installed.
erro? Help
brunogysin is offline   Reply With Quote
Old 10/08/2010, 09:23 PM   #5
Saurik
High-roller
 
Saurik's Avatar
 
Join Date: Oct 2009
Location: Somewhere Far Reputation: 1,421
Posts: 1,307
Reputation: 274
Default Re: antctrl free - The new secure free panel!

Thank You Westie! I really needed it!
Saurik is offline   Reply With Quote
Old 10/08/2010, 09:28 PM   #6
Mujib
Gangsta
 
Join Date: Jan 2009
Location: Amsterdam
Posts: 553
Reputation: 35
Default Re: antctrl free - The new secure free panel!

Quote:
Originally Posted by brunogysin View Post
Sorry, but you don't have php5-ssh2 installed.
erro? Help
Install it?
Mujib is offline   Reply With Quote
Old 10/08/2010, 09:31 PM   #7
Westie
Gangsta
 
Westie's Avatar
 
Join Date: Jul 2009
Posts: 858
Reputation: 63
Default Re: antctrl free - The new secure free panel!

Quote:
Originally Posted by brunogysin View Post
has to do to take on windows
No, it won't work on Windows. Well, not yet anyway.
Westie is offline   Reply With Quote
Old 10/08/2010, 09:34 PM   #8
Byrom
Little Clucker
 
Join Date: Jul 2010
Posts: 4
Reputation: 0
Default Re: antctrl free - The new secure free panel!

Sweet, will try it soon.
Byrom is offline   Reply With Quote
Old 10/08/2010, 11:20 PM   #9
brunogysin
Huge Clucker
 
brunogysin's Avatar
 
Join Date: Feb 2010
Location: San Andreas
Posts: 316
Reputation: 4
Default Re: antctrl free - The new secure free panel!

Quote:
Originally Posted by Mujib View Post
Install it?
send pm for the download site for me to download and istalar
brunogysin is offline   Reply With Quote
Old 10/08/2010, 11:27 PM   #10
Luis-
High-roller
 
Luis-'s Avatar
 
Join Date: Jan 2010
Location: England
Posts: 4,068
Reputation: 378
Default Re: antctrl free - The new secure free panel!

I hope you make a version for windows, And with this programme can you leave your server on 24/7?
Luis- 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



All times are GMT. The time now is 05:12 PM.


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