Better Server Packs (Fabric)

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.2.1+26.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/better-server-packs-fabric
资源信息

Minecraft 版本: 26.1

平台: fabric

标签: management utility

资源介绍

Better Server Packs (Fabric)

Better Server Packs is a server-side mod that replaces the old server-resourcepack
logic to allow changing and updating the server resourcepack while the server is running.

What is wrong with Server Resourcepacks?

The issue Server Resourcepacks face currently is that all config about them
(including the hash) is stored in the server.properties file. Although hashes
are technically optional for servers, not using one will cause all sorts of
weirdness when updating the resourcepack resulting in packs not updating on the client.

Using a hash on the other hand, requires a server restart for every update of the
resourcepack and hashes are also a pain to compute.
(Often tools will generate incorrect hashes for a file.)

How does BSP solve this?

BSP adds the new /pack command to your server that allows operators
to update the server resourcepack or push an update out to every user.

Commands

  • /pack set [<url>] [push]
    • This command updates the server resourcepack's URL
      and hash.
      The URL will need to be in a quoted-string.
      If you add the optional push argument, all online
      players will receive a resourcepack update.
  • /pack reload [push]
    • This command forcibly reloads the resourcepack hash
      such as when you have updated the resourcepack on your
      server.
  • /pack push [<players>]
    • Forcibly pushes a resourcepack update to the selected
      players, or all if the player argument is unspecified.
  • /pack required [true|false]
    • Sets if the resourcepack is required* to join the server
      (simply calling /pack required will show the current
      value of the option.
  • /pack prompt [<prompt>|clear]
    • Set the prompt shown to the player when joining the server
      or remove it. Calling this with no parameters will show the
      current prompt.
  • /pack info
    • Shows the current server resourcepack settings (managed by BSP).

* Setting required to true cannot guarantee that players actually use the resourcepack. Modified clients can circumvent this option

This project is a rewrite of BetterServerPacks for 1.21 Fabric servers.

I would also like to thank Max Henkel for developing the awesome config-builder
library and allowing me to use it. There really aren't enough libraries for server-side configuration for Minecraft mods.

📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Legacy Bows

价格:0 墨喵币
下载量:0

查看详情
ImproperUI

价格:0 墨喵币
下载量:0

查看详情
Dap ur Homies! Updated

价格:0 墨喵币
下载量:0

查看详情
EC Apotheosis Compat

价格:0 墨喵币
下载量:0

查看详情