Send Resource Pack (Effect) — Skript

Addon: Skript · Category: Effect · Since: 2.4

Syntax

send [the] resource pack [from [[the] URL]] %string% to %players%

Description

Request that the player's client download and switch resource packs. The client will download the resource pack in the background, and will automatically switch to it once the download is complete. The URL must be a direct download link.

The hash is used for caching, the player won't have to re-download the resource pack that way. The hash must be SHA-1, you can get SHA-1 hash of your resource pack using <a href="https://emn178.github.io/online-tools/sha1_checksum.html">this online tool</a>.

The <a href='#resource_pack_request_action'>resource pack request action</a> can be used to check status of the sent resource pack request.

Examples

on join:
	send the resource pack from "URL" with hash "hash" to the player

View source