Advertisement
Oliinyk

Untitled

May 31st, 2024
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.57 KB | None | 0 0
  1. # ForcePack Velocity config.
  2. # ForcePack uses MiniMessage for message formatting.
  3. # You can check the MiniMessage documentation for how to use it: https://docs.adventure.kyori.net/minimessage#format
  4. # ForcePack documentation: https://fortitude.islandearth.net/category/forcepack
  5. # Need help? Join our Discord: https://discord.gg/fh62mxU
  6.  
  7. # Whether to ignore geyser players. Only enable this if you use geyser.
  8. geyser = false
  9.  
  10. # Whether to verify that your resource packs have the correct hash.
  11. # May reduce startup time by disabling, but makes problems less obvious.
  12. verify-resource-packs = true
  13.  
  14. # If we should continuously update the GUI for players <= 1.12. Prevents escaping out bypass.
  15. update-gui = true
  16.  
  17. # The update speed of the GUI in milliseconds
  18. update-gui-speed = 1000
  19.  
  20. # Should we forcefully send a resource pack that has an invalid size for the player's client version?
  21. force-invalid-size = false
  22.  
  23. # If this is true, resource packs will always be sent to the player even if they already seem to have the same resource pack.
  24. force-constant-download = false
  25.  
  26. # If this is true, a player will not be able to execute any commands until the resource pack is loaded.
  27. disable-commands-until-loaded = false
  28.  
  29. # A list of commands that can be executed anyway if disable-commands-until-loaded is true.
  30. exclude-commands = [
  31. "exampleone",
  32. "exampletwo",
  33. ]
  34.  
  35. # Whether to enable the bypass permission. If you disable this, all OPs will no longer be able to bypass.
  36. # But you should really fix your permissions instead.
  37. bypass-permission = true
  38.  
  39. # Appends the hash to your URL to fix this bug.
  40. enable-mc-164316-fix = true
  41.  
  42. # Should we use the 1.17+ force resource pack screen, or the old one?
  43. # You can still define a custom message that will show even if this is false for 1.17+ clients
  44. # Note that with this true, the custom disconnect message will not work because the client forcefully kicks itself
  45. use-new-force-pack-screen = true
  46.  
  47. # Should we try and prevent hacked clients sending fake resource pack accept packets?
  48. # Still bypassable, but some are stupid and we are able to detect them.
  49. try-to-stop-fake-accept-hacks = true
  50.  
  51. # How many ticks to delay sending a resource pack by
  52. # Use this if you have a plugin teleporting someone after joining which closes the resource pack screen
  53. delay-pack-sending-by = 20
  54.  
  55. # Whether to enable debug mode. Prints some extra info.
  56. debug = true
  57.  
  58. # This configures the web server for force pack.
  59. # See https://fortitude.islandearth.net/forcepack/configuration#self-hosting
  60. # Note that you can leave the IP as localhost unless it is not working, as in most cases the plugin can automatically resolve it.
  61. # Having this enabled allows the use of the "forcepack://" protocol in resource pack URL
  62. # Enabling this DOES NOT mean you are forced to use a localhost resource pack.
  63. # You need to make sure the port is open. Usually you can just add it via pterodactyl panel.
  64. [web-server]
  65. enabled = false
  66. server-ip = "localhost"
  67. port = 8080
  68.  
  69. [unload-pack]
  70. # Whether to send an empty resource pack when joining a server without one configured, and the player has one applied
  71. enable = true
  72. # The URL of the unload pack
  73. # It's highly recommended you re-host this pack using the webserver or on a CDN such as mc-packs.net for faster load times.
  74. # Leaving this as default potentially sends a lot of requests to my personal web server, which isn't ideal!
  75. url = "https://www.convallyria.com/files/BlankPack.zip"
  76. # The SHA-1 hash of the unload pack file
  77. hash = "118AFFFC54CDCD308702F81BA24E03223F15FE5F"
  78. # Whether to automatically generate the SHA-1 hash.
  79. # The hash setting will be ignored if this is true, however it will fall back to that if the generation fails.
  80. generate-hash = false
  81. # What servers should we exclude from unloading?
  82. exclude = [
  83. "exampleserver"
  84. ]
  85.  
  86. [global-pack]
  87. # Whether to enable a global resource pack. If a server does not have a resource pack configured, it shall use this.
  88. enable = true
  89. # The URL of the global pack
  90. url = "http://omhms.com/share/omhms.zip"
  91. # The SHA-1 hash of the global pack file
  92. hash = "5193b916ba37e78303cb276b22fbccf3b4d9f99d"
  93. # Whether to automatically generate the SHA-1 hash. This is not recommended for security and reliability.
  94. # The hash setting will be ignored if this is true, however it will fall back to that if the generation fails.
  95. generate-hash = true
  96. # The prompt message for clients on 1.17+.
  97. resourcepack.prompt = "<yellow>Будь-ласка, прийми наш ресурспак для того щоб покращити ігровий досвід!"
  98. # What servers should we exclude from the global pack?
  99. exclude = [
  100. "exampleserver"
  101. ]
  102.  
  103. [global-pack.actions]
  104. # List of valid actions: https://jd.advntr.dev/api/4.15.0/net/kyori/adventure/resource/ResourcePackStatus.html
  105. [global-pack.actions.ACCEPTED]
  106. kick = false
  107. commands = []
  108. [global-pack.actions.DECLINED]
  109. kick = false
  110. message = "<red>Ти відмовився від нашого ресурспаку, а отже твій ігровий досвід може постраждати від цього. <yellow>Будь-ласка, принаймні завантаж пак самостійно за посиланням: <aqua>http://omhms.com/share/omhms.zip"
  111. commands = []
  112. [global-pack.actions.FAILED_DOWNLOAD]
  113. kick = false
  114. message = "<yellow>Хм, щось пішло не так під час завантаження ресурспаку. Спробуй перезайти?"
  115. commands = []
  116. [global-pack.actions.FAILED_RELOAD]
  117. kick = false
  118. message = "<yellow>Хм, щось пішло не так під час завантаження ресурспаку. Спробуй перезайти?"
  119. commands = []
  120. [global-pack.actions.SUCCESSFUL]
  121. kick = false
  122. commands = []
  123.  
  124. # Defines groups of servers, rather than singular individual ones
  125. # [groups]
  126. # [groups.example-group]
  127. # # If exact-match is true, only servers exactly equal to the name will be checked
  128. # # If false, they must only contain the keywords
  129. # exact-match = true
  130. # servers = [
  131. # "example-server",
  132. # "example-server-2"
  133. # ]
  134. # # The ResourcePack URL. This must be a direct URL, ending with .zip. For Dropbox URLs, add ?dl=1 to the end.
  135. # resourcepack.url = "https://www.convallyria.com/files/BlankPack.zip"
  136. # # Whether to automatically generate the SHA-1 hash. This is not recommended for security and reliability.
  137. # # The hash setting will be ignored if this is true, however it will fall back to that if the generation fails.
  138. # resourcepack.generate-hash = false
  139. # # Use a site such as http://onlinemd5.com/ or the hash provided when uploading to https://mc-packs.net/.
  140. # resourcepack.hash = "118AFFFC54CDCD308702F81BA24E03223F15FE5F"
  141. # # The prompt message for clients on 1.17+.
  142. # resourcepack.prompt = "<yellow>Будь-ласка, прийми наш ресурспак для того щоб покращити ігровий досвід!"
  143. # [groups.example-group.actions]
  144. # # List of valid actions: https://jd.advntr.dev/api/4.15.0/net/kyori/adventure/resource/ResourcePackStatus.html
  145. # [groups.example-group.actions.ACCEPTED]
  146. # kick = false
  147. # commands = []
  148. # [groups.example-group.actions.DECLINED]
  149. # kick = true
  150. # message = "<color:#FF5555>Please accept our resource pack to play on the server!"
  151. # commands = []
  152. # [groups.example-group.actions.FAILED_DOWNLOAD]
  153. # kick = true
  154. # message = "<color:#FF5555>The resource pack download failed. Please try rejoining."
  155. # commands = []
  156. # [groups.example-group.actions.FAILED_RELOAD]
  157. # kick = true
  158. # message = "<color:#FF5555>The resource pack reload failed. Please try rejoining."
  159. # commands = []
  160. # [groups.example-group.actions.SUCCESSFUL]
  161. # kick = false
  162. # commands = []
  163.  
  164. [servers]
  165. # You can specify any server name here that is configured in velocity.
  166. # [servers.example-server]
  167. # # The ResourcePack URL. This must be a direct URL, ending with .zip. For Dropbox URLs, add ?dl=1 to the end.
  168. # # To host a local file on the embedded webserver, change this to the relative path of the force pack folder prefixed by "forcepack://".
  169. # # For example, placing your resource pack as "plugins/ForcePack/pack.zip", the url will just be "forcepack://pack.zip".
  170. # # ONLY PLAYERS ON 1.20.3+ CAN RECEIVE MULTIPLE RESOURCE PACKS. The first URL/Hash pair will be taken for older client versions.
  171. # # URLs list and hashes list MUST BE THE SAME SIZE if generate-hash is disabled.
  172. # resourcepack.urls = ["https://www.convallyria.com/files/BlankPack.zip"]
  173. # # Whether to automatically generate the SHA-1 hash. This is not recommended for security and reliability.
  174. # # The hash setting will be ignored if this is true, however it will fall back to that if the generation fails.
  175. # resourcepack.generate-hash = false
  176. # # See https://fortitude.islandearth.net/forcepack/configuration#getting-the-sha-1-hash-of-a-resource-pack
  177. # resourcepack.hashes = ["118AFFFC54CDCD308702F81BA24E03223F15FE5F"]
  178. # # The prompt message for clients on 1.17+.
  179. # resourcepack.prompt = "<yellow>Please accept our resource pack to improve your experience."
  180. # [servers.example-server.actions]
  181. # # List of valid actions: https://jd.advntr.dev/api/4.15.0/net/kyori/adventure/resource/ResourcePackStatus.html
  182. # [servers.example-server.actions.ACCEPTED]
  183. # kick = false
  184. # commands = []
  185. # [servers.example-server.actions.DECLINED]
  186. # kick = true
  187. # message = "<color:#FF5555>Please accept our resource pack to play on the server!"
  188. # commands = []
  189. # [servers.example-server.actions.FAILED_DOWNLOAD]
  190. # kick = true
  191. # message = "<color:#FF5555>The ResourcePack download failed. Please try rejoining."
  192. # commands = []
  193. # [servers.example-server.actions.FAILED_RELOAD]
  194. # kick = true
  195. # message = "<color:#FF5555>The resource pack reload failed. Please try rejoining."
  196. # commands = []
  197. # [servers.example-server.actions.SUCCESSFUL]
  198. # kick = false
  199. # commands = []
  200. # # Here you can specify a pack format version-specific resource pack.
  201. # # Note that the "all" section above must be kept as a fallback.
  202. # # You can do the same thing in the global resource pack and resource pack groups.
  203. # # See https://minecraft.wiki/w/Pack_format.
  204. # # 222 is an example number.
  205. # #[servers.example-server.version.222]
  206. # # resourcepack.url = "https://www.convallyria.com/files/BlankPack.zip"
  207. # # resourcepack.generate-hash = false
  208. # # resourcepack.hash = "118AFFFC54CDCD308702F81BA24E03223F15FE5F"
  209. # # resourcepack.prompt = "<yellow>Please accept our resource pack to improve your experience."
  210.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement