DirectionHUD 1.8 Help

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.

{ "version": 1.6, "lang": "en_us", "lang-options": [ "en_us", "ru_ru", "zh_cn", "zh_hk" ], "online-mode": true, "location": { "max-y": 512, "max-xz": 30000000 }, "hud": { "editing": true, "loop-ticks": 1 }, "destination": { "saving": true, "max-saved": 50, "global": false, "lastdeath": { "saving": true, "max-deaths": 4 }, "loop-ticks": 20 }, "social": { "enabled": true, "cooldown": 10 }, "max-color-presets": 14 }
Last modified: 01 March 2025