HomeJavaModsPortel
Portel
Portel — screenshot 1Portel — screenshot 2Portel — screenshot 3
Portel Logo

Websites hosted directly on Minecraft servers

Portel is a Minecraft plugin that allows you to host a simple website directly from your server. It starts a lightweight web server that serves files from a folder within the plugin's configuration directory.

Why use Portel?

Configuration

The configuration file is located at plugins/Portel/config.yml.

port: 8080
websocket-port: 8081
index-file: index.html
# Automatically clear cache when files in web/ directory are modified.
hot-reloading: true

ssl:
  enabled: false
  keystore-path: "keystore.jks"
  keystore-password: "password"

websocket:
  # Enable web users to send messages to the Minecraft server
  allow-web-to-game-chat: true
  # Formatting for web-to-game messages
  chat-prefix: "[Web] "
  prefix-color: "DARK_PURPLE"
  message-color: "LIGHT_PURPLE"

logging:
  # Enable console logging
  console: true
  # Enable IP logging to a file
  ip: true
  # File name for IP logging
  ip-log-file: "ips.log"

Commands

Guides

Building from source

To build the plugin from source, you will need to have Java 21 and Gradle installed.

  1. Clone the repository: git clone https://github.com/Skullmc1/Portel.git
  2. Navigate to the project directory: cd Portel
  3. Build the plugin: ./gradlew shadowJar

The compiled .jar file will be located in the build/libs directory.

Contributing

Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or create a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Portel Logo
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more