Element/Console: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
m (Добавление языков)
 
(9 intermediate revisions by 4 users not shown)
Line 4: Line 4:


== Commands ==
== 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.
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 in-game client console, only through the Server Console.


[[File:Mta_console_help.png]]
[[File: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 [http://wiki.multitheftauto.com/wiki/Admin admin] resource.(unconfirmed)).
You can view all latest available server console commands by entering "help" into the server console window.
 
 
=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===
===See Also===
[[Server_Commands]]
*[[Server_Commands|Server Commands]]


[[Category:Incomplete]]
[[Category:Element Types]]
[[Category:Element Types]]
[[en:Element/Console]]
[[ru:Element/Console]]
[[hu:Element/Console]]

Latest revision as of 10:45, 15 April 2021

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 in-game client console, only through the Server Console.

Mta console help.png

You can view all latest available server console commands by entering "help" into the server console window.

See Also