# ClientDownloadResourcePackEvent
> Fired when the server finishes downloading all resource packs from a client. Contains the list of file paths found inside those packs.
`gg.lode.lecternapi.api.event.ClientDownloadResourcePackEvent`
---
## Signature
```java
public class ClientDownloadResourcePackEvent extends LecternClientEvent
```
---
## Methods
### getFiles
```java
public List<String> getFiles()
```
Returns the list of file paths found inside the client's uploaded resource packs. Paths use forward slashes (e.g. `"assets/minecraft/textures/item/custom.png"`).
---
## Example
```java
@EventHandler
public void onPackDownload(ClientDownloadResourcePackEvent event) {
Player player = event.getPlayer();
List<String> files = event.getFiles();
getLogger().info("Received " + files.size() + " files from " + player.getName());
for (String file : files) {
getLogger().info(" " + file);
}
}
```
---
## Related Pages
- [[Overview]] — Events overview