Skip to main content

Own server

In some features, you can use own server to host it. It will make these features faster & better

Preview API

By default, the plugin uses my own server to generate preview of skins (skin.kpgtb.pl). If you want, you can host it on own server with own domain.

Requirements:

  • Node.js
  • Own server that can run Node.js apps
  • Basic knowledge of Next.js

Installation:

  1. Clone or download this repo
  2. Edit website like you want
  3. Go to folder with extracted files and build server
npm i && npm run build
  1. Start your web server
npm run start
info

You can host this server like you want. You can i.e. use Apache reverse proxy to hide port of your app. Furthermore, you can also use another tools to auto start etc. You can also use SSL cert

  1. Edit API link in /plugins/KSkinCreator/config.yml
previewApi: "LINK TO YOUR API"
info

URL must end with /

https://skin.kpgtb.pl/

https://skin.kpgtb.pl

Resource Pack Server

By default, resource pack is uploaded to one of pre-defined file hostings. If you want to make upload/download faster and you don't want to worry about downtimes, you can host resource pack on own server. It requires only 1 additional port where plugin can create web server. If you have access to it, you can configure own web sever in ./plugins/KTools/config.yml. Read more about it here (Section: Resource Pack)