Config
The mod also provides some config options which can be changed.
Warning
Please note that changes to the library's config affect ALL addons that use this api!
Client
Option | Description | Allowed Values | Default |
---|---|---|---|
max_streaming_channels |
The amount of streaming sound channels. By default, Minecraft has 8 streaming channels, but this mod increases it to 32. (Restart required) | 8 - 255 |
32 |
Common
Option | Description | Allowed Values | Default |
---|---|---|---|
permission.sound_command_usage |
Minimum permission level required to use the basic features of the /sound command, such as playing, stopping and modifying sounds. | 0 - 4 |
2 |
permission.sound_command_management |
Minimum permission level required to use all features of the /sound command, such as uploading and deleting sound files. | 0 - 4 |
3 |
cleanup_on_server_start |
If active, a file cleanup will be performed at server startup to clean up unreachable ('dead') files or empty folders. | Boolean | true |
user_uploads.max_files |
How many audio files one user can upload. (Default: -1, -1 = unlimited, 0 = none) | -1 - 2147483647 |
-1 |
user_uploads.max_storage_size |
Maximum audio file storage space per user. (Default: -1, -1 = unlimited, 0 = none) | -1 - 9223372036854775807 |
-1 |
user_uploads.max_file_size |
Maximum size of one single audio file a user can upload. (Default: -1, -1 = unlimited, 0 = none) | -1 - 1073741824 |
-1 |
user_uploads.max_audio_duration |
Maximum duration of one single audio file a user can upload. (Default: -1, -1 = unlimited, 0 = none) | -1 - 9223372036854775807 |
-1 |