DynamicServerIcon Reborn 是一款轻量且可配置的 Minecraft 插件,允许你动态更改服务器图标。它支持手动控制和自动轮播模式,使你能够以指定的间隔循环切换多个图标。
该想法灵感来源于另一个 Spigot 插件 DynamicServerIcon
功能特性
- 使用简单命令随时切换服务器图标
- 轮播模式自动在图标间轮换
- 可自定义图标轮换间隔
- 基于命令的配置并支持 Tab 补全
如何启用轮播模式
-
安装插件
将插件 JAR 文件放入服务器的 plugins/ 目录并重启服务器。
这将自动生成 plugins/DynamicServerIconReloaded/ 文件夹结构。
-
添加你的图标
将自定义服务器图标(.png 格式,必须精确为 64x64 像素)上传至 plugins/DynamicServerIconReloaded/icons/ 文件夹。
-
注册用于轮换的图标
对每个你想加入轮播的图标使用以下命令:/icon carousel add <filename.png>
-
激活轮播模式
一旦图标注册完成,通过以下命令启用轮播模式:/icon mode carousel
现在插件将按照 /icon carousel interval <numberofseconds> 指定的间隔自动轮换你的服务器图标。
安装方法
- 下载插件 JAR 文件并将其放入服务器的 /plugins 文件夹中。
- 重启服务器。
- 在 /plugins 目录下会创建一个名为 DynamicServerIcon 的文件夹。
- 将你的 .png 图标(必须精确为 64x64 像素)放入 /plugins/DynamicServerIcon/icons/ 文件夹中。
- 使用 /icon set <filename> 手动更改服务器图标,或通过 /icon mode carousel 启用轮播模式。
运行环境要求
- 运行 Spigot、Paper 或兼容分支的 Minecraft 服务器
- Java 17 或更高版本
命令列表
所有插件功能均通过 /icon(或 /dynicon)命令及其子命令提供。
| 命令 |
描述 |
/icon mode <manual | carousel> |
在轮播模式和手动模式之间选择 |
/icon set <filename.png> |
手动设置当前服务器图标(适用于手动模式) |
/icon reload |
重新加载插件配置 |
/icon version |
显示当前插件版本 |
/icon carousel add <filename> |
将图标添加到轮换列表 |
/icon carousel list |
列出轮播中的所有图标 |
/icon carousel interval <seconds> |
设置轮换间隔(秒) |
/icon carousel remove <filename> |
从轮换列表中移除图标 |
配置文件
你也可以手动编辑配置文件 (config.yml):
# 在 "manual"(手动)和 "carousel"(轮播)之间选择
mode: manual
# 手动模式下显示的图标
current-icon: default.png
# 轮播模式下显示的图标列表
icon-list:
- default.png
# 轮播模式的间隔时间(秒)
interval: 10
第三方依赖
本插件使用了 bstats
错误反馈
请在 GitHub 上提交 Issue,
或者在我的 Discord 服务器 上联系我
DynamicServerIcon Reborn is a lightweight and configurable Minecraft plugin that allows you to change your server’s icon dynamically. It supports both manual control and an automatic carousel mode, enabling you to cycle through multiple icons at a defined interval.
The idea is inspired from another spigot plugin DynamicServerIcon
Features
- Switch the server icon at any time using a simple command
- Carousel mode to automatically rotate between icons
- Customizable interval for icon rotation
- Command-based configuration with tab completion
How to Enable Carousel Mode
-
Install the Plugin
Place the plugin JAR file into your server’s plugins/ directory and restart the server.
This will generate the plugins/DynamicServerIconReloaded/ folder structure automatically.
-
Add Your Icons
Upload your custom server icons (.png format, exactly 64x64 pixels) into the plugins/DynamicServerIconReloaded/icons/ folder.
-
Register Icons for Rotation
Use the following command for each icon you want to include in the carousel: /icon carousel add <filename.png>
-
Activate Carousel Mode
Once your icons are registered, enable carousel mode with: /icon mode carousel
The plugin will now automatically rotate your server icon at the interval specified by /icon carousel interval <numberofseconds>.
Installation
- Download the plugin JAR file and place it into your server’s /plugins folder.
- Restart your server.
- A folder named DynamicServerIcon will be created inside the /plugins directory.
- Add your .png icons (must be exactly 64x64 pixels) into the /plugins/DynamicServerIcon/icons/ folder.
- Use /icon set <filename> to manually change the server icon, or enable carousel mode via /icon mode carousel.
Requirements
- Minecraft server running Spigot, Paper, or a compatible fork
- Java 17 or higher
Commands
All plugin functionality is available through the /icon (or /dynicon) command and its subcommands.
| Command |
Description |
/icon mode <manual | carousel> |
Select between the carousel and manual mode |
/icon set <filename.png> |
Manually sets the current server icon for manual mode |
/icon reload |
Reloads the plugin configuration |
/icon version |
Displays the current plugin version |
/icon carousel add <filename> |
Adds an icon to the rotation list |
/icon carousel list |
Lists all icons in the carousel |
/icon carousel interval <seconds> |
Sets the rotation interval in seconds |
/icon carousel remove <filename> |
Removes an icon from the rotation list |
Configuration
You can also manually edit the configuration file (config.yml):
# Select between "manual" and "carousel"
mode: manual
# Icon to display when in manual mode
current-icon: default.png
# List of icons to display when in carousel mode
icon-list:
- default.png
# Interval in seconds for carousel mode
interval: 10
Third parties
This plugin uses bstats
Bugs reporting
Please open an issue on github,
Or contact me on my discord server
评论 0
登录后参与评分
还没有评论,来抢沙发吧