GateWayMC—Core
GateWayMC‑Core is the central core plugin for the GateWayMC framework. It provides a modular system that allows you to dynamically load, manage, and run add-on modules (plugins designed specifically for GateWayMC). The core handles module discovery, dependency resolution, API access, command management, GUI utilities, and more, making it easy to extend your server's functionality without modifying the core itself.
⚙️ Features
- Modular architecture – Load/unload/reload modules at runtime.
- Dependency management – Modules declare dependencies, loaded in correct order.
- API for module developers – Config, logging, command registration, data folders.
- Built‑in command framework – Annotated commands with subcommands and permissions.
- GUI helpers – Ready‑to‑use Menu and PaginatedMenu classes.
- Orphan folder cleanup – Automatically removes leftover module data folders when JAR is missing (optional).
⌨️ Commands
The main command is
/gatewaycore (aliases:
/gwcore,
/gwmccore). All subcommands require the permission
gatewaycore.admin (OP by default).
| Subcommand | Description |
| reload | Reloads the core configuration and all modules (unloads then reloads modules). |
| modules | Lists all currently loaded modules with their versions. |
Examples
/gatewaycore reload – Reloads everything.
/gatewaycore modules – Shows loaded modules.
Congi.yml
# GateWayMC-Core Configuration
# Version: 1.0
# Module Settings
modules:
folder: "modules" # If you don't know what you doing! DON'T CHANGE THIS!
auto-load: true
skip-failed: true
# ⚠️ EXPERIMENTAL: Automatically deletes any folder in the modules directory
# that does not have a matching .jar file (based on the module's internal name).
# This can be useful to clean up leftovers, but it may delete module data
# if the jar is temporarily missing. Use with caution. Default: false.
delete-orphan-folders: true
# Debug mode – prints detailed logs for development
debug: false
# Message prefix for all plugin messages
prefix: "&8[&6GateWay&eMC&8] &r"
📥 Getting More Modules
You can download additional modules from the official GateWayMC resource hub:
GateWayMC-Core Modules