LuckPerms - Mirai - 高级权限服务插件
-
/lp user
是固定sub command
, 并没有user=123456789
, 因为数据库用户名就是 QQ号eg
/lp user 1234567890 info
-
-
请问怎么更换语言……第一步就卡死,,,wiki上说的也是不清不白
/lp translations 然后他说让我install
然后我就/lp translations install,然后它就把语言包更新了一遍,然后怎么选择啊?????? -
@blackbird-bb ....不需要换语言啊. 百度都能搜到很多相关资料,语言没啥影响的
-
@karlatemp qs,,,但是比较难受/捂脸
,,,我应该是已经更换成功了,但是官方的翻译内容比较少……主要还是游戏里面的……所以可能好多信息还是以英语显示 -
-
-
-
-
-
-
-
-
-
-
怎么实现/perm add g111111111 group:test.testplugin的效果qwq
-
@vipwyh2004 /lp group permission add perm.perm group=123456
-
@karlatemp 在 LuckPerms - Mirai - 高级权限服务插件 中说:
@vipwyh2004 /lp group permission add perm.perm group=123456
当我使用https://github.com/LaoLittle/AutoGroup/这款插件并为我的群配置权限时/lp group permission add org.laolittle.plugin.autogroup:timer.nudge group=xxxxxxxxxx
报错未知的命令 -
@yan-forever 您确认 LuckPerms 已经加载了吗, 执行
/status
看看 -
想问一下如何实现/perm add g123456789 (permission)这个效果...
看说明文档里只有赋予一个群内成员的命令,不清楚如何赋予群组权限...使用/lp group default permission set xxxx group=xxxxxx发现并不能实现/perm add g123456789 (permission)的效果。
以及/lp user这个命令是只能查看用户的info吗,如何查看群组的info呢
自己不会开发,看了好多遍github上的说明也搞不懂....麻烦大佬解答一下了 -
@cabbcat 我的设计中是能通过这种命令来基于 g** 的,但我并没有进行详细测试,如果有问题的话请发个issue,有时间我会去检查修复的
-
@karlatemp 感谢佬回复,尝试了2.10.0-dev-5好像还是不行,已提交issue
-
-
额,luckperm怎么使用,怎么添加权限,我看别人用户都是有的,但是我就是0,不知道怎么用
-
为什么我登陆了一个作为bot的QQ号,然后去给予该QQ号权限,他说找不到该用户
-
@Shinkan 你为什么要给bot权限? 你不应该给你自己权限吗
-
@Karlatemp 懂了懂了,已经解决了,现在的新问题是,我跟bot私聊,bot可以回答,但在群聊里面不行,控制台能看到回复,但群聊不会发出来,我去luckperm的Web调了下权限,也不行。
-
配置消息服务为RabbitMQ以后关闭机器人时会抛出已关闭异常
2022-04-15 10:36:47 W/stderr: me.lucko.luckperms.lib.rabbitmq.client.AlreadyClosedException: channel is already closed due to clean channel shutdown; protocol method: #method<channel.close>(reply-code=200, reply-text=OK, class-id=0, method-id=0) 2022-04-15 10:36:47 W/stderr: at LuckPerms-Mirai-2.10.0-dev-6+null-all.jar//me.lucko.luckperms.lib.rabbitmq.client.impl.AMQChannel.processShutdownSignal(AMQChannel.java:401) 2022-04-15 10:36:47 W/stderr: at LuckPerms-Mirai-2.10.0-dev-6+null-all.jar//me.lucko.luckperms.lib.rabbitmq.client.impl.ChannelN.startProcessShutdownSignal(ChannelN.java:287) 2022-04-15 10:36:47 W/stderr: at LuckPerms-Mirai-2.10.0-dev-6+null-all.jar//me.lucko.luckperms.lib.rabbitmq.client.impl.ChannelN.close(ChannelN.java:608) 2022-04-15 10:36:47 W/stderr: at LuckPerms-Mirai-2.10.0-dev-6+null-all.jar//me.lucko.luckperms.lib.rabbitmq.client.impl.ChannelN.close(ChannelN.java:542) 2022-04-15 10:36:47 W/stderr: at LuckPerms-Mirai-2.10.0-dev-6+null-all.jar//me.lucko.luckperms.lib.rabbitmq.client.impl.ChannelN.close(ChannelN.java:535) 2022-04-15 10:36:47 W/stderr: at LuckPerms-Mirai-2.10.0-dev-6+null-all.jar//me.lucko.luckperms.lib.rabbitmq.client.impl.recovery.AutorecoveringChannel.lambda$close$0(AutorecoveringChannel.java:74) 2022-04-15 10:36:47 W/stderr: at LuckPerms-Mirai-2.10.0-dev-6+null-all.jar//me.lucko.luckperms.lib.rabbitmq.client.impl.recovery.AutorecoveringChannel.executeAndClean(AutorecoveringChannel.java:102) 2022-04-15 10:36:47 W/stderr: at LuckPerms-Mirai-2.10.0-dev-6+null-all.jar//me.lucko.luckperms.lib.rabbitmq.client.impl.recovery.AutorecoveringChannel.close(AutorecoveringChannel.java:74) 2022-04-15 10:36:47 W/stderr: at LuckPerms-Mirai-2.10.0-dev-6+null-all.jar//me.lucko.luckperms.common.messaging.rabbitmq.RabbitMQMessenger.close(RabbitMQMessenger.java:101) 2022-04-15 10:36:47 W/stderr: at LuckPerms-Mirai-2.10.0-dev-6+null-all.jar//me.lucko.luckperms.common.messaging.LuckPermsMessagingService.close(LuckPermsMessagingService.java:95) 2022-04-15 10:36:47 W/stderr: at LuckPerms-Mirai-2.10.0-dev-6+null-all.jar//me.lucko.luckperms.common.plugin.AbstractLuckPermsPlugin.disable(AbstractLuckPermsPlugin.java:250) 2022-04-15 10:36:47 W/stderr: at LuckPerms-Mirai-2.10.0-dev-6+null-all.jar//io.github.karlatemp.luckperms.mirai.LPMiraiBootstrap.onDisable(LPMiraiBootstrap.kt:235) 2022-04-15 10:36:47 W/stderr: at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnDisable$mirai_console(JvmPluginInternal.kt:90) 2022-04-15 10:36:47 W/stderr: at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.disable(BuiltInJvmPluginLoaderImpl.kt:275) 2022-04-15 10:36:47 W/stderr: at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.disable(BuiltInJvmPluginLoaderImpl.kt:35) 2022-04-15 10:36:47 W/stderr: at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.disable(JvmPluginLoader.kt) 2022-04-15 10:36:47 W/stderr: at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.disable(JvmPluginLoader.kt:50) 2022-04-15 10:36:47 W/stderr: at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal$refreshCoroutineContext$2$1.invoke(JvmPluginInternal.kt:172) 2022-04-15 10:36:47 W/stderr: at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal$refreshCoroutineContext$2$1.invoke(JvmPluginInternal.kt:169) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport.invokeOnCompletion(JobSupport.kt:1548) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport.invokeOnCompletion(JobSupport.kt:449) 2022-04-15 10:36:47 W/stderr: at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.refreshCoroutineContext(JvmPluginInternal.kt:169) 2022-04-15 10:36:47 W/stderr: at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.getCoroutineContext(JvmPluginInternal.kt:183) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.CoroutineScopeKt.cancel(CoroutineScope.kt:286) 2022-04-15 10:36:47 W/stderr: at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnDisable$mirai_console(JvmPluginInternal.kt:93) 2022-04-15 10:36:47 W/stderr: at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.disable(BuiltInJvmPluginLoaderImpl.kt:275) 2022-04-15 10:36:47 W/stderr: at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.disable(BuiltInJvmPluginLoaderImpl.kt:35) 2022-04-15 10:36:47 W/stderr: at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.disable(JvmPluginLoader.kt) 2022-04-15 10:36:47 W/stderr: at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.disable(JvmPluginLoader.kt:50) 2022-04-15 10:36:47 W/stderr: at net.mamoe.mirai.console.plugin.PluginManager.disablePlugin(PluginManager.kt:159) 2022-04-15 10:36:47 W/stderr: at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl$1.invoke(PluginManagerImpl.kt:87) 2022-04-15 10:36:47 W/stderr: at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl$1.invoke(PluginManagerImpl.kt:84) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.InvokeOnCompletion.invoke(JobSupport.kt:1391) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport.notifyCompletion(JobSupport.kt:1519) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport.completeStateFinalization(JobSupport.kt:323) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport.finalizeFinishingState(JobSupport.kt:240) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport.continueCompleting(JobSupport.kt:935) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport.access$continueCompleting(JobSupport.kt:27) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport$ChildCompletion.invoke(JobSupport.kt:1155) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport.notifyCompletion(JobSupport.kt:1519) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport.completeStateFinalization(JobSupport.kt:323) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport.finalizeFinishingState(JobSupport.kt:240) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport.continueCompleting(JobSupport.kt:935) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport.access$continueCompleting(JobSupport.kt:27) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport$ChildCompletion.invoke(JobSupport.kt:1155) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport.notifyCompletion(JobSupport.kt:1519) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport.completeStateFinalization(JobSupport.kt:323) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport.finalizeFinishingState(JobSupport.kt:240) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport.continueCompleting(JobSupport.kt:935) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport.access$continueCompleting(JobSupport.kt:27) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport$ChildCompletion.invoke(JobSupport.kt:1155) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport.notifyCompletion(JobSupport.kt:1519) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport.completeStateFinalization(JobSupport.kt:323) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport.finalizeFinishingState(JobSupport.kt:240) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath(JobSupport.kt:906) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:863) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.JobSupport.makeCompletingOnce$kotlinx_coroutines_core(JobSupport.kt:828) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:100) 2022-04-15 10:36:47 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) 2022-04-15 10:36:47 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
-
This post is deleted! -
怎么把所有的权限列出来啊?
-
现在我知道了,lp tree会生成一个网址,可以在里面查看权限。