Skip to content

Configuration file

tahosa edited this page Jul 29, 2013 · 2 revisions

The default configuration file should look like the following:

# Configuration file

####################
# commands
####################

commands {
  # Commands should be a comma separated list of values.
  # The first in the list will be used as the default, while the rest of the list will be aliases for that command.
  # Leave the value blank if you wish to disable the command.
  S:dimid=dimid
  S:drops=drops
  S:forgeTools=forgetools,ft
  S:heal=heal
  S:inventory=inventory,inv
  S:lag=lag,tps
  S:loadedChunks=loadedchunks,lc
  S:mobs=mobs
  S:smite=smite
}


####################
# general
####################

general {
  S:advancedUsers=
  D:killRadius=32.0
  B:regexSearch=false
  I:timeout=10
}

Command Options

Since version 0.5 of ForgeTools, the names of all of the commands are configurable through this file to avoid collision with other tools (MCPC, Bukkit, other plugins, etc.). Command names should be provided as a comma separated list of values without spaces. The first in the list will be used as the default command name, with the others treated as aliases. You can also disable a command by leaving the assignment blank.

General Options

advancedUsers is a comma separated list of users who are allowed to use functionality which would normally be restricted to OPs. This will allow you to add moderators or other trusted individuals to use these commands without an advanced permissions structure. To add new users to the configuration, OPs can use the in-game /forgetools command. We are evaluating integration with existing permissions systems, such as PermissionsEX, but rumor still holds about permissions being added to Forge, so we are waiting for more solid information before proceeding.

killRadius is the default value used by the /drops kill [radius] command. It is the default number of blocks from the player that items should be removed from. Planned updates will also use this value for mob removal.

regexSearch indicates if regular expressions should be used to search for strings in items in player inventories. Currently not implemented, but planned.

timeout refers to the cooldown time in seconds for item and mob searches to prevent server overload. No testing has been done to optimize this value, but beware of dropping it too low. You can override this timeout by using the force, kill, or killall command options when invoking /drops or /mobs.

Clone this wiki locally