[开源][原创][清量]FirstJoinKits - 一款轻量的进服礼包插件
本帖最后由 雪球♡ 于 2024-7-4 11:26 编辑# FirstJoinKits
## 介绍
- 一款可以自定义初次进入服务器发放物品、执行指令的插件轻量级插件
- 本插件仍在测试,如有问题,请移步至 (https://github.com/TeamVastsea/FirstJoinKits/issues) 或 (https://github.com/TeamVastsea/FirstJoinKits/pulls)
## 前置插件
- (https://www.spigotmc.org/resources/placeholderapi.6245/)
## 示例文件
message: "Welcome to this server! &bItems has been added to your inventory."
items:
- material: "apple"
display: "love"
amount: 20
lore:
- "Welcome to this server"
- "This is a warm welcome from admin"
- "Have a nice day :)"
enchantment:
- id: "arrow_infinite"
level: 3
- material: "paper"
display: "hahaha"
amount: 3
lore:
- "Hello"
- "Please &bread instructions"
- material: "diamond_sword"
enchantment:
- id: "fire_aspect"
level: 3
commands:
- "say new player joined at %player_biome%!"
- "kill %player_name%"
## 效果预览
!(https://s2.loli.net/2024/03/02/S7RF35tXTpdnCBk.png)
## 指令
- `/firstjoinkits reload` 重载配置文件
- `/firstjoinkits give` <玩家> 发放物品
## 权限节点
| 权限节点 | 描述 |
|-----------------------|-------------------------------|
| firstjoinkits.* | FirstJoinKits 管理员权限 |
| firstjoinkits.command | 允许使用 /firstjoinkits 命令 |
| firstjoinkits.reload| 允许使用 /firstjoinkits reload 命令 |
| firstjoinkits.give | 允许使用 /firstjoinkits give 命令 |
## 相关链接
- (https://github.com/TeamVastsea/FirstJoinKits)
- [下载](https://github.com/TeamVastsea/FirstJoinKits/releases/download/1.1/FirstJoinKits-1.0-SNAPSHOT.jar) +1
哇啊哦,收藏了 空空插了个眼 感谢分享 感谢分享! : Error loading plugin: java.lang.IllegalArgumentException: Directory 'plugins\新人礼包FirstJoinKits-1.0-SNAPSHOT.jar' does not contain a paper-plugin.yml or plugin.yml! Could not determine plugin type, cannot load a plugin from it!
java.lang.RuntimeException: java.lang.IllegalArgumentException: Directory 'plugins\新人礼包FirstJoinKits-1.0-SNAPSHOT.jar' does not contain a paper-plugin.yml or plugin.yml! Could not determine plugin type, cannot load a plugin from it!
at io.papermc.paper.plugin.provider.source.FileProviderSource.registerProviders(FileProviderSource.java:70) ~
at io.papermc.paper.plugin.provider.source.DirectoryProviderSource.registerProviders(DirectoryProviderSource.java:47) ~
at io.papermc.paper.plugin.provider.source.DirectoryProviderSource.registerProviders(DirectoryProviderSource.java:17) ~
at io.papermc.paper.plugin.util.EntrypointUtil.registerProvidersFromSource(EntrypointUtil.java:15) ~
at io.papermc.paper.plugin.PluginInitializerManager.load(PluginInitializerManager.java:101) ~
at net.minecraft.server.Main.main(Main.java:120) ~
at org.bukkit.craftbukkit.Main.main(Main.java:340) ~
at io.papermc.paperclip.Paperclip.lambda$main$0(Paperclip.java:42) ~
at java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.IllegalArgumentException: Directory 'plugins\新人礼包FirstJoinKits-1.0-SNAPSHOT.jar' does not contain a paper-plugin.yml or plugin.yml! Could not determine plugin type, cannot load a plugin from it!
... 9 more
服务器版本purpur1.20.6
gaman19993700 发表于 2024-7-3 11:53
: Error loading plugin: java.lang.IllegalArgumentException ...
请添加我的qq 2957202260 gaman19993700 发表于 2024-7-3 11:53
: Error loading plugin: java.lang.IllegalArgumentException ...
已修复 感谢分享
页: [1]