User:EAi/Server Console Commands: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This is a list of current server console commands, in order to find which could be scripted. | This is a list of current server console commands, in order to find which could be scripted. | ||
Comments Added by [[User:Vandalite|Vandalite]] | |||
* say | * say | ||
* teamsay | * teamsay | ||
** Exportable using msg -- may not be a bad idea to keep this one though, and have a wrapper instead for team assignment. | |||
* asay | * asay | ||
** What's this? is it needed? | |||
* msg | * msg | ||
* amsg | * amsg | ||
** What's this? is it needed? | |||
* me | * me | ||
** What's this? is it needed? | |||
* slap | * slap | ||
** What's this? is it needed? | |||
* nick | * nick | ||
* vote | * vote | ||
** Exportable using mapvote resource | |||
* maps | * maps | ||
** Exportable using mapvote resource | |||
* login | * login | ||
** Should have a lua wrapper with security resource | |||
* logout | * logout | ||
** Should have a lua wrapper with security resource | |||
* setlevel | * setlevel | ||
** Should have a lua wrapper with security resource | |||
* chgmypass | * chgmypass | ||
** Should have a lua wrapper with security resource | |||
* addaccount | * addaccount | ||
** Should have a lua wrapper with security resource | |||
* delaccount | * delaccount | ||
** Should have a lua wrapper with security resource | |||
* chgpass | * chgpass | ||
** Should have a lua wrapper with security resource | |||
* chglevel | * chglevel | ||
** Should have a lua wrapper with security resource | |||
* startmap | * startmap | ||
** Should have a lua wrapper with mapvote resource | |||
* restartmap | * restartmap | ||
** Exportable using mapvote resource | |||
* mute | * mute | ||
** Exportable using communications resource (and onPlayerChat interruptions) | |||
* unmute | * unmute | ||
** Exportable using communications resource (and onPlayerChat interruptions) | |||
* kick | * kick | ||
** Should have a lua wrapper with security resource | |||
* ban | * ban | ||
** Should have a lua wrapper with security resource | |||
* banip | * banip | ||
** Should have a lua wrapper with security resource | |||
* unbanip | * unbanip | ||
** Should have a lua wrapper with security resource | |||
* shutdown | * shutdown | ||
* aexec | * aexec | ||
** What's this? is it needed? | |||
* whois | * whois | ||
** What's this? is it needed? | |||
* whowas | * whowas | ||
** What's this? is it needed? | |||
* loadscript | * loadscript | ||
** legacy. consider changing to loadresource | |||
* unloadscript | * unloadscript | ||
** legacy. consider changing to unloadresource | |||
* scripts | * scripts | ||
** What's this? is it needed? | |||
* debugscript | * debugscript | ||
For all commands i reccomended putting in the security resource, this is only useful if you have a way of setting commands (from mta server conf) to a security level higher than ANY user, and an architecture is in place to allow resources themselves to have security levels. this allows ONLY the security resource to run these commands, and will only do so if the user has logged in, and communicates with the resource (with console command handlers). This allows easy modifications to the security systems, without needing to reboot the server. Besides, as you said, the more control you have from lua, the better. | |||
It should also be noted that various automated things that MTA does now, using map configurations, like respawn, and weapon drops should be exported to resource modules. bring the MTA automated systems completely down, and let lua do it, with simple commands like spawnplayer and spawnweapon. This gives ultimate control over what goes in the map files (or i should say, resource config files). It'll come in handy for gamemodes that need special respawn controls. (i'm thinking gang wars). | |||
A lot of this you already know, but i put it down cause you're not the only one who might read this. |
Revision as of 20:13, 2 January 2007
This is a list of current server console commands, in order to find which could be scripted.
Comments Added by Vandalite
- say
- teamsay
- Exportable using msg -- may not be a bad idea to keep this one though, and have a wrapper instead for team assignment.
- asay
- What's this? is it needed?
- msg
- amsg
- What's this? is it needed?
- me
- What's this? is it needed?
- slap
- What's this? is it needed?
- nick
- vote
- Exportable using mapvote resource
- maps
- Exportable using mapvote resource
- login
- Should have a lua wrapper with security resource
- logout
- Should have a lua wrapper with security resource
- setlevel
- Should have a lua wrapper with security resource
- chgmypass
- Should have a lua wrapper with security resource
- addaccount
- Should have a lua wrapper with security resource
- delaccount
- Should have a lua wrapper with security resource
- chgpass
- Should have a lua wrapper with security resource
- chglevel
- Should have a lua wrapper with security resource
- startmap
- Should have a lua wrapper with mapvote resource
- restartmap
- Exportable using mapvote resource
- mute
- Exportable using communications resource (and onPlayerChat interruptions)
- unmute
- Exportable using communications resource (and onPlayerChat interruptions)
- kick
- Should have a lua wrapper with security resource
- ban
- Should have a lua wrapper with security resource
- banip
- Should have a lua wrapper with security resource
- unbanip
- Should have a lua wrapper with security resource
- shutdown
- aexec
- What's this? is it needed?
- whois
- What's this? is it needed?
- whowas
- What's this? is it needed?
- loadscript
- legacy. consider changing to loadresource
- unloadscript
- legacy. consider changing to unloadresource
- scripts
- What's this? is it needed?
- debugscript
For all commands i reccomended putting in the security resource, this is only useful if you have a way of setting commands (from mta server conf) to a security level higher than ANY user, and an architecture is in place to allow resources themselves to have security levels. this allows ONLY the security resource to run these commands, and will only do so if the user has logged in, and communicates with the resource (with console command handlers). This allows easy modifications to the security systems, without needing to reboot the server. Besides, as you said, the more control you have from lua, the better.
It should also be noted that various automated things that MTA does now, using map configurations, like respawn, and weapon drops should be exported to resource modules. bring the MTA automated systems completely down, and let lua do it, with simple commands like spawnplayer and spawnweapon. This gives ultimate control over what goes in the map files (or i should say, resource config files). It'll come in handy for gamemodes that need special respawn controls. (i'm thinking gang wars).
A lot of this you already know, but i put it down cause you're not the only one who might read this.