🛜 Host
This page shows all the available host types
To apply the changes made to the host file, execute the command /ce reload all
.
DO NOT SHARE YOUR config.yml
TO OTHERS
Please use environment variables to prevent secret/token leakage
None
type: none
Self
type: self
ip: localhost
port: 8163
protocol: http
deny-non-minecraft-request: true
one-time-token: true
rate-limit:
max-requests: 5
reset-interval: 20 # seconds
Using your server as a file host will consume some of its bandwidth. You must set the IP to your server's actual address; otherwise, players won't be able to download resource packs!
Unlike the self
feature offered by other plugins, CraftEngine generates a unique & time-limited & one-time token for each player, blocking all unauthorized requests to prevent targeted traffic attacks. However, this does not guarantee absolute security—reverse-engineering attacks remain a potential risk.
External
type: external
url: ""
uuid: "" # Optional
sha1: "" # Optional
Note that regular resource pack updates are required to maintain version integrity. This maintenance procedure requires manual intervention.
LobFile
type: lobfile
use-environment-variables: false
api-key: "xxx"
Enviroment Variables
CE_LOBFILE_API_KEY
OneDrive
type: onedrive
use-environment-variables: false
client-id: ""
client-secret: ""
refresh-token: ""
upload-path: "server_resource_pack.zip"
Enviroment Variables
CE_ONEDRIVE_CLIENT_ID
CE_ONEDRIVE_CLIENT_SECRET
CE_ONEDRIVE_REFRESH_TOKEN
Dropbox
type: dropbox
use-environment-variables: false
app-key: ""
app-secret: ""
refresh-token: ""
upload-path: "server_resource_pack.zip"
Enviroment Variables
CE_DROPBOX_APP_KEY
CE_DROPBOX_APP_SECRET
CE_DROPBOX_REFRESH_TOKEN
Alist
type: alist
use-environment-variables: false
disable-upload: false
api-url: ""
username: ""
password: ""
file-password: ""
otp-code: ""
upload-path: "server_resource_pack.zip"
Enviroment Variables
CE_ALIST_USERNAME
CE_ALIST_PASSWORD
CE_ALIST_FILE_PASSWORD
Gitlab
type: gitlab
use-environment-variables: false
gitlab-url: ""
access-token: ""
project-id: ""
According to GitLab's Terms of Service, you are not permitted to use GitLab's servers for content distribution. You must set up your own GitLab server for distributing resource packs.
https://handbook.gitlab.com/handbook/legal/acceptable-use-policy/
We refer to “our services” throughout – this means all services (including related websites) owned or operated by GitLab.
...
3. So our services, and those of others, run securely, and without disruption, you must not:
Do anything to compromise, overburden, or otherwise impair our services or those of others, including using our services to mine or demonstrate proof-of-work for a cryptocurrency or blockchain, or for the primary purpose of distributing content.
Enviroment Variables
CE_GITLAB_ACCESS_TOKEN
s3
type: s3
endpoint: ""
bucket: ""
access-key-id: ""
access-key-secret: ""
protocol: "https"
path-style: false
region: "auto"
upload-path: "server_resource_pack.zip"
use-legacy-signature: true
validity: 10
cdn:
domain: ""
protocol: "https"
Enviroment Variables
CE_S3_ACCESS_KEY_ID
CE_S3_ACCESS_KEY_SECRET
Last updated