main/Configuration

Configuration:

A 'config.yml' file will be generated the first time you run TimeShift. It allows you to modify the messages TimeShift sends, who it sends them to, a couple other settings, and the commands available and their affects.

Configuring settings and localizing or editing strings is covered here. For defining your own commands, see the Advanced Configuration page.

Editing and Localizing Strings and their Destinations

'destination' controls who receives notices that the time has shifted or a shift has been cancelled. Valid options are 'player' 'server-announce' and 'world-announce'

'error-logging' controls whether the console should log when players try to use a command they don't have permission for, or on a non-existent world. Valid options are 'true' or 'false'

'%world' will be replaced with the world name. It is not valid for help entries.

'%player' will be replaced with the name of the player executing the command. It is not valid for help entries.

'%setting' will be replaced with the action specified. It is not valid for help or error entries.

Strings can be colorized using &[0-9a-f] (&0, &1, &2, ...). These match the color formatting codes for Minecraft. Note that the 'colorize-strings' configuration option must be set to true!

Configuration Options

There are several configuration options available under the 'configuration' key:

  • 'colorize-strings' is used to enable or disable translating color codes embedded in the strings you've defined.
  • 'detect-time' is used to enable or disable checking for people (with permission to cancel shifts) using '/time [x]' commands.
  • 'classic' can be ignored as it is less efficient. It causes TimeShift to schedule timers more frequently based on the 'poll-rate'

Configuring Custom Commands

The default commands should satisfy most needs.

See Advanced Configuration for details on adding your own custom commands.

Translations

Deutsch config.yml from RasCas


Comments

Posts Quoted:
Reply
Clear All Quotes