SA-MP Forums Archive
[Tutorial] M-Control Panel Full Brief - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Tutorials (https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tutorial] M-Control Panel Full Brief (/showthread.php?tid=407852)



M-Control Panel Full Brief - park4bmx - 15.01.2013


Features Explained


Point of this ?:
Well as i get pm's here and there asking how to do this and that and what this and that does, i decided to make this so it can save time and answer the FAQ

What is MCtrl ?:
the orginal thread of the application can be found HERE

Features Explained:

Main Control:


Server info:

Also loading gamemodes in VPS mode will not be enabled.

Main Buttons:


RCon Ctrl Output:


Chat Control:(Version 1.9+)

in V1.8.3.1 < 1.9 this function is using the mCtrlPlug FS in order to send the messages

FS GM Database:


FS GM Database:(Adding new fs/gm to the database)
To check or to add informatio to an unknown FS/GM simply double click the Entry of the items on the left side which will bring up this window.

This windows will be shown if there is no Entry found for the FS/GM that your trying to access.

By clicking Add to Database will drop down/expand the window allowing you enter new information/your information and upload it to the online server.

Verification key can be found on my forum above the download.

mCtrlPlugin:

As you add parameters the parameters textbox will automatically detect whether its a string or numeric types.
This is possible thanks to the mCtrlPlug the purpose of this is to allow you to have unlimited/dynamic control over your server, you may throw any function that already exists by default e.g. from SAMP WIKI or even your own costume made functions.
in the above example i have used it to give playerID(ID:22) a weapon(ID:2 with Amo(2000)

VPS Connect:

NOTE: using the FTP option may connect but will not give shell support from the vps to mCtrl as it doesn't have it.
So stick to the main SFTP connection type.

VPS Control:

MCtrl V1.8.3 and above supports all types of OS shell cmds operators.
But the Main Control is using only linux/CentOS type shell to perform its functions, so if using different Os on the vps, consider running command from the VPSControl.



Other Information:
The Online Backup is not a simple design so im currently changing it, I will provide info once done.

Themes:
MCtrl has 3 different themes that you can change, to do so goto Tools/Settings/M-Ctrl/M-Ctrl Theme and choose one
Changing modes:Controls:Server Status:
All the server status e.g Players/CPU Usage/Memmory Usage is displayed in the "Server Status" box in the main tab.
Rcon Control:
To use the Rcon Control you need to make sure your password is valide.
Once that is done you may use all of the functions in the "Rcon Control" Tab you can simply change connection from server by changing the ip/port/pass under the Rcon Output message list.
FS / GMDatabase:
IF you try to update any FS/GM and fail withing the password tries you will be blocked from using it for a certain amount of time!
mCrlPlug: Minimized:
mCtrl can also be minimized and have a quick action menu.

When minimized it will also notify you of any changes to the servers online status, E.G. the server crashing or simply going offline/online due to some other reason.


Running LAN Model:
mCtrl can support LAN mode server running too, first you need to setup mCtrl for LAN Mode by:
Going into TOOLS > SETTINGS SERVER

this will then Disable some of normal function you will find, but that's simply because they are not possible in LAN mode, this includes the servers actual Online Status as there is no point, only the Running status is important in this case.
As to the IP, you may need to change it to your local LAN IP in settings, if you are not sure of you LAN IP and are not sure if you LAN port is blocked you may use the LAN Port Forward

LAN Port Forward:
this function will allow you to forward/unblock your LAN port in your firewall.


Notes:
This will be updated with a lot more information as i don't have time for now.
Also anything else you want to know about it just ask.


Re: M-Control Panel Full Brief - Hoss - 15.01.2013

Would be useful for people who are using your Control Panel
Good job


Re: M-Control Panel Full Brief - cluckintucker - 19.01.2013

one question are you able to use this on a non port-forward server?


Re: M-Control Panel Full Brief - park4bmx - 19.01.2013

Quote:
Originally Posted by cluckintucker
View Post
one question are you able to use this on a non port-forward server?
simply yes i dont see why not.
it has a LAN function in the settings which i will explain as well in the main post after v1.8.3.1 is released as in earlier versions is not enabled.

But mainly yes you can still perform the main things without the server being forwarded if its on your computer thought !


Re: M-Control Panel Full Brief - Criswell - 19.01.2013

Awesome!


Re: M-Control Panel Full Brief - grizzley - 16.11.2013

This is awesome... it might be help me with my server


Re: M-Control Panel Full Brief - PakistaniBaba - 17.11.2013

Nice Panel!!


Re: M-Control Panel Full Brief - park4bmx - 29.06.2017

updated main APP thread HERE
if you need anything in more detail just ask


Re: M-Control Panel Full Brief - HanVir - 24.06.2018

I got this error :

Product Name: M-Control Panel V1.9
Product Version: 1.9.0.0

OS Name: Microsoft Windows 10 Pro
OS Version: 6.2.9200.0
OS Platform: x64
Physical Memory: 1,67GB / 3,90GB (Free / Total)
Virtual Memory: 1,64GB / 2,00GB (Free / Total)

Error Output:
System.IO.FileLoadException: Could not load file or assembly 'Tamir.SharpSSH, Version=1.1.1.13, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
File name: 'Tamir.SharpSSH, Version=1.1.1.13, Culture=neutral, PublicKeyToken=null'
at M_Control_Panel_V1._9.VPSConn.ButtonX1_Click(Objec t sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at DevComponents.DotNetBar.ButtonX.OnClick(EventArgs e)
at DevComponents.DotNetBar.ButtonX.OnMouseUp(MouseEve ntArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevComponents.DotNetBar.PopupItemControl.WndProc(M essage& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to fix it ?


Re: M-Control Panel Full Brief - park4bmx - 14.08.2018

Quote:
Originally Posted by HanVir
View Post
I got this error :
How to fix it ?
i rebuild the project, there was problem with .DLL signing/key protection. should work now