Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings

Better Server Packs (Fabric)

Easily manage server-side resourcepacks without having to restart the server!

1,953
16
Management
Utility
AboutChangelogVersions

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.

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.21.x

Platforms

Fabric

Supported environments

Server-side

Links

Report issues View source

Creators

Fisch37
Fisch37 Member

Details

Licensed MIT
Published last year
Updated last month

Modrinth is open source.

main@656c5b6

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.