HOW THE PLUGIN WORKS When the player joins the server, will get slowness and blindness for 5 seconds, then will get prompted to download a server resourcepack. Depending on the outcome the plugin can execute different commands. There are 4 possible outcomes.
countdown-timer:
timer: 5
time-before-timer: 4
repeating-message: true
titles:
enable: true
title: '&e&lACCEPT THE RP IN &6&l&n
%time%s' subtitle: '&f&oIf you deny it you will get &c&n&okicked&f&o!'
effects:
enable-slowness: true
enable-blindness: true
messages:
repeating-message: - ''
- '&e&lACCEPT THE RP IN &6&l&n
%time%s' - '&f&oIf you don''t accept it you will get &c&n&okicked&f&o!'
- ''
reload: '&aPlugin reloaded!'
invalid-target: '&cInvalid target!'
no-perm: '&cNo permission!'
send-texturepack: '&aSent resourcepack to player
%player%!' no-resourcepack-in-config: '&cNo resourcepack has been set in the config!'
settings:
no-resourcepack-link-warning: true
bypass-permission: resourcepack.bypass
resourcepack: NO_LINK
status:
succesfull:
enable: false
commands: - bc &e&lPlayer
%player% is using the resourcepack! declined:
enable: true
commands: - 'kick
%player% &cYou need to accept the resourcepack! Go to server list > click on Edit > set Server Resource Pack: Enabled > click on Done and try
again!'
accepted:
enable: false
commands: - bc &e&lPlayer
%player% is using the resourcepack! failed:
enable: false
commands: - 'kick
%player% &cYou need to accept the resourcepack! Go to server list > click on Edit > set Server Resource Pack: Enabled > click on Done and try
again!'
SUCCESFULL: Indicates that the player has the resourcepack applied succesfully. DECLINED: Indicates that the player has declined the resourcepack. ACCEPTED: Indicates that the player has accepted the resourcpack. FAILED: Indicates that the player has accepted the resourcepack and failed to download it, usually happens when the download times out.
Every outcome has configurable commands and you can add as many commands to be executed as you want. You can use the %player% placeholder to get the player's name. Every in-game message can be changed. The title,subtitle and repeating messages support the %time% placeholder to get the countdown time!
THE RESOURCEPACK LINK NEEDS TO BE A DIRECT DOWNLOAD LINK OR IT WILL NOT WORK!!!
Every message/command supports PlaceholderAPI placeholders!
COMMANDS /rpe send [target] - Sends the resourcepack to the player (ignores the bypass permission) /rpe reload - reloads the plugin
PLACEHOLDERS
%resourcepackenforcer_boolean% - returns if the player is using or not the resourcepack
%resourcepackenforcer_using% - returns the number of players that are using the resourcepack
%resourcepackenforcer_notusing% - returns the number of players that are not using the resourcepack
%resourcepackenforcer_link% - returns the link for the resourcepack
SUPPORT
For support add me on Discord: gush3l#6016 or click here.