mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2026-02-06 00:07:20 +01:00
add ecloud block
This commit is contained in:
83
docs/issues/ecloud-block.md
Normal file
83
docs/issues/ecloud-block.md
Normal file
@@ -0,0 +1,83 @@
|
||||
---
|
||||
description: Fixing blocked connections to the PlaceholderAPI Expansion Cloud (eCloud).
|
||||
---
|
||||
|
||||
# eCloud connection blocked
|
||||
|
||||
If you cannot download expansions via PlaceholderAPI, your server may be unable to reach the PlaceholderAPI Expansion Cloud (eCloud). This is usually caused by a network restriction by your host, firewall, or ISP.
|
||||
|
||||
## Symptoms
|
||||
|
||||
Common signs include:
|
||||
|
||||
- You were directed to this page via an in-game message.
|
||||
- `/papi ecloud download/update <expansion>` fails (timeouts, errors, connection refused, or similar).
|
||||
|
||||
## Why it happens
|
||||
|
||||
The download command requires outbound HTTPS access from your server to PlaceholderAPI’s eCloud API. Connections can be blocked by:
|
||||
|
||||
- Your server host’s firewall / security policy
|
||||
- A local firewall on the machine
|
||||
- A network firewall (datacenter, router)
|
||||
- DNS filtering or an ISP block
|
||||
|
||||
## Domains PlaceholderAPI uses
|
||||
|
||||
Allow outbound HTTPS (TCP 443) to these domains:
|
||||
|
||||
- PlaceholderAPI **< 2.12.0** uses `api.extendedclip.com`
|
||||
- PlaceholderAPI **>= 2.12.0** uses `*.placeholderapi.com`
|
||||
|
||||
## Fix options
|
||||
|
||||
### 1) Ask your host to unblock the eCloud
|
||||
|
||||
If you use shared hosting or a managed host, you may not be able to change firewall rules yourself. Contact your host and ask them to allow outbound HTTPS requests to the domains listed above.
|
||||
|
||||
### 2) Check firewalls / filters you control
|
||||
|
||||
If you manage your own server, check any outbound filtering:
|
||||
|
||||
- OS firewall rules (Windows Firewall / `ufw` / `iptables`)
|
||||
- Router/datacenter firewall rules
|
||||
- DNS filtering
|
||||
|
||||
### 3) Manually install expansions (works even if the eCloud is blocked)
|
||||
|
||||
If unblocking is not an option, you can download expansions manually:
|
||||
|
||||
1. Go to https://ecloud.placeholderapi.com/
|
||||
2. Open the expansion you want.
|
||||
3. Download the `.jar`.
|
||||
4. Put it into your server’s `plugins/PlaceholderAPI/expansions/` folder.
|
||||
5. Run [`/papi reload`](../users/commands.md#papi-reload) (or restart the server).
|
||||
|
||||
## Quick connectivity checks (optional)
|
||||
|
||||
If you have access to the machine running the server, these checks can help confirm a block.
|
||||
|
||||
### Linux
|
||||
|
||||
```bash
|
||||
curl -I https://ecloud.placeholderapi.com/api/v3/
|
||||
curl -I https://api.extendedclip.com/v2/
|
||||
```
|
||||
|
||||
### Windows (PowerShell)
|
||||
|
||||
```powershell
|
||||
Invoke-WebRequest -Method Head https://ecloud.placeholderapi.com/api/v3/
|
||||
Invoke-WebRequest -Method Head https://api.extendedclip.com/v2/
|
||||
```
|
||||
|
||||
If these commands fail on the server but work on your own PC/network, the server host or datacenter network is most likely blocking outbound connections.
|
||||
|
||||
## Still stuck?
|
||||
|
||||
If you need help, join the [Discord Server](https://discord.gg/helpchat) and share:
|
||||
|
||||
- What you've tried
|
||||
- The full console error from the download attempt
|
||||
- The link provided by `/papi dump`
|
||||
|
||||
47
docs/issues/index.md
Normal file
47
docs/issues/index.md
Normal file
@@ -0,0 +1,47 @@
|
||||
---
|
||||
description: List of common issues and how to solve them.
|
||||
---
|
||||
|
||||
# Common Issues
|
||||
|
||||
This page lists common issues you may encounter with PlaceholderAPI and how you can solve them.
|
||||
|
||||
If you have more questions, feel free to join the [Discord Server](https://discord.gg/helpchat).
|
||||
|
||||
## eCloud download fails / blocked connection
|
||||
|
||||
If your host or network blocks outgoing connections to the Expansion Cloud (eCloud), PlaceholderAPI will be unable to download expansions.
|
||||
|
||||
See: [eCloud connection blocked](ecloud-block.md)
|
||||
|
||||
## `java.lang.NoClassDefFoundError: com/google/gson/Gson`
|
||||
|
||||
If you encounter an issue such as
|
||||
|
||||
```
|
||||
org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: com/google/gson/Gson
|
||||
```
|
||||
|
||||
does it mean that the Server you're using PlaceholderAPI on does not have Gson included.
|
||||
This is often the case for servers running 1.8 or older. To fix this, make sure to use at least 1.8.8 as that version does include the required dependency.
|
||||
|
||||
## Expansions won't work
|
||||
|
||||
If one or multiple expansions don't work, make sure you checked the following:
|
||||
|
||||
- You executed `/papi reload` after downloading the expansion(s).
|
||||
- Any required plugin is installed and enabled.
|
||||
- The expansion is valid (See next sections).
|
||||
|
||||
## `Failed to load expansion class <expansion> ...`
|
||||
|
||||
### `- One of its properties is null which is not allowed`
|
||||
|
||||
When this error appears does it mean that either `getAuthor()`, `getIdentifier()` or `getVersion()` in the expansion return `null` which is not allowed.
|
||||
In such a case, contact the developer of the expansion and inform them about this issue and that it should be fixed.
|
||||
|
||||
### `(Is a dependency missing?)`
|
||||
|
||||
This error is given whenever the expansion cannot be loaded, which often happens due to a missing dependency (required plugin) or because creating an expansion instance failed.
|
||||
|
||||
The only thing you can do is to provide the full error so that we can check if the issue is caused by PlaceholderAPI (More unlikely) or by the expansion.
|
||||
Reference in New Issue
Block a user