On Resource Pack Request Response (Event) — Skript
Addon: Skript · Category: Event · Since: 2.4
Syntax
[on] resource pack [request] responseDescription
Called when a player takes action on a resource pack request sent via the <a href='#EffSendResourcePack'>send resource pack</a> effect. The <a href='#CondResourcePack'>resource pack</a> condition can be used to check the resource pack state.
This event will be triggered once when the player accepts or declines the resource pack request, and once when the resource pack is successfully installed or failed to download.
Event Values
- event-player
- event-world
Examples
on resource pack request response:
if the resource pack was declined or failed to download:
on resource pack deny:
kick the player due to "You have to install the resource pack to play in this server!"