Resource Pack (Condition) — Skript

Addon: Skript · Category: Condition · Since: 2.4

Syntax

[the] resource pack (was|is|has) [been] %resourcepackstate%

Description

Checks state of the resource pack in a <a href='#resource_pack_request_action'>resource pack request response</a> event.

Examples

on resource pack response:
	if the resource pack wasn't accepted:
		kick the player due to "You have to install the resource pack to play in this server!"

View source