Element/Console: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 2: Line 2:


The element type of this class is '''"console"'''.
The element type of this class is '''"console"'''.
[[Category:Incomplete]]
[[Category:Element Types]]


== Commands ==
== Commands ==
Line 17: Line 13:
=Definitions=
=Definitions=
'''update''':  
'''update''':  
'''checkall''': Check all resources for deprecated functions and MTA version issues.


'''stopall''': Stops all the resources.
'''stopall''': Stops all the resources.
Line 50: Line 44:
'''list''': Shows a list of resources.
'''list''': Shows a list of resources.


'''upgrade''': Checks if the resources have changed then refreshes all of them.
'''teamsay''': N/A


'''nick''': Usage: nick <new-nick> | Please note that only players can change their nick.
'''checkall''': Check all resources for deprecated functions and MTA version issues.


===See Also===
===See Also===
[[Server_Commands]]
[[Server_Commands]]
[[Category:Incomplete]]
[[Category:Element Types]]

Revision as of 20:35, 31 August 2012

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:

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.

upgrade: Checks if the resources have changed then refreshes all of them.

teamsay: N/A

nick: Usage: nick <new-nick> | Please note that only players can change their nick.

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

See Also

Server_Commands