UPM 图标

UPM

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/upm
资源信息

Minecraft 版本: 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11

平台: paper spigot

资源介绍

UltraPluginManager (UPM)

UltraPluginManager (UPM) is a modern, safe, and advanced plugin management system for Spigot servers (1.18.2+). It serves as a robust alternative to PlugMan, featuring a clean architecture, asynchronous operations, and a user-friendly GUI.

Java Spigot License

✨ Features

  • Plugin Management: Enable, Disable, Restart, Load, and Unload plugins dynamically.
  • Modern GUI: A chest-based GUI to manage plugins visually with pagination and status indicators.
  • Safety First:
    • Prevents disabling critical plugins (e.g., Vault, ProtocolLib, WorldGuard).
    • Checks for dependencies before disabling.
    • Detects circular dependencies.
  • Async Operations: Heavy operations (like loading/unloading) are handled asynchronously to prevent server lag.
  • Multi-Language Support: Built-in support for English (en) and Hungarian (hu), with the ability to add custom language files.
  • Tab Completion: Full tab completion for all commands and file names.
  • Hex Color Support: Beautiful chat and GUI formatting with Hex color codes.

? Installation

  1. Ensure your server is running Java 17 or newer.
  2. Download the UPM.jar.
  3. Place the jar file into your server's plugins folder.
  4. Restart the server.

? Commands & Permissions

Command Alias Description Permission
/upm Shows the help menu. upm.admin
/upm list Lists all plugins with their status. upm.list
/upm enable <plugin> Enables a disabled plugin. upm.enable
/upm disable <plugin> Disables an enabled plugin. upm.disable
/upm reload <plugin> Reloads a specific plugin. upm.reload
/upm reload areload Reloads the UPM configuration. upm.reload
/upm load <file> Loads a jar file from the plugins folder. upm.load
/upm unload <plugin> Unloads a plugin from memory (Use with caution). upm.unload
/upm info <plugin> Shows detailed info (version, authors, deps). upm.info
/upm gui Opens the Plugin Manager GUI. upm.gui
/upm debug Toggles debug mode. upm.debug

Wildcard Permission: upm.admin grants access to all commands.

⚙️ Configuration

The config.yml allows you to customize the plugin's behavior.

# Language setting (en, hu, or custom)
language: en

# Toggle debug messages in console
debug-mode: false

# GUI Title
gui-title: "&9&lUPM &8- &bPlugin Manager"

# Plugins that cannot be disabled/unloaded via UPM
protected-plugins:
  - "Vault"
  - "ProtocolLib"
  - "LuckPerms"
  - "WorldEdit"
  - "WorldGuard"
  - "UPM"

Language Support

UPM generates lang_en.yml and lang_hu.yml by default. To create a new language:

  1. Copy lang_en.yml and rename it (e.g., lang_it.yml).
  2. Translate the messages.
  3. Set language: it in config.yml.
  4. Run /upm reload.

⚠️ Warning Regarding unload and reload

While UPM uses advanced techniques to unload plugins (closing ClassLoaders, clearing references), Java's architecture makes "clean" unloading difficult without a full server restart.

  • Use /upm reload for development: It is great for testing small changes in your own plugins.
  • Avoid reloading complex plugins: Plugins with heavy packet usage (ProtocolLib) or complex dependency injections may not reload cleanly.
  • Memory Leaks: Repeatedly loading/unloading plugins can lead to Metaspace memory leaks over time. Always restart your server for production changes.

?‍? Developer

Created by Ywxlol.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
[DK] 1HP Cobblemon

价格:0 墨喵币
下载量:0

查看详情
[USP] Ultimate-Space-Pack

价格:0 墨喵币
下载量:0

查看详情
Colocti Origin

价格:0 墨喵币
下载量:0

查看详情
Cheaper Suite

价格:0 墨喵币
下载量:0

查看详情