diff --git a/client_config/index.html b/client_config/index.html index 5bed186..219d345 100644 --- a/client_config/index.html +++ b/client_config/index.html @@ -157,6 +157,11 @@ in the silly music folder on silly music.

It is recommended to use .ogg Vorbis files for music. There is support for .mp3 files, but currently .ogg Vorbis files are more stable in this mod. Note that .ogg Opus files are NOT supported, but .ogg Vorbis files are.

+ +
+

Note

+

The following command can convert to .ogg Vorbis using ffmpeg:
+ffmpeg -i <music_file> -map a:0 -c:a libvorbis output.ogg

diff --git a/index.html b/index.html index a9f07a2..23269c0 100644 --- a/index.html +++ b/index.html @@ -209,5 +209,5 @@ diff --git a/search/search_index.json b/search/search_index.json index 7210a75..771a104 100644 --- a/search/search_index.json +++ b/search/search_index.json @@ -1 +1 @@ -{"config":{"indexing":"full","lang":["en"],"min_search_length":3,"prebuild_index":false,"separator":"[\\s\\-]+"},"docs":[{"location":"","text":"TurnBasedMinecraftMod Main repository link. Alternate repository link. Pages Client-side config Server-side config","title":"TurnBasedMinecraftMod"},{"location":"#turnbasedminecraftmod","text":"Main repository link. Alternate repository link.","title":"TurnBasedMinecraftMod"},{"location":"#pages","text":"Client-side config Server-side config","title":"Pages"},{"location":"client_config/","text":"Client-side Config The client config can be opened in two ways. One way is via the mod-list (only works in NeoForge, not Forge). The other way is via the /tbm-client-edit command. Currently, the client config allows for configuration for client-side music playback. The \"categories\" settings are comma-separated words that define what \"category\" triggers the \"battle\" music or the \"silly\" music. \"Silly Music Threshold\" determines the percentage of silly-category-mobs in battle required to play silly music. This means if the setting is 49%, and there is one player, one zombie, and two sheep in battle, then the game will play silly music (since 50% of the combatants are sheep and is greater than 49%). Battle/Silly Music Note The TurnBasedMinecraftMod (TBMM) configuration folders need to be generated. Run the mod once to generate them, then close Minecraft. There are two folders in the .minecraft/config/TurnBasedMinecraft/Music/ directory: battle and silly . Place your music files in those folders, and the appropriate music will play depending on if the battle is with silly mobs or not. Note A random song will be picked in the battle folder on battle music, and in the silly music folder on silly music. Warning It is recommended to use .ogg Vorbis files for music. There is support for .mp3 files, but currently .ogg Vorbis files are more stable in this mod. Note that .ogg Opus files are NOT supported, but .ogg Vorbis files are.","title":"Client-side Config"},{"location":"client_config/#client-side-config","text":"The client config can be opened in two ways. One way is via the mod-list (only works in NeoForge, not Forge). The other way is via the /tbm-client-edit command. Currently, the client config allows for configuration for client-side music playback. The \"categories\" settings are comma-separated words that define what \"category\" triggers the \"battle\" music or the \"silly\" music. \"Silly Music Threshold\" determines the percentage of silly-category-mobs in battle required to play silly music. This means if the setting is 49%, and there is one player, one zombie, and two sheep in battle, then the game will play silly music (since 50% of the combatants are sheep and is greater than 49%).","title":"Client-side Config"},{"location":"client_config/#battlesilly-music","text":"Note The TurnBasedMinecraftMod (TBMM) configuration folders need to be generated. Run the mod once to generate them, then close Minecraft. There are two folders in the .minecraft/config/TurnBasedMinecraft/Music/ directory: battle and silly . Place your music files in those folders, and the appropriate music will play depending on if the battle is with silly mobs or not. Note A random song will be picked in the battle folder on battle music, and in the silly music folder on silly music. Warning It is recommended to use .ogg Vorbis files for music. There is support for .mp3 files, but currently .ogg Vorbis files are more stable in this mod. Note that .ogg Opus files are NOT supported, but .ogg Vorbis files are.","title":"Battle/Silly Music"},{"location":"server_config/","text":"Server-side Config Invoke /tbm-server-edit to print out server settings to the \"chat\" area. In this text area, yellow texts are setting names, green texts are setting values that can be set when clicked on, and dark-green texts are settings that display more settings when clicked on. Note You can hover/click these texts by pressing the \"t\" key to open the chatbox, and using the mouse. When clicking on the dark-green texts, a description and list is shown. You can hover over the text to show what actions may occur when clicked. On click, the action taken will be shown. It is also possible to set config settings via a command, but it is recommended to use the \"click-on-chat\" interface for general server config settings. Per-Mob Settings To demonstrate setting \"per-mob\" settings, it will be shown how to do so with sheep. Invoke /tbm-edit . Some helpful text will show. At this point, TBMM (TurnBasedMinecraftMod) will be keeping track of who you will attack next, so that you can edit their settings. Currently this only applies to mobs like sheep, zombies, skeletons, bees, etc. This is done so that you can physically select the mob you want to \"edit\". In this example, the \"AE\" (attack effect) setting will be changed to \"levitation\", which will cause the sheep to make the player levitate 50% of the time. Also, \"DecisionAttack\" will be set to 100%, so that the sheep will choose to attack instead of fleeing battle. Note Make sure to click on \"Finished Editing\" to save changes to the server-side config. Note that for sheep to enter battle, they must be removed from the \"ignore battle categories\" setting (remove the \"passive\" category). Now, sheep will attack and cause \"levitation\" 50% of the time. Custom Name Settings Additional entries can be added to the server-side config that applies to mobs named with a specific name (like with a name-tag). Name a mob, then invoke /tbm-edit custom . Hit the named mob to start the editing process. Make your changes and click on \"Finished Editing\", and any mob with that exact name will have these battle settings applied. Note These settings are also in the server-side config. Other Things to Know Sometimes a mod update will \"reset\" the settings in the server-config to defaults. This is due to new mob entries in the settings. Check the .minecraft/config folder (or config folder on the server) to see that the old settings file was renamed and the new settings file is in its place. You may have to compare the files to keep the settings you want. Frequently Asked Questions FAQ","title":"Server-side Config"},{"location":"server_config/#server-side-config","text":"Invoke /tbm-server-edit to print out server settings to the \"chat\" area. In this text area, yellow texts are setting names, green texts are setting values that can be set when clicked on, and dark-green texts are settings that display more settings when clicked on. Note You can hover/click these texts by pressing the \"t\" key to open the chatbox, and using the mouse. When clicking on the dark-green texts, a description and list is shown. You can hover over the text to show what actions may occur when clicked. On click, the action taken will be shown. It is also possible to set config settings via a command, but it is recommended to use the \"click-on-chat\" interface for general server config settings.","title":"Server-side Config"},{"location":"server_config/#per-mob-settings","text":"To demonstrate setting \"per-mob\" settings, it will be shown how to do so with sheep. Invoke /tbm-edit . Some helpful text will show. At this point, TBMM (TurnBasedMinecraftMod) will be keeping track of who you will attack next, so that you can edit their settings. Currently this only applies to mobs like sheep, zombies, skeletons, bees, etc. This is done so that you can physically select the mob you want to \"edit\". In this example, the \"AE\" (attack effect) setting will be changed to \"levitation\", which will cause the sheep to make the player levitate 50% of the time. Also, \"DecisionAttack\" will be set to 100%, so that the sheep will choose to attack instead of fleeing battle. Note Make sure to click on \"Finished Editing\" to save changes to the server-side config. Note that for sheep to enter battle, they must be removed from the \"ignore battle categories\" setting (remove the \"passive\" category). Now, sheep will attack and cause \"levitation\" 50% of the time.","title":"Per-Mob Settings"},{"location":"server_config/#custom-name-settings","text":"Additional entries can be added to the server-side config that applies to mobs named with a specific name (like with a name-tag). Name a mob, then invoke /tbm-edit custom . Hit the named mob to start the editing process. Make your changes and click on \"Finished Editing\", and any mob with that exact name will have these battle settings applied. Note These settings are also in the server-side config.","title":"Custom Name Settings"},{"location":"server_config/#other-things-to-know","text":"Sometimes a mod update will \"reset\" the settings in the server-config to defaults. This is due to new mob entries in the settings. Check the .minecraft/config folder (or config folder on the server) to see that the old settings file was renamed and the new settings file is in its place. You may have to compare the files to keep the settings you want.","title":"Other Things to Know"},{"location":"server_config/#frequently-asked-questions","text":"FAQ","title":"Frequently Asked Questions"}]} \ No newline at end of file +{"config":{"indexing":"full","lang":["en"],"min_search_length":3,"prebuild_index":false,"separator":"[\\s\\-]+"},"docs":[{"location":"","text":"TurnBasedMinecraftMod Main repository link. Alternate repository link. Pages Client-side config Server-side config","title":"TurnBasedMinecraftMod"},{"location":"#turnbasedminecraftmod","text":"Main repository link. Alternate repository link.","title":"TurnBasedMinecraftMod"},{"location":"#pages","text":"Client-side config Server-side config","title":"Pages"},{"location":"client_config/","text":"Client-side Config The client config can be opened in two ways. One way is via the mod-list (only works in NeoForge, not Forge). The other way is via the /tbm-client-edit command. Currently, the client config allows for configuration for client-side music playback. The \"categories\" settings are comma-separated words that define what \"category\" triggers the \"battle\" music or the \"silly\" music. \"Silly Music Threshold\" determines the percentage of silly-category-mobs in battle required to play silly music. This means if the setting is 49%, and there is one player, one zombie, and two sheep in battle, then the game will play silly music (since 50% of the combatants are sheep and is greater than 49%). Battle/Silly Music Note The TurnBasedMinecraftMod (TBMM) configuration folders need to be generated. Run the mod once to generate them, then close Minecraft. There are two folders in the .minecraft/config/TurnBasedMinecraft/Music/ directory: battle and silly . Place your music files in those folders, and the appropriate music will play depending on if the battle is with silly mobs or not. Note A random song will be picked in the battle folder on battle music, and in the silly music folder on silly music. Warning It is recommended to use .ogg Vorbis files for music. There is support for .mp3 files, but currently .ogg Vorbis files are more stable in this mod. Note that .ogg Opus files are NOT supported, but .ogg Vorbis files are. Note The following command can convert to .ogg Vorbis using ffmpeg: ffmpeg -i -map a:0 -c:a libvorbis output.ogg","title":"Client-side Config"},{"location":"client_config/#client-side-config","text":"The client config can be opened in two ways. One way is via the mod-list (only works in NeoForge, not Forge). The other way is via the /tbm-client-edit command. Currently, the client config allows for configuration for client-side music playback. The \"categories\" settings are comma-separated words that define what \"category\" triggers the \"battle\" music or the \"silly\" music. \"Silly Music Threshold\" determines the percentage of silly-category-mobs in battle required to play silly music. This means if the setting is 49%, and there is one player, one zombie, and two sheep in battle, then the game will play silly music (since 50% of the combatants are sheep and is greater than 49%).","title":"Client-side Config"},{"location":"client_config/#battlesilly-music","text":"Note The TurnBasedMinecraftMod (TBMM) configuration folders need to be generated. Run the mod once to generate them, then close Minecraft. There are two folders in the .minecraft/config/TurnBasedMinecraft/Music/ directory: battle and silly . Place your music files in those folders, and the appropriate music will play depending on if the battle is with silly mobs or not. Note A random song will be picked in the battle folder on battle music, and in the silly music folder on silly music. Warning It is recommended to use .ogg Vorbis files for music. There is support for .mp3 files, but currently .ogg Vorbis files are more stable in this mod. Note that .ogg Opus files are NOT supported, but .ogg Vorbis files are. Note The following command can convert to .ogg Vorbis using ffmpeg: ffmpeg -i -map a:0 -c:a libvorbis output.ogg","title":"Battle/Silly Music"},{"location":"server_config/","text":"Server-side Config Invoke /tbm-server-edit to print out server settings to the \"chat\" area. In this text area, yellow texts are setting names, green texts are setting values that can be set when clicked on, and dark-green texts are settings that display more settings when clicked on. Note You can hover/click these texts by pressing the \"t\" key to open the chatbox, and using the mouse. When clicking on the dark-green texts, a description and list is shown. You can hover over the text to show what actions may occur when clicked. On click, the action taken will be shown. It is also possible to set config settings via a command, but it is recommended to use the \"click-on-chat\" interface for general server config settings. Per-Mob Settings To demonstrate setting \"per-mob\" settings, it will be shown how to do so with sheep. Invoke /tbm-edit . Some helpful text will show. At this point, TBMM (TurnBasedMinecraftMod) will be keeping track of who you will attack next, so that you can edit their settings. Currently this only applies to mobs like sheep, zombies, skeletons, bees, etc. This is done so that you can physically select the mob you want to \"edit\". In this example, the \"AE\" (attack effect) setting will be changed to \"levitation\", which will cause the sheep to make the player levitate 50% of the time. Also, \"DecisionAttack\" will be set to 100%, so that the sheep will choose to attack instead of fleeing battle. Note Make sure to click on \"Finished Editing\" to save changes to the server-side config. Note that for sheep to enter battle, they must be removed from the \"ignore battle categories\" setting (remove the \"passive\" category). Now, sheep will attack and cause \"levitation\" 50% of the time. Custom Name Settings Additional entries can be added to the server-side config that applies to mobs named with a specific name (like with a name-tag). Name a mob, then invoke /tbm-edit custom . Hit the named mob to start the editing process. Make your changes and click on \"Finished Editing\", and any mob with that exact name will have these battle settings applied. Note These settings are also in the server-side config. Other Things to Know Sometimes a mod update will \"reset\" the settings in the server-config to defaults. This is due to new mob entries in the settings. Check the .minecraft/config folder (or config folder on the server) to see that the old settings file was renamed and the new settings file is in its place. You may have to compare the files to keep the settings you want. Frequently Asked Questions FAQ","title":"Server-side Config"},{"location":"server_config/#server-side-config","text":"Invoke /tbm-server-edit to print out server settings to the \"chat\" area. In this text area, yellow texts are setting names, green texts are setting values that can be set when clicked on, and dark-green texts are settings that display more settings when clicked on. Note You can hover/click these texts by pressing the \"t\" key to open the chatbox, and using the mouse. When clicking on the dark-green texts, a description and list is shown. You can hover over the text to show what actions may occur when clicked. On click, the action taken will be shown. It is also possible to set config settings via a command, but it is recommended to use the \"click-on-chat\" interface for general server config settings.","title":"Server-side Config"},{"location":"server_config/#per-mob-settings","text":"To demonstrate setting \"per-mob\" settings, it will be shown how to do so with sheep. Invoke /tbm-edit . Some helpful text will show. At this point, TBMM (TurnBasedMinecraftMod) will be keeping track of who you will attack next, so that you can edit their settings. Currently this only applies to mobs like sheep, zombies, skeletons, bees, etc. This is done so that you can physically select the mob you want to \"edit\". In this example, the \"AE\" (attack effect) setting will be changed to \"levitation\", which will cause the sheep to make the player levitate 50% of the time. Also, \"DecisionAttack\" will be set to 100%, so that the sheep will choose to attack instead of fleeing battle. Note Make sure to click on \"Finished Editing\" to save changes to the server-side config. Note that for sheep to enter battle, they must be removed from the \"ignore battle categories\" setting (remove the \"passive\" category). Now, sheep will attack and cause \"levitation\" 50% of the time.","title":"Per-Mob Settings"},{"location":"server_config/#custom-name-settings","text":"Additional entries can be added to the server-side config that applies to mobs named with a specific name (like with a name-tag). Name a mob, then invoke /tbm-edit custom . Hit the named mob to start the editing process. Make your changes and click on \"Finished Editing\", and any mob with that exact name will have these battle settings applied. Note These settings are also in the server-side config.","title":"Custom Name Settings"},{"location":"server_config/#other-things-to-know","text":"Sometimes a mod update will \"reset\" the settings in the server-config to defaults. This is due to new mob entries in the settings. Check the .minecraft/config folder (or config folder on the server) to see that the old settings file was renamed and the new settings file is in its place. You may have to compare the files to keep the settings you want.","title":"Other Things to Know"},{"location":"server_config/#frequently-asked-questions","text":"FAQ","title":"Frequently Asked Questions"}]} \ No newline at end of file