[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!



(Fun Project) ForceResourcePack
[​IMG] [​IMG] [​IMG]
The plugin is now open-source!
It will not receive any more future updates (for now), but should work just fine for future Minecraft versions.

❌ No BungeeCord support!
❌ No SHA1 hash support!
❌ No per-world resourcepacks!


If you are looking for these or similar features, please use this plugin:
Force Resourcepacks by Phoenix616.

As stated above, this plugin is a fun project!

It will not receive any new massive features,
but will only be simply supported to guarantee
its functionality with the current versions of Minecraft.



forceresourcepack_BASE.png

If you like this or my other plugins then please leave a review!

Was macht es? / What does it do?

[DEU]
Mit RHForceResourcePack hast du die Möglichkeit allen Spielern ein Resourcepack zu erzwingen. Dies ist super nützlich, um X-Ray Resourcepacks und damit ein unfaires Gameplay zu verhindern! Spieler, die das Resourcepack nicht akzeptieren/downloaden können werden automatisch gekickt werden. Ebenfalls kann man VIPs die Permission zum Skippen erteilen. Das gesamte Plugin ist konfigurierbar!

[ENG]
With RHForceResourcePack you have the possibility to force all players to have a resource pack. This is super useful to prevent X-Ray resource packs and thus unfair gameplay! Players who do not accept / download the resource pack can be automatically kicked. VIPs can also be given skipping permission. The entire plugin is configurable!


Vorschau / Preview

Bild:

Kick-Message
screen1.jpg


Video: (feel free to make a video)


Kompatibilität / Compatibility

[DEU]
Das Plugin ist mit Spigot und Paper ab der Version 1.9+ kompatibel. Die Nutzung der neuesten Minecraft Version wird dennoch empfohlen!

Achtung! Es wird keinen Support für ältere Versionen wie z.B. 1.8 geben. Diese Versionen sind veraltet und ein Patch zur Kompatibilität macht keinen Sinn. Fragt also nicht nach solchen Updates! Update bitte auf neuere Server Versionen!

[ENG]
The plugin is compatible with Spigot and Paper from version 1.9+. The use of the latest Minecraft version is still recommended!

Attention! There will be no support for older versions such as 1.8. So don't ask for it! These versions are outdated and a compatibility patch makes no sense. So don't ask for such updates! Please update to newer server versions!


Installation
  • Download the latest .jar and upload it to your Spigot/Paper plugins/ folder
  • Configure the plugin with the config file /plugins/RHForceResourcePack/config.yml
    Important!

    Check the size of your resourcepack beforehand!

    The resource pack may not have a larger file size than 250 MiB (Before 1.18: 100 MiB (≈ 100.8 MB)) (Before 1.15: 50 MiB (≈ 50.4 MB)). Note that download success or failure is logged by the client, and not by the server.
  • Do one of the following:
    • Restart your server.
    • Type /resourcepack reload
Tip: For manual reloads I recommend the plugin PlugmanX.

Permissions
  • rhfrp.*
    • OP permission for everything for RHForceResourcePack
  • rhfrp.skip
    • permission to skip the download
  • rhfrp.reload
    • permission for /rp reload
  • rhfrp.resend
    • permission for /rp resend
  • rhfrp.resendall
    • permission for /rp resendall

Commands & Aliases
  • /resourcepack
    • description: Main command
    • aliases: [frp, rp]
  • /resourcepack reload
    • description: Reload the config file
    • aliases: [rel]
  • /resourcepack resend
    • description: Resend the cached pack to yourself
  • /resourcepack resendall
    • description: Resend the cached pack to all online players
Konfiguration / Configuration:

This is the default config.yml
Code (YAML):

# RaidersHeaven.eu -- Force Resourcepack
# - Minecraft plugin -
#
# Configurable forced resourcepack for your server ☄️ Perfect to prevent XRAY resourcepacks!

# Set the resourcepack url for direct download. I recommend using https://mc-packs.net/
# Check the size of your resourcepack beforehand! See the following table:
# > 1.18 | 250 MiB
# < 1.18 | 100 MiB (≈ 100.8 MB)
# < 1.15 | 50 MiB (≈ 50.4 MB)
# Note that download success or failure is logged by the client, and not by the server.
resourcepack-url
: 'https://raidersheaven.eu/download/ %C2%A7cRHPureAntiXRAYPack_v2.zip'

# Delay before the player gets the resourcepack prompt
prompt
:
delay
: 4 # ticks

# Kick options
kick
:
enabled
: true
delay
: 3 # seconds

# Enable skip permission (rhfrp.skip)
skip-permission
: true

# Message settings; placeholders: %prefix%, %player%
messages
:
prefix
: '&8 [& #813dd8&lR&#9832db&le&#af27dd&ls&#c61ce0&lo&#dd11e2&lu&#f406e5&lr&#f406e5&lc&#dd11e2&le&#c61ce0&lp&#af27dd&la&#9832db&lc&#813dd8&lk&8]'
player-kicked
: "%prefix%\n\n&7You have been kicked!\n\n&7Please accept the server resourcepack.\n&c&lOtherwise you won't be able to play!\n\n&7Return to your Multiplayer screen, click on &8'&f&lEdit&8' &7and change &8'&f&lServer Resource Packs&8'&7 to &8'&f&lEnabled&8'&7."
pack-accepted
: ' %prefix% &7You''ve accepted the resourcepack. Thank you for playing fair!'
pack-denied
: ' %prefix% &7You''ve denied the resourcepack and will be kicked'
pack-resent
: ' %prefix% &7The resourcepack was resent'
pack-skipped
: ' %prefix% &7You skipped the resourcepack enforcement'
reload
: ' %prefix% &7The configuration has been reloaded'
wrong-argument
: ' %prefix% &7This is not a valid argument'
no-permission
: ' %prefix% &7You don''t have permission'
console-no-player
: ' %prefix% &7You have to be a player to execute this command'
console-accept
: ' %prefix% &7Player &e%player% &7accepted the resourcepack enforcement'
console-deny
: ' %prefix% &7Player &e%player% &7denied the resourcepack enforcement'
console-kick
: ' %prefix% &7Player &e%player% &7has been kicked'
console-skip
: ' %prefix% &7Player &e%player% &7skipped the resourcepack enforcement'
optional
:
pack-loaded
:
enabled
: true
message
: ' %prefix% &7The resourcepack has downloaded successfully'

# Sound settings
sounds
:
enabled
: true
accept-sound
: 'BLOCK_NOTE_BLOCK_BELL'
deny-sound
: 'BLOCK_BEACON_DEACTIVATE'
delay
: 4 # ticks
 

If you like this or my other plugins then please leave a review!

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