The configuration has been redone and improved. Geyser support has been added.
Comments are now shown in the configuration file when it is newly generated. Your existing config file will be converted to the new format. Any type of resourcepack status can now be configured and set to kick individually. New configuration:
Code (YAML):
Server:
ResourcePack
:
# The ResourcePack URL. This must be a direct URL, ending with .zip. For Dropbox URLs, add ?dl=1 to the end.
url
: https://faithfulpack.com/dl/104/
# Use a site such as http://onlinemd5.com/ or the hash provided when uploading to https://mc-packs.net/.
hash
: BA52452AD77CAAA7530876950C8E2D020699EBDD
Actions
:
# To disable commands, you can do Command: []
# List of valid actions: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/player/PlayerResourcePackStatusEvent.Status.html
ACCEPTED:
kick
: true
Command
:
- say
[player
] accepted the resource pack!
DECLINED:
kick
: true
Command
:
- say
[player
] denied the resource pack!
FAILED_DOWNLOAD:
kick
: true
Command
:
- say
[player
] failed to download the resource pack!
# Speed in ticks at which the ResourcePack prompt will be resent to the player (prevents escaping out)
Update GUI Speed
: 20
# Whether to ignore geyser players. Only enable this if you use geyser.
# Java clients can spoof this and bypass the ResourcePack!
geyser
: false
# Whether to enable debug mode. Prints some extra info.
debug
: false