Skip to content

Module System Overview

KamiHub's Core Architecture - Modular Design

KamiHub's module design aims to provide features that can be enabled and disabled at any time, ensuring that disabled modules consume almost no resources.

Module hot enable/disable functionality is expected to be available in version 1.1, with custom module functionality for developers to be opened in the future.

Currently Implemented Modules

According to modules.yml configuration, here are all current modules:

Module NameDefault EnabledNotes
action-bartrueAction bar information
agreementtruePlayer agreement
anti-breaktruePrevent players from breaking blocks
anti-usetruePrevent players from using blocks
anti-placetruePrevent players from placing blocks
anti-droptruePrevent players from dropping items
anti-pickuptruePrevent players from picking up items
anti-hungertruePrevent hunger
anti-damagetruePrevent player damage
anti-projectiletruePrevent projectiles
anti-attacktruePrevent player attacks
boss-bartrueBoss bar
broadcasttrueBroadcast
clear-chattrueClear player chat
inventorytrueInventory module
join-quit-messagetrueJoin and quit messages
potion-effecttruePotion effects
spawntrueSpawn points
void-teleporttrueVoid protection

KamiHub adopts a modular architecture where each feature is designed as an independent module that can be flexibly enabled or disabled according to server needs. This design not only improves the plugin's performance and stability but also provides server administrators with great customization space.

Architecture Design

Core Concepts

  • Loose Coupling: Modules are independent of each other and do not interfere with each other
  • Pluggable: Support dynamic loading and unloading of modules
  • High Performance: Each module is performance optimized
  • Easy to Extend: Open API interfaces support third-party module development

You can view detailed documentation and configuration instructions for each module through the left navigation.

A world that integrates technology and creativity to create digital artworks