Element/Console

From Multi Theft Auto: Wiki
Revision as of 04:26, 27 June 2012 by Jaysds (talk | contribs)
Jump to navigation Jump to search

The Server Console class represents the server console.

The element type of this class is "console".


Commands

In the server console you can use many different commands, affecting the players using the server. Please note that only console commands can be used, and that some commands can not be used through the IG console, only through the Server Console.

Mta console help.png

Note that the console list does not show the useage of the commands. Some commands may also not be listed (possibly related to the admin resource.(unconfirmed)).


Definitions

update:

checkall: Check all resources for deprecated functions and MTA version issues.

stopall: Stops all the resources.

refreshall: Refresh resources and restart any changed resources.

install:

say: Usage: say <text> | Shows a message to all players on the server eg:"say hello" .

me:

logout: This would log the console out of its account. (Please NOTE that, if you log the console out, you can't get back in, unless you shutdown and start the server again.)

delaccount: Usage: delaccount <accountname>| Delete an account eg:"delaccount Console" <NOT RECOMMENDED.

aexec: Usage: aexec <nick> <command>| Force a player to execute a command eg: aexec playername say hello.

debugscript: Usage: debugscript <0-3>. (Please NOTE that, this is only for client's.)

ver: Outputs the server version.

openports: Outputs whether the ports "serverport","httpport","aseport" is open or closed.(if they are closed, please see this topic on how to open it: http://forum.mtasa.com/viewtopic.php?f=114&t=33722&p=444572#p352164 )

aclrequest: Usage: aclrequest [list|allow|deny] <resource-name> [<right>|all]| Manage ACL requests from resources implementing <aclrequest> in their meta.xml.

start: Usage: start <resource-name> | Start a loaded resource eg:"start admin".

restart: Usage: info <resource-name> | Restarts a running resource eg:"restart admin".

list: Shows a list of resources.