config.json
This file contains the configurations for the main features of DirectionHUD. These features include language selection, loop speeds, social settings, and more.
Configuration
Each part of the file and its valid entries are detailed below.
- lang
Defines the language used for DirectionHUD
Input: String
Options:
en_us
,ru_ru
,zh_cn
,zh_hk
- online-mode
Defines the mode for PlayerData file creation.
When enabled, PlayerData files are named and accessed via the players UUID.
When disabled, the PlayerData will use the player's IGN.Input: Boolean
- location
Configures the constraints on DirectionHUD locations.
- max-y
Defines the maximum accepted input for the Y level. (both positive and negative)
Input: Integer
- max-xz
Defines the maximum accepted input for the X and Z coordinates. (both positive and negative)
Input: Integer
- hud
Configures HUD functionality.
- editing
Toggles the
/hud
command completely.Input: Boolean
- loop-ticks
Defines the number of ticks between each hud refresh.
Input: Integer
- destination
- social
- max-color-presets
Defines the maximum number of color presets that a player can have.
Input: Integer
Default File Structure
This section provides the default structure of the config.json
file.