HomeJavaModsWebPlugin | official php support | [ 1.13 - 1.21.x ]
WebPlugin | official php support | [ 1.13 - 1.21.x ]
ModsJava

WebPlugin | official php support | [ 1.13 - 1.21.x ]

⬇ Download on Spigot
WEB SERVER PLUGIN
We have folia support!
heads up

Windows old PHP support will be removed soon! If you encounter any errors, please report them on GitHub
introduction
Transform your Minecraft server with WebServer, a user-friendly and efficient plugin. By installing it and allocating an additional port(s) to your server, you gain an integrated web server accessible through your server's IP and port.

Configuration:
The default config includes settings for HTML and PHP ports, server IP, debugging, and more. Customize the ports to fit your preferences.
Code (Text):

# ==============================
# WebPluginV2 Configuration
# Author: JumpWatch
# Discord support: https://discord.gg/9HDFz9vyv4
# ==============================

Settings:
  # ── Web Server Ports ──
  HTMLPORT: 25567
  PHPPort: 25568
  LocalFPM: 25569         # Very important if you decide to use PHP.

  # ── Server Settings ──
  ServerLocation: /home/container/   # Include trailing slash.
  IndexLocation: ""                  # Default: "" = /webplugin/php/
  ServerIP: localhost                # Used for PHP and HTML via /webp command.

  # ── Threading ──
  maxThreads: 2

  # ── Debug Settings ──
  debug: false                       # Shows debug log in /webplugin/logs/.

  # ── PHP Settings ──
  EnablePHP: false
  PHPFolderPermissionFix: false       # Runs `chown -R www-data`, auto disables after run.
  # ── Dependencies Reminder ──
  # IMPORTANT: If PHP is enabled, the plugin WILL automatically download
  # critical system libraries (GLIBC, LIBONIG, LIBZ) from the GitHub repo.
  # These libraries are essential for the system to work, and are required
  # for PHP, NGINX (Which is also downloaded from the repo),
  # and other components to function properly.
  # Check further down for info.

  # ── HTML Settings ──
  EnableHTML: true                  # PHP can also serve HTML.

  # ── Auto Key ──
  Autokey: false                     # Not functional currently.

  # ── NGINX Configuration ──
  denyNginxConfigOverride: false

# ── SSL Configuration ──
SSLSettings:
  EnableSSL: false
  SSLPort: 25570
  SSLDomain: play.domain.com
  SSLPriv: priv-key.pem
  SSLPubl: pub-key.pem

# ── Linux PHP Runtime Settings ──
Linuxphpsettings:
  Errorfolder: /errors/            #UNUSED


# ── GitHub Repo Resources ──
GithubWebPluginPHPRepo: https://github.com/hypersmc/WebPluginV2Repo
GithubWebPluginPHPRepoFilename: WebPlugin-linux-PHP8.3-PRECOMPILED.tar.gz
GithubWebPluginNGINXRepoFilename: WebPlugin-linux-NGINX-1.27.1-PRECOMPILED.tar.gz

# ── Internal ──
ConfigVersion: 15                  # DO NOT EDIT
 
Note: Change the port from 25567 to your desired value.

SSL Configuration:
SSL support is available with options to enable, specify ports, and set up a LetsEncrypt (PEM) file.
Code (Text):

SSLSettings:
  EnableSSL: false
  SSLPort: 25570
  SSLDomain: domain.com
  SSLPriv: private-key.pem
  SSLPubl: public-key.pem
 
Linux PHP Settings:
Code (Text):

Linuxphpsettings:
  Errorfolder: /errors/
 
Discord Support:
Join our Discord Server for support and community interactions.

Commands:

Permissions:

Feel free to reach out on Discord for any assistance or feedback!

BSTATS:
[​IMG]
[​IMG]
[​IMG]

Commands

Plugin details

Read from the plugin's own plugin.yml.

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.

WebPlugin | official php support | [ 1.13 - 1.21.x ] is a free Minecraft Java mod. Compatible with Minecraft 1.13, 1.14, 1.15, 1.16 and newer. Downloaded 3,916 times (via Spigot). Download it and open it directly in the game.

Explore more