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

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

Launch a website directly from your existing Minecraft server! Complete PHP Support Included



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:

  • /WebP: Displays server IP and port.
  • /WebP help: Lists available commands.
  • /WebP ver: Shows plugin version and checks for updates.
  • /WebP dev: Displays plugin developer information.
  • /WebP reload: Reloads the plugin configuration.
  • /WebP reset: Resets the plugin configuration.
  • /WebP stopweb: Stops the PHP web server. <deprecated>
  • /WebP startweb: Starts the PHP web server. <deprecated>
  • /WebP reloadweb: Reloads the PHP web server. <deprecated>
  • /WebP uploadlogs <debug:true|false> [includeConfig:true|false] [redactConfig:true|false] | Upload logs for debugging purposes
Permissions:

  • web.show: Permission to use /WebP.
  • web.help: Permission to use /WebP help.
  • web.ver: Permission to use /WebP ver.
  • web.dev: Permission to use /WebP dev.
  • web.reload: Permission to use /WebP reload.
  • web.reset: Permission to use /WebP reset.
  • web.stopweb: Permission to use /WebP stopweb. <deprecated>
  • web.startweb: Permission to use /WebP startweb. <deprecated>
  • web.reloadweb: Permission to use /WebP reloadweb. <deprecated>
  • web.logupload: Permission to use /WebP uploadlogs.
  • web.*: Grants permission to all commands.
Feel free to reach out on Discord for any assistance or feedback!

BSTATS:
[​IMG]
[​IMG]
[​IMG]
Resource Information
Author:
----------
Total Downloads: 2,830
First Release: Nov 9, 2020
Last Update: Apr 25, 2025
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings