Open BigTows opened 4 months ago
or support S3 api ;) But scheduled http request it's fine i guess.
I feel like just expanding the reload command is a better option than a scheduled task.
Some sites won't include those headers.
I feel like just expanding the reload command is a better option than a scheduled task.
A HEAD request is lighter than a GET request.
Some sites won't include those headers.
- Configure the header for checking:
- In some cases, the plugin can send a GET request to verify, but it's not a good idea.
User case: We utilize S3 storage to store our resource pack. This pack is loaded from our CI/CD pipelines, ensuring that any changes on the servers (such as Velocity) are ignored.
The plugin can dynamically check these parameters and manage the update hash accordingly. I'm not referring to the
/vforcepack reload
command, as it can lead to a subpar user experience. (The user forcibly receives the resourcepack)Instead, the plugin updates the hash automatically, ensuring that the player receives the updated resource pack during the next loading process. This streamlined approach enhances user experience by eliminating the need for manual intervention.