本项目已由他人接管。尽管如此,你仍然可以在此下载最新源代码 这里(直到我们建立 git 仓库为止)。
English |
German
基本描述
什么是 PluginManager?它是一个用于管理 Bukkit 插件的简单插件。
PluginManager 的功能:
- 在游戏中从 BukkitDev 安装插件
- 返回已安装插件列表及其附加信息
- 显示关于插件的详细信息
- 加载/卸载/重载插件
- 在 BukkitDev 上搜索插件
- 检查是否有新版本的插件可用
- 更新到插件的最新版本
为此,该插件会访问官方的 BukkitDev 网站 (),抓取插件页面并进行扫描。
面向插件开发者
PluginManager 已经拥有最好的 Url 生成器之一(针对 BukkitDev)。但对于某些插件来说,这还不够。
你希望确保你的插件得到 PluginManager 的支持吗?
- 首先,你需要获取你的 BukkitDev 网址。请前往你的 BukkitDev 插件页面并点击“Overview”(概述)选项卡(如果你尚未在该页面上)。
- 复制该页面的网址(对于此插件,其网址为 )。
- 将此键值对(例如 name: PluginManager)插入到你的 plugin.yml 文件中: 只需将 <URL> 替换为你的 BukkitDev 网址,使其看起来像这样(对于此插件):
命令
如果此列表中的参数包含“Plugins...”,则可以输入任意数量的插件,并用空格分隔(例如 “/pm list Essentials WorldEdit”)。如果您的插件名称中包含空格,请尝试使用“-”或省略空格(例如 “/pm list Marriage-Reloaded” 或 “/pm PermBukkit”)!
如果此列表中的参数包含“all”,则可以输入“all”或不带任何参数以列出所有插件(例如 “/pm list all” 或 “/pm list”)。
权限 "pluginmanager.*" 允许使用所有 PluginManager 功能(OP 默认拥有 Byte 权限)。
| 命令 | 描述 | 权限 |
| /pm help | 显示帮助页面。 | pluginmanager.help |
| /pm list <Plugins... \ all> | 列出部分或全部插件及其附加信息。 | pluginmanager.list |
| /pm listfile <Plugins... \ all> | 将部分或全部插件及其附加信息输出到文件中。 | pluginmanager.listfile |
| /pm info <Plugins... \ all> | 显示部分或全部插件的详细信息。 | pluginmanager.info |
| /pm infofile <Plugins... \ all> | 将部分或全部插件的详细信息打印到文件中。 | pluginmanager.infofile |
| /pm load <Plugins... \ all> | 加载部分或全部插件。 | pluginmanager.load |
| /pm unload <Plugins... \ all> | 卸载部分或全部插件。 | pluginmanager.unload |
| /pm reload <Plugins... \ all> | 重新加载部分或全部插件。 | pluginmanager.reload |
| /pm search <Search-String> | 在 BukkitDev 上搜索插件。 | pluginmanager.search |
| /pm checkversion <Plugins... \ all> | 检查部分或全部插件是否有新版本。 | pluginmanager.checkversion |
| /pm update <Plugins... \ all> | 如果可用新版本,则更新部分或全部插件。 | pluginmanager.update |
| /pm install <Plugins...> | 安装部分插件。 |
Config
首次启动插件时,它会在 plugins/PluginManager 目录下自动创建 config.yml。
配置文件(注释不会出现在你的配置文件中,它们仅用于说明):
# PluginManager 是否应在控制台打印更新和安装信息
# 并将其记录到日志中?
# 用于控制版本活动。
logVersionInfo: true
checkVersions:
# 插件管理器是否应在服务器启动时检查所有插件的版本?
#(重载时也适用)
# 可能需要大量内存。
onStart: false
# 当被允许的玩家(拥有 pluginmanager.checkversion 和 pluginmanager.update 权限)加入时,
# 插件管理器是否应检查所有插件的版本?
# May 需要较多的内存。
onJoin: false
更新:
# 插件管理器是否应在服务器启动时更新所有插件?
#(重新加载时也同样适用)
# 可能需要大量内存。
autoUpdate: false
error:
# 调试:插件管理器是否应在控制台中打印内部及非严重错误?
# 不推荐启用!
printSilenceErrors: false
file:
# PluginManager 将插件列表通过 "/pm listfile" 命令输出到
# 此文件。
list: plugins.txt
# 插件管理器使用 "/pm infofile" 命令将插件信息打印到
# 此文件中。
info: plugin-info.txt
pluginlist:
# 插件管理器是否应在启动时构建插件缓存?(推荐使用,
# 适合使用搜索功能的人)
# 这将花费较长时间!
buildOnStart: true
# 直到哪个插件页面( 上的页面)
# PluginManager 应该获取哪些插件?
# BukkitDev 上大约有 300 个页面。
pageCount: 100
# 哪些插件应该被 PluginManager 忽略?(也可以留空)
PluginManager 也不会解压包含这些名称的文件。
黑名单:
- 插件1
- 插件2
统计信息

教程
This project is took over. Nevertheless you can download the latest source here (until we have a git-repo).
English |
German
Basic Description
What is PluginManager? It's a simple plugin for managing your Bukkit-Plugins.
PluginManager features:
- Install plugins from BukkitDev ingame
- Return a list with installed plugins and additional information
- Show detailed infos about plugins
- Load/Unload/Reload plugins
- Search for plugins on BukkitDev
- Check if a new version of a plugin is avaiable
- Update to the latest version of a plugin
For this, the plugin accessing the official BukkitDev-Website (), fetching the plugin-pages and scanning them.
For Plugin Developers
PluginManager has already one of the best Url-Genrators (for BukkitDev). But for some plugins, this isn't enough.
You want to make sure that your plugin is supported by PluginManager?
- First, you need your BukkitDev-Url. So go on your BukkitDev-Plugin-Site and click on the tab "Overview" (If you aren't already there).
- Copy the Url of the site (For this plugin, it's ).
- Insert this key-value-pair (like name: PluginManager) in your plugin.yml: Simply replace <URL> with your BukkitDev-Url, so its looking like this (for this plugin):
Commands
If the parameter in this list contains "Plugins...", you can write down unlimited plugins and split them with spaces (like "/pm list Essentials WorldEdit"). If your plugin name contains a space, try it with a "-" or nothing (like "/pm list Marriage-Reloaded" or "/pm PermBukkit")!
If the parameter in this list contains "all", you can write "all" or no paramerer for ALL plugins (like "/pm list all" or "/pm list").
The Permission "pluginmanager.*" gives access to use all PluginManager functions (Byte default for OPs).
| Command | Description | Permission |
| /pm help | Shows a help-page. | pluginmanager.help |
| /pm list <Plugins... \ all> | Lists some or all plugins with additional information. | pluginmanager.list |
| /pm listfile <Plugins... \ all> | Lists some or all plugins with additional information into a file. | pluginmanager.listfile |
| /pm info <Plugins... \ all> | Show detailed info about some or all plugins. | pluginmanager.info |
| /pm infofile <Plugins... \ all> | Prints detailed info about some or all plugins into a file. | pluginmanager.infofile |
| /pm load <Plugins... \ all> | Loads some or all plugins. | pluginmanager.load |
| /pm unload <Plugins... \ all> | Unloads some or all plugins. | pluginmanager.unload |
| /pm reload <Plugins... \ all> | Reloads some or all plugins. | pluginmanager.reload |
| /pm search <Search-String> | Searches for plugins on BukkitDev. | pluginmanager.search |
| /pm checkversion <Plugins... \ all> | Checks some or all plugins for a new version. | pluginmanager.checkversion |
| /pm update <Plugins... \ all> | Updates some or all plugins if a new version is avaiable. | pluginmanager.update |
| /pm install <Plugins...> | Installs some plugins. | pluginmanager.install |
Config
When you start the plugin the first time, it will automatically creates a config.yml in plugins/PluginManager.
Config (the comments aren't in your config, they're for explaining):
# Should PluginManager prints update and installation infos on the console
# and log them?
# Useful for controlling the version activity.
logVersionInfo: true
checkVersions:
# Should PluginManager checks all plugin versions when the server starts?
# (also on reload)
# May requires much RAM.
onStart: false
# Should PluginManager checks all plugin versions when a permitted player
#(pluginmanager.checkversion and pluginmanager.update) joins?
# May requires much RAM.
onJoin: false
update:
# Should PluginManager updates all plugins when the server starts?
# (also on reload)
# May requires much RAM.
autoUpdate: false
error:
# Debug: Should PluginManager print internal and not-so-bad errors on
# the console?
# Not recommended!
printSilenceErrors: false
file:
# PluginManager prints the plugin-list with "/pm listfile" into this
# file.
list: plugins.txt
# PluginManager prints the plugin-info with "/pm infofile" into this
# file.
info: plugin-info.txt
pluginlist:
# Should PluginManager build a plugin-cache on startup? (Recommended for
# people who use the search-function)
# Will take much time!
buildOnStart: true
# Until which plugin-page (the pages on )
# should PluginManager fetch plugins?
# There are about 300 pages on BukkitDev.
pageCount: 100
# Which plugins should PluginManager ignore? (You can also let it empty)
# PluginManager will also don't unzip files with one of these names.
blacklist:
- Plugin1
- Plugin2
Stats

Tutorials
评论 0
登录后参与评分
还没有评论,来抢沙发吧