Skip to content

Configuration

The main configuration file config.json controls the core behavior of the Info Hub.

{
"language": "en-US",
"command": {
"name": "ksinfo",
"aliases": ["hub", "help", "hilfe", "menu"],
"description": "Opens the Info Hub"
},
"joinMessage": {
"enabled": true,
"delaySeconds": 2,
"message": [
"",
"&8━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━",
" &6Welcome to the server!",
" &7Use &e/ksinfo &7for all information!",
"&8━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━",
""
],
"showOnlyOnFirstJoin": false,
"cooldownMinutes": 0
},
"infoItem": {
"enabled": true,
"itemId": "InfoHub_Book",
"giveOnFirstJoin": true,
"giveOnEveryJoin": false,
"hotbarSlot": 8,
"giveDelaySeconds": 3
},
"globalSearch": {
"enabled": true,
"minQueryLength": 2,
"maxResults": 20,
"searchIn": {
"commands": true,
"faq": true,
"rules": true,
"team": false
}
},
"sections": {
"commands": {
"icon": "Tool_Pickaxe_Iron",
"priority": 1,
"permission": null,
"enabled": true,
"command": "commands"
},
"rules": {
"icon": "Weapon_Sword_Iron",
"priority": 2,
"permission": null,
"enabled": true,
"command": "rules"
},
"faq": {
"icon": "Ore_Gold",
"priority": 3,
"permission": null,
"enabled": true,
"command": "faq"
},
"serverinfo": {
"icon": "Ore_Prisma",
"priority": 4,
"permission": null,
"enabled": true,
"command": null
},
"team": {
"icon": "Weapon_Longsword_Iron",
"priority": 5,
"permission": null,
"enabled": true,
"command": "team"
}
},
"display": {
"hubTitle": "KyuubiSoft Info Hub",
"itemsPerPage": 6,
"columns": 1,
"showSectionDescriptions": true
},
"permissions": {
"adminReload": "infohub.admin.reload",
"bypassCommandFilter": "infohub.bypass.commandfilter"
}
}

SettingTypeDefaultDescription
languageString"en-US"Language for UI texts. Available: en-US, de-DE, fr-FR, es-ES, pt-BR, ru-RU, pl-PL, tr-TR, it-IT
SettingTypeDescription
command.nameStringMain command to open the Info Hub
command.aliasesArrayAlternative commands
command.descriptionStringCommand description
SettingTypeDefaultDescription
joinMessage.enabledBooleantrueEnable welcome message
joinMessage.delaySecondsInteger2Delay after join in seconds
joinMessage.messageArray-Message lines (with color codes)
joinMessage.showOnlyOnFirstJoinBooleanfalseOnly show on first ever join
joinMessage.cooldownMinutesInteger0Cooldown between messages (0 = always)
SettingTypeDefaultDescription
infoItem.enabledBooleantrueEnable info item system
infoItem.itemIdString"InfoHub_Book"Item ID for the info item
infoItem.giveOnFirstJoinBooleantrueGive item on first join
infoItem.giveOnEveryJoinBooleanfalseGive item on every join
infoItem.hotbarSlotInteger8Hotbar slot 0-8
infoItem.giveDelaySecondsInteger3Delay before giving item

The Info Hub features live inline search - results appear instantly on the same page while typing.

SettingTypeDefaultDescription
globalSearch.enabledBooleantrueEnable global search
globalSearch.minQueryLengthInteger2Minimum search query length
globalSearch.maxResultsInteger20Maximum search results
globalSearch.searchIn.commandsBooleantrueInclude commands in search
globalSearch.searchIn.faqBooleantrueInclude FAQ in search
globalSearch.searchIn.rulesBooleantrueInclude rules in search
globalSearch.searchIn.teamBooleanfalseInclude team in search
LocationSearch TypeBehavior
Main HubLive InlineResults replace sections while typing
Command CategoriesLive InlineCategories filter while typing
Command ListLive InlineCommands filter while typing

:::tip Live Search Start typing in the search box (minimum 2 characters) and results appear instantly. The section buttons are temporarily hidden while searching. Click any result to open its detail page, or clear the search text to return to the main view. :::

Each section can be configured:

SettingTypeDescription
iconStringItem ID for the section icon
priorityIntegerSort order (lower = higher)
permissionStringPermission to view (null = everyone)
enabledBooleanShow section in main menu
commandStringDirect command for this section (null = no command)
commandAliasesArrayAdditional command aliases (optional)

:::tip Section Command Configuration You can add a command to any section. For example, to add a command for the serverinfo section:

"serverinfo": {
"icon": "Ore_Prisma",
"priority": 4,
"enabled": true,
"command": "serverinfo",
"commandAliases": ["server", "info-server"]
}

:::

SettingTypeDefaultDescription
display.hubTitleString"KyuubiSoft Info Hub"Title shown in the hub
display.itemsPerPageInteger6Items per page in lists
display.columnsInteger1Layout columns (1 = full width, 2 = two columns)
display.showSectionDescriptionsBooleantrueShow section descriptions

Use these codes in messages:

CodeColorCodeColor
&0Black&8Dark Gray
&1Dark Blue&9Blue
&2Dark Green&aGreen
&3Dark Cyan&bCyan
&4Dark Red&cRed
&5Purple&dPink
&6Gold&eYellow
&7Gray&fWhite

Formatting:

CodeEffect
&lBold
&oItalic
&nUnderlined
&rReset

"joinMessage": {
"enabled": true,
"delaySeconds": 1,
"message": [
"&aWelcome! Type &e/ksinfo &afor help."
]
}
"sections": {
"admin-tools": {
"icon": "Deco_CommandBlock",
"priority": 10,
"permission": "infohub.section.admin",
"enabled": true
}
}
"infoItem": {
"enabled": false
}