StreamableResourcePackManager
Disclaimer: Development builds (Work in progress)
What is this?
StreamableResourcePackManager allows your server to self-serve resource pack requests. An additional port is required for the mini http daemon used to handle client requests.
Cool, so how does this work?
StreamableResourcePackManager hosts a mini http daemon which listens for client requests. Once it recieves a request, it will check if the ip of the client requesting matches an online player's ip. If so, it will send it to the player.
How secure is it?
The mini http daemon only serves resource packs inside the config, and no more than that. Premium resource packs are safe and can only be accessed by people with the right permissions, since the ip of the request and player are checked so that it's not possible to request a resource pack from a computer that is not connected to the server.
Commands
Requires a restart to update in-game.
# The port to use for the mini-http daemon
# IMPORTANT: Open the port in your router and firewall (TCP)
port: 60765
# Whether or not the console should print a message whenever a player attempts to fetch a resource pack
verbose: false
# Whether or not the server is localhost; Useful for testing situations if you're not able to open a port
localhost: false
# ResourcePack maping
# IMPORTANT: The packs should be placed inside the '/plugins/LocalResourcePackHoster/resourcepacks/' folder
# Format to follow:
# packs:
# <id1>: <filename1>
# <id2>: <filename2>
packs:
testPack: testResourcePack.zip
# Whether or not send a ResourcePack on player join
sendPackOnJoin:
enabled: true
packId: testPack
retryMessage: "Retrying to download..."
events:
onAccept:
message: "Wise choice"
commands:
- say [player] accepted the resource pack!
onSuccessfulLoad:
message: "Right choice"
commands:
- say [player] successfully loaded the resource pack!
onDecline:
message: ">:C!"
kick:
enabled: true
message: "Please accept the resource pack :C"
commands:
- say [player] denied the resource pack!
onFail:
message: "Failed to download the resource pack! Try to run: '/resourcepack retry' or contact the staff"
commands:
Features
https://github.com/Aeternum-Studios/LocalResourcePackHoster
TODO:
Disclaimer: Development builds (Work in progress)
What is this?
StreamableResourcePackManager allows your server to self-serve resource pack requests. An additional port is required for the mini http daemon used to handle client requests.
Cool, so how does this work?
StreamableResourcePackManager hosts a mini http daemon which listens for client requests. Once it recieves a request, it will check if the ip of the client requesting matches an online player's ip. If so, it will send it to the player.
How secure is it?
The mini http daemon only serves resource packs inside the config, and no more than that. Premium resource packs are safe and can only be accessed by people with the right permissions, since the ip of the request and player are checked so that it's not possible to request a resource pack from a computer that is not connected to the server.
Commands
- /resourcepack load {IdPack} - Lets players download resource packs they have access to.
- /resourcepack send {IdPack} {PlayerName} - Allows server admins or the console to prompt the desired player with a custom resource pack.
- /resourcepack retry - Lets players retry to download the onJoinPack.
- srpm.user - True by default; lets players change their own resource pack.
- srpm.admin - OP by default; lets admins set players' resource packs. The desired player must have permission to use the resource pack specified.
- srpm.pack.{id} - False by default; Allow players to download the resource pack (Has no effect onJoinPack).
- srpm.bypassOnJoinPack - Lets players bypass the onJoinPack
Requires a restart to update in-game.
# The port to use for the mini-http daemon
# IMPORTANT: Open the port in your router and firewall (TCP)
port: 60765
# Whether or not the console should print a message whenever a player attempts to fetch a resource pack
verbose: false
# Whether or not the server is localhost; Useful for testing situations if you're not able to open a port
localhost: false
# ResourcePack maping
# IMPORTANT: The packs should be placed inside the '/plugins/LocalResourcePackHoster/resourcepacks/' folder
# Format to follow:
# packs:
# <id1>: <filename1>
# <id2>: <filename2>
packs:
testPack: testResourcePack.zip
# Whether or not send a ResourcePack on player join
sendPackOnJoin:
enabled: true
packId: testPack
retryMessage: "Retrying to download..."
events:
onAccept:
message: "Wise choice"
commands:
- say [player] accepted the resource pack!
onSuccessfulLoad:
message: "Right choice"
commands:
- say [player] successfully loaded the resource pack!
onDecline:
message: ">:C!"
kick:
enabled: true
message: "Please accept the resource pack :C"
commands:
- say [player] denied the resource pack!
onFail:
message: "Failed to download the resource pack! Try to run: '/resourcepack retry' or contact the staff"
commands:
Features
- Self-hosted
- Bungeecord support
- Force resourcepack
- P4ND4_1100010
https://github.com/Aeternum-Studios/LocalResourcePackHoster
TODO:
- Clean and reformat code
- Perform a more exhaustive test
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.16
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
StreamableResourcePackManager is a free Minecraft Java mod. Compatible with Minecraft 1.16. Downloaded 185 times (via Spigot). Download it and open it directly in the game.