Reply to thread

ok you must make yourself an admin account with full permissions


Then click Aliases

http://www.battlefieldheroes.com/forum/attachment.php?attachhash=c0a7d359b5f32d88684298b1bbd2be8a




Ingame alias


How it works


Aliases are commands that can be used ingame by administrators defined on the server. To use an alias, simply write the alias into the chat with a ! just before


Example :


!rs

to restart the round

!kick 0

to kick the player N°0


The required level for an ingame alias is defined by the administrator during the creation of this alias. It is up to you to choose that your users can do or not during the game. This method is the same for the admin level with the console : an administrator with level 30 can do everything that a level 20 administrator can do.


Add an alias


Go to the ModManager tab then the Alias tab


Click on Add


A window should appear :




Fullfill all the fields :


Alias : the alias that can be used ingame. The choice is completely yours. If you put superalias, you will have to type !superalias into the ingame chat to use it


Command : basic RCON command linked to this alias. See Command linkable into the ingame alias system


Level : admin level required to execute this alias


Click on Apply to add it to the aliases list


Click on Apply to apply your change on the server


Save the modmanager configuration. If not, all your changes will be lost at the next reboot


All that you type after the alias into the ingame is used as parameter of the command. For example :


alias: k

command: admin.kickPlayer

if you type !k 0 into the ingame chat, this will kick the player 0


alias: say

command: game.sayAll

if you type !say "hello world" into the ingame chat, this will write "Hello world" into the game

alias: say2

commande: game.sayAll "Hello world 2"

if you type !say2 into the ingame chat, this will write "Hello world 2" into the game


Command linkable with the alias system


game.sayAll "<message>"

game.sayTeam <idTeam> "<message>"

game.sayToPlayerWithId <idPplayer> "<message>"

game.sayToPlayerWithName <playerName> "<message>"


maplist.list


admin.runNextLevel

admin.currentLevel

admin.nextLevel <idMap>

admin.restartMap

admin.banPlayer <playerId>

admin.banPlayer

admin.kickPlayer <playerId>

admin.listPlayers

Special commands for Eliott Ness

warn <playerId> <reason>

kick <playerId> <reason>

ban <playerId> <reason>

 This commands allow you to kick, ban or warn players specifying a reason


Top