[EoS] RHForceResourcePack - Enforce your resourcepacks! [1.9.x - 1.20.x] icon

[EoS] RHForceResourcePack - Enforce your resourcepacks! [1.9.x - 1.20.x] -----

Configurable forced resourcepacks for your server ☄️ Perfect to prevent XRAY resourcepacks!



1.18_R1 - The Overhaul Update
+ added 1.18 support yay!
+ added hex color support

~ fixed the bug at config reload
~ new configuration; please reset your config.yml
~ re-made the command struture; new main command /rp > /rp reload

- code cleanup

Info
Code (YAML):
#########################################
#                                       #
# Configuration for RHForceResourcePack #
#                                       #
#########################################

# Just replace the default info with your own. :)
# Be careful! Make always sure to put an ' after and before the text!


# General plugin output


# [DEU] Plugin Name für den Chat
# [ENG] Plugin prefix for the chat
chat-prefix
: '&8 [&d&lRP&8 ]'

# [DEU] Nachricht für den Reload Command
# [ENG] Reload message
reload-msg
: ' %prefix% &7Die Config wurde &aneu geladen&7!'

# Do you want to have sounds, when executing commands?
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
use-plugin-sounds
: true

has-accepted-playsound
: 'BLOCK_NOTE_BLOCK_BELL'

has-not-accepted-playsound
: 'BLOCK_BEACON_DEACTIVATE'

# [DEU] Setzt die Länge der Verzögerung für den obigen Sound
# [ENG] Sets the length of the delay for the above sound
# default: 5
has-accepted-playsound-delay
: 5

# [DEU] Setzt die Länge der Verzögerung für den Kick, in Sekunden
# [ENG] Sets the length of the delay for the player kick, in seconds
kick-main-delay
: 10


# Data input


# [DEU] Setzt den Link zum Resourcepack fest. Das RP muss im .ZIP-Format sein und der Link muss einen direkten Download unterstützen!
# [ENG] Sets the link to the resource pack. The RP must be in .ZIP format and the link must support a direct download!
# You can delete this if you want. It's our private anti xray pack :)
resourcepack-url
: 'https://raidersheaven.eu/download/ %C2%A7cRHPureAntiXRAYPack_v2.zip'

# [DEU] Verzögerung in Ticks bevor der Spieler aufgefordert wird, das RP zu laden
# [ENG] Delay in ticks before the player is asked to load the RP
delay-in-ticks
: 4

# [DEU] Wenn Spieler mit der 'RHFRP.skip' Berechtigung das Erzwingen eines Resourcepacks überspringen können
# [ENG] If players with the 'RHFRP.skip' permission can skip a resourcepack force
skip-permission-is-allowed
: true

# [DEU] Kickt jeden Spieler beim Join, der das RP nicht akzeptiert
# [ENG] Kicks every player on join, if they're not accepting the RP
kick-player-on-deny
: true

# [DEU] Sende eine Bestätigungsmeldung an den Spieler, wenn das RP erfolgreich heruntergeladen und aktiviert wurde
# [ENG] Send a confirmation message to the player when the RP has been successfully downloaded and activated
show-load-success-msg
: true


# Message output


# [DEU] Wenn der Spieler das RP nicht akzeptieren will und gekickt wird
# [ENG] If the player does not want to accept the RP and gets kicked
# Supports all colorcodes '&', hex colors '#' and multiple lines with '\n'
kick-msg
: "%prefix%\n\n&7Du wurdest gekickt, da du unser &3&lResourcepack&7 nicht akzeptiert hast!\n\n&7Wir unterstützen keine &c&lXRAY&7 Pakete und wollen für \n&7alle Spieler eine &afaire &7und &abenutzerfreundliche &7Umgebung schaffen!\n\n&7Also trage auch du Deinen Teil dazu bei und &aakzeptiere \n&7das &3&lResourcepack &7um spielen zu koennen!\n\n&7Gegebenfalls musst du &3&lResourcepacks&7 in deinen &eServer-Einstellungen&7 manuell &aaktivieren&7!"

# [DEU] Wenn der Spieler das RP akzeptiert hat
# [ENG] If the player has accepted the RP.
load-success-msg
: ' %prefix% &7Das &3&lResourcepack&7 wurde &aerfolgreich &7heruntergeladen!'

# [DEU] Wenn der Spieler keine Berechtigung hat
# [ENG] If the player has no permission
no-permission-msg
: ' %prefix% &7Dazu hast du &ckeinen &7Zugriff.'

# [DEU] Wenn der Spieler das Resourcepack akzeptiert hat
# [ENG] If the player has accepted the resourcepack
has-accepted-msg
: ' %prefix% &7Danke, dass Du &afair &7spielst! &d:)'

# [DEU] Wenn der Spieler das Resourcepack nicht akzeptiert hat, dann erhält er folgende Nachricht, bevor er mit einer Verzögerung gekickt wird
# [ENG] If the player has not accepted the resourcepack, then the following message output is sent and then the player gets kicked with a delay
has-not-accepted-msg
: ' %prefix% &7Du hast das &3&lResourcepack&7 verweigert und wirst gekickt! &c:('

 

As always, if you find bugs or have an idea for improvement, please do not hesitate to open a discussion here or send me a direct message.

And if you like my this or my other plugins, then please leave a review!

Have a nice day! :)
----------, Jan 14, 2022
Resource Information
Author:
----------
Total Downloads: 18,275
First Release: Sep 10, 2020
Last Update: Aug 11, 2023
Category: ---------------
All-Time Rating:
18 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings