diff --git a/config/dynview-common.toml b/config/dynview-common.toml new file mode 100644 index 000000000..54667e973 --- /dev/null +++ b/config/dynview-common.toml @@ -0,0 +1,29 @@ + +["Dynamic Chunk View Distance Settings"] + #The minimum chunk view distance allowed to use. Default: 4 + #Range: 3 ~ 200 + minChunkViewDist = 5 + #The maximum chunk view distance allowed to use. Set to the max a player could benefit from. Default: 15 + #Range: 1 ~ 200 + maxChunkViewDist = 15 + #The minimum simulation distance allowed to use. Default: 4 + #Range: 1 ~ 200 + minSimulationDist = 4 + #The maximum simulation distance allowed to use. Default: 10 + #Range: 1 ~ 200 + maxSimulationDist = 10 + #The average tick time to stabilize the chunk view distance around. Setting it higher than 50ms is not advised, as after 50ms the TPS will go below 20. Default: 45ms + #Range: 10 ~ 100 + meanAvgTickTime = 45 + #The update frequency of average server tick time checks to update view distances. Default: 30sec + #Range: 1 ~ 1000 + viewDistanceUpdateRate = 60 + #Whether to adjust the simulation distance aswell, default: true. + adjustSimulationDistance = true + #Whether to output log messages for actions done. This can be helpful to balance the other settings nicely. + logMessages = true + +["Chunk slow unload settings"] + #Enable slow chunk unloading(~1minute) after load, helps with mods hot-loading chunks frequently. Default: true + chunkunload = true + diff --git a/config/localizedchat-common.toml b/config/localizedchat-common.toml new file mode 100644 index 000000000..ba9e53d2d --- /dev/null +++ b/config/localizedchat-common.toml @@ -0,0 +1,45 @@ + +#Chat Restrictions +#talkRange doesn't have a toggle value, because then the mod would be useless +[restrictions] + #The maximum range at which a player local to another player can be heard without requiring being an op. + #Default: 100 + #Range: > 0 + talkRange = 100 + #The maximum range at which a player local to another player can be heard when shouting. + #Default: 400 + #Range: > 0 + shoutTalkRange = 400 + #The amount of hunger used when shouting. Set to 0 to disable. + #Default: 1 + #Range: > 0 + shoutFoodCost = 1 + #Set to true to treat operators like players. Aka talking hits the entire world + #Default: false + opAsPlayer = false + +#Miscellaneous +[miscellaneous] + #If alternate prefix is enabled then the distance won't be displayed but this prefix will. + prefix = "" + #Enable to use the prefix you set above + usePrefix = false + #Should the distance away be indicated in the chat? This also disables the custom prefix. + rangeNotifier = true + +#These codes control the output of the colors sent to the client for the various parts of the mod +#Color codes reference at http://minecraft.wikia.com/wiki/Formatting_Codes +[color_codes] + #Sets the color for brackets [] + bracketColor = "§6" + #Sets the color for angle braces <> + angleBraceColor = "§7" + #Sets the color for positional information + posColor = "§e" + #Sets the color to be used player names + nameColor = "§f" + #Sets the color the body of the message + bodyColor = "§f" + #The color to use when no other color will do + defaultColor = "§f" + diff --git a/config/voicechat-client.toml b/config/voicechat-client.toml new file mode 100644 index 000000000..21e823e72 --- /dev/null +++ b/config/voicechat-client.toml @@ -0,0 +1,3 @@ +# This config has been moved to config/voicechat/voicechat-client.properties +moved = true + diff --git a/config/voicechat/translations.properties b/config/voicechat/translations.properties new file mode 100644 index 000000000..d68331477 --- /dev/null +++ b/config/voicechat/translations.properties @@ -0,0 +1,14 @@ +# Simple Voice Chat translations +# This file contains all server-side translations for the Simple Voice Chat mod + +# The message a player gets when kicked for not having voice chat installed and the server has force_voicechat enabled +# The first parameter is the mod/plugin name and the second parameter is the mod/plugin version +force_voicechat_kick_message=You need %s %s to play on this server +# The message a player gets when joining a server with an incompatible voice chat version +# The first parameter is the mod/plugin version and the second parameter is the mod/plugin name +voicechat_not_compatible_message=Your voice chat version is not compatible with the servers version.\\nPlease install version %s of %s. +# The message a player gets when trying to execute a command that requires voice chat +# The first parameter is the mod/plugin name +voicechat_needed_for_command_message=You need to have %s installed on your client to use this command +# The message a player gets when trying to execute a command that can only be executed as a player +player_command_message=This command can only be executed as a player diff --git a/config/voicechat/voicechat-client.properties b/config/voicechat/voicechat-client.properties new file mode 100644 index 000000000..45c0472b1 --- /dev/null +++ b/config/voicechat/voicechat-client.properties @@ -0,0 +1,85 @@ +# Simple Voice Chat client config v1.20.1-2.4.32 + +# The voice chat volume +voice_chat_volume=1.0 +# The threshold for voice activation in dB +voice_activation_threshold=-50.0 +# The voice chat microphone amplification +microphone_amplification=1.0 +# Microphone activation type +# Possible values are 'PTT' and 'VOICE' +microphone_activation_type=PTT +# The size of the audio output buffer in packets +# Higher values mean a higher latency, but less crackles +# Increase this value if you have an unstable internet connection +output_buffer_size=5 +# The maximum amount of audio packets that are held back if a packet arrives out of order or gets dropped +# This prevents discarding audio packets that are slightly out of order +# Set this to 0 to disable +audio_packet_threshold=3 +# The time it takes for the microphone to deactivate when using voice activation +# A value of 1 means 20 milliseconds, 2=40 ms, 3=60 ms, ... +voice_deactivation_delay=25 +# The microphone used by the voice chat +# Empty for default device +microphone= +# The speaker used by the voice chat +# Empty for default device +speaker= +# If the microphone is muted (only when using voice activation) +muted=false +# If the voice chat is disabled (sound and microphone off) +disabled=false +# If the voice chat icons should be hidden +hide_icons=false +# If the group HUD should be visible +show_group_hud=true +# If the own icon should be shown when in a group +show_own_group_icon=true +# The scale of the group HUD +group_hud_icon_scale=2.0 +# The orientation of the player icons in the group HUD +# Possible values are 'VERTICAL' and 'HORIZONTAL' +group_player_icon_orientation=VERTICAL +# The X position of the player icons in the group HUD +# Negative values mean anchoring to the right +group_player_icon_pos_x=4 +# The Y position of the player icons in the group HUD +# Negative values mean anchoring to the bottom +group_player_icon_pos_y=4 +# The X position of the HUD icons +# Negative values mean anchoring to the right +hud_icon_pos_x=16 +# The Y position of the HUD icons +# Negative values mean anchoring to the bottom +hud_icon_pos_y=-16 +# The scale of the HUD icons +hud_icon_scale=1.0 +# The location where recordings should be saved +# Leave empty for default location +recording_destination= +# The quality of the recorded audio +# 0 = highest quality, 9 = lowest quality +recording_quality=2 +# If noise cancellation should be enabled +denoiser=false +# If voice chat should work in singleplayer/LAN worlds +run_local_server=true +# Whether to use the Java implementation of microphone capturing instead of OpenAL +java_microphone_implementation=false +# If the mod should check for microphone permissions (MacOS only) +macos_check_microphone_permission=true +# If fake players should have the disconnected icon above their head +show_fake_players_disconnected=false +# If the volume adjustment GUI should also show offline players +offline_player_volume_adjustment=false +# The 3D audio type +# Possible values are 'NORMAL', 'REDUCED' and 'OFF' +audio_type=NORMAL +# If the mod should load native libraries +# If set to false, the Java Opus implementation will be used, the denoiser won't be available and you won't be able to record audio. +use_natives=true +# This lets you hear players near you, even though you are further away with your freecam +freecam_support=true +# If enabled, you will be automatically muted when joining a world +mute_on_join=false diff --git a/config/voicechat/voicechat-server.properties b/config/voicechat/voicechat-server.properties new file mode 100644 index 000000000..6bc254ffe --- /dev/null +++ b/config/voicechat/voicechat-server.properties @@ -0,0 +1,43 @@ +# Simple Voice Chat server config v1.20.1-2.4.32 + +# The port of the voice chat server +# Setting this to "-1" sets the port to the Minecraft servers port (Not recommended) +port=25626 +# The IP address to bind the voice chat server on +# Leave empty to use 'server-ip' of server.properties +# To bind to the wildcard address, use '*' +bind_address= +# The distance to where the voice can be heard +max_voice_distance=48.0 +# The multiplier of the voice distance when crouching +crouch_distance_multiplier=1.0 +# The multiplier of the voice distance when whispering +whisper_distance_multiplier=0.5 +# The opus codec +# Possible values are 'VOIP', 'AUDIO' and 'RESTRICTED_LOWDELAY' +codec=VOIP +# The maximum size in bytes that voice packets are allowed to have +mtu_size=1024 +# The frequency at which keep alive packets are sent +# Setting this to a higher value may result in timeouts +keep_alive=1000 +# If group chats are allowed +enable_groups=true +# The host name that clients should use to connect to the voice chat +# This may also include a port, e.g. 'example.com:24454' +# Don't change this value if you don't know what you are doing +voice_host= +# If players are allowed to record the voice chat +allow_recording=true +# If spectators are allowed to talk to other players +spectator_interaction=false +# If spectators can talk to players they are spectating +spectator_player_possession=false +# If players without the mod should get kicked from the server +force_voice_chat=false +# The amount of milliseconds, the server should wait to check if the player has the mod installed +# Only active when force_voice_chat is set to true +login_timeout=10000 +# The range where the voice chat should broadcast audio to +# A value <0 means 'max_voice_distance' +broadcast_range=-1.0 diff --git a/config/voicechat/voicechat-volumes.properties b/config/voicechat/voicechat-volumes.properties new file mode 100644 index 000000000..c029ae39d --- /dev/null +++ b/config/voicechat/voicechat-volumes.properties @@ -0,0 +1,2 @@ +# Simple Voice Chat volume config +