Configuration

How to modify the configuration

You can modify the MoreCommands configuration in a config file called config.cfg (located in "minecraft_installation_folder/
config/morecommands"). The syntax for the file is the following: "SETTING=VALUE" which means that each line there is an
identifier (e.g. "welcome_message") and the corresponing value after an equal sign. Some settings have to do with the so
called "handshake". To use them I will shortly explain, what that is:

What is a "handshake"
Everytime you join a server which has MoreCommands installed, the server will send a message to the client requesting it to send a message back
This is called a handshake and is needed to be sure if the client has the mod installed. If the client doesn't receive a handshake packet from the
server or the other way around the client/server knows the the other side doesn't have the mod installed. This is important for some commands.

The settings are currently:

welcome_message

Set the value to "true" or to "false" to tell the mod whether it shall displayer the loaded message ("MoreCommands vX.Y loaded")

enableGlobalVars

Set the value to "true" or to "false" to tell the mod whether global variables should be allowed

enablePlayerVars

Set the value to "true" or to "false" to tell the mod whether custom player variables should be allowed

enableGlobalAliases

Set the value to "true" or to "false" to tell the mod whether global aliases should be allowed

enablePlayerAliases

Set the value to "true" or to "false" to tell the mod whether custom player aliases should be allowed

serverMustHaveMod

If this is set to "true" the client won't connect to any server that doesn't have MoreCommands installed

clientMustHaveMod

If this is set to "true" the server won't accept any connection to clients that don't have MoreCommands installed

searchUpdates

Set the value to "true" or to "false" to tell the mod whether it should search updates

startupTimeout

Has to be a time in seconds, defaults to 10. On the client side startup commands are executed as soon as the client receives a

handshake packet. But what is if the server doesn't have MoreCommands installed? If this is the case, the startup commands

would never be executed. That's why there is a timeout which is 10 by default. You can modify this timeout with this setting.