Resource Pack Refresher

Resource Pack Refresher

Mod

Fabric Resource Pack Refresher is a mod for Minecraft that allows server administrators to refresh the resource pack on a client's game without the need for the client to relog.

Server DecorationManagementTechnologyUtility

644 downloads
9 followers
Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

What is it ?

Fabric Resource Pack Refresher is a mod for Minecraft that allows server administrators to refresh the resource pack on a client's game without the need for the client to relog. This can be particularly useful for servers that frequently update their resource packs.

Usage Commands

The mod provides a command to refresh the resource pack for all players or specific players. The commands can be executed from the server console or by players with the appropriate permissions.

To refresh the resource pack for all players: /rpr <packname> To refresh the resource pack for a specific player: /rpr <packname> <player>

Configuration

It allows for specifying multiple resource packs with options such as:

  • packname: The name of the resource pack.
  • url: The URL where the resource pack can be downloaded.
  • required: Whether the resource pack is required.
  • hasPrompt: Whether the player should be prompted to download the resource pack.
  • message: The message to display in the prompt.

Example of the file config/resourcepackrefresherconfig.json5:

{
	// List of all the resourcepacks configurations to use
	"packs": [
		{
			"packname": "atomys",
			"url": "https://example.com/resource_pack.zip",
			"required": true,
			"hasPrompt": true,
			"message": "You need to download the resource pack to play on this server !"
		}
	]
}

Details

Licensed MIT
Published 5 months ago
Updated 2 months ago