Skip to main content

Configuration

VoiceHub's configuration is stored in config.json inside the mod's data folder.

Default Configuration

{
"_info": "KyuubiSoft VoiceHub Configuration",
"proximity": {
"enabled": true,
"maxHearingDistance": 64.0,
"fullVolumeDistance": 16.0,
"deadPlayersCanHear": false
},
"defaultChannels": [
{
"name": "Proximity",
"description": "Players nearby can hear you",
"type": "PROXIMITY"
},
{
"name": "Global",
"description": "Server-wide voice channel",
"type": "GLOBAL"
}
],
"channels": {
"maxChannelsPerPlayer": 3,
"maxChannelsTotal": 50,
"maxMembersDefault": 20,
"allowPlayerCreatedChannels": true,
"allowGlobalChannels": false,
"whisperEnabled": true,
"persistentChannelsEnabled": true,
"autoDeleteEmptyAfterMinutes": 30
},
"permissions": {
"adminPermission": "kyuubisoft.voicehub.admin",
"createPermission": "kyuubisoft.voicehub.create"
}
}

Settings Reference

Proximity

SettingTypeDefaultDescription
enabledbooleantrueEnable proximity voice
maxHearingDistancefloat64.0Maximum hearing range in blocks
fullVolumeDistancefloat16.0Distance at which volume starts to fade
deadPlayersCanHearbooleanfalseWhether dead players can hear voice

Default Channels

An array of channels that are automatically created on server start. These channels cannot be deleted by players.

FieldTypeDescription
namestringDisplay name of the channel
descriptionstringChannel description
typestringChannel type: PROXIMITY, GROUP, GLOBAL, MODERATED, WHISPER

Channels

SettingTypeDefaultDescription
maxChannelsPerPlayerint3Maximum channels a player can own
maxChannelsTotalint50Maximum total channels on the server
maxMembersDefaultint20Default member limit for new channels
allowPlayerCreatedChannelsbooleantrueWhether players can create channels
allowGlobalChannelsbooleanfalseWhether GLOBAL type channels are allowed
whisperEnabledbooleantrueWhether whisper channels are allowed
persistentChannelsEnabledbooleantrueWhether channels can persist across restarts
autoDeleteEmptyAfterMinutesint30Auto-delete empty non-persistent channels after X minutes

Permissions

SettingTypeDefaultDescription
adminPermissionstringkyuubisoft.voicehub.adminPermission for admin commands and panel
createPermissionstringkyuubisoft.voicehub.createPermission required when allowPlayerCreatedChannels is false
Player Channel Creation

When allowPlayerCreatedChannels is true (default), all players can create channels without any permission. The createPermission is only checked when allowPlayerCreatedChannels is false.

Database

VoiceHub uses SQLite for persistence. The database file voicehub.db is stored in the mod's data folder and contains:

  • channels — persistent channel configurations
  • channel_members — member lists for persistent channels
  • channel_permissions — moderator assignments
  • player_settings — per-player preferences (last channel, voice enabled)