快速开始
安装和体验
安装
将插件本体安装到服务器
- 下载插件后,将其
Irus.jar文件放入服务器的plugins文件夹 - 重启服务器以加载插件
- 插件加载后会在
plugins文件夹下生成Irus默认配置
确认插件加载成功
[09:29:47] [Server thread/INFO]: [SpigotLibraryLoader] [Irus] Loading 4 libraries... please wait
[09:29:47] [Server thread/INFO]: [SpigotLibraryLoader] [Irus] Loaded library /data/libraries/org/jetbrains/exposed/exposed-core/1.0.0-beta-4/exposed-core-1.0.0-beta-4.jar
...
[09:29:47] [Server thread/INFO]: [SpigotLibraryLoader] [Irus] Loaded library /data/libraries/org/jetbrains/exposed/exposed-java-time/1.0.0-beta-4/exposed-java-time-1.0.0-beta-4.jar
[09:29:48] [Server thread/INFO]: [Irus] Loading server plugin Irus v1.0.0
...
[09:29:49] [Server thread/INFO]: [Irus] Enabling Irus v1.0.0
[09:29:49] [Server thread/INFO]: [NBTAPI] [NBTAPI] Found Minecraft: 1.21.4! Trying to find NMS support
[09:29:49] [Server thread/INFO]: [NBTAPI] [NBTAPI] NMS support 'MC1_21_R3' loaded!
[09:29:49] [Server thread/INFO]: [NBTAPI] [NBTAPI] Using the plugin 'Irus' to create a bStats instance!
[09:29:49] [Server thread/WARN]: [com.hiusers.mc.irus.zaxxer.hikari.HikariConfig] HikariPool-1 - idleTimeout has been set but has no effect because the pool is operating as a fixed size pool.
[09:29:49] [Server thread/INFO]: [com.hiusers.mc.irus.zaxxer.hikari.HikariDataSource] HikariPool-1 - Starting...
[09:29:49] [Server thread/INFO]: [com.hiusers.mc.irus.zaxxer.hikari.HikariDataSource] HikariPool-1 - Start completed.
[09:29:50] [Server thread/INFO]: ! 已连接数据库编辑数据库信息,如果不需要 MySQL 存储,可以跳过此步骤
database:
# 是否启用 MySQL 数据库,否则使用 SQLite
enable: true
# MySQL 配置
host: localhost
port: 3306
user: root
password: password
database: database
table: irus输入命令重载配置
/irus reload进入服务器,输入命令打开仓库菜单
/irus menu <仓库配置ID> <玩家>