【Bukkit】LuckPerms - 权限插件[全版本]
account_circleErhecy
access_time2020-02-17
chat_bubble_outline43

a80a2b12aced4792f73e7146cd8e8fa0944ce55a.png

Sponge版本点击我前往

简介

LuckPerms 是一款快速、可靠、灵活、进阶的权限管理插件。
这款插件的主要优势是有高效率和很多特性,它可以填补其他权限插件的不足之处。
并且它与其他权限插件的基础特性基本相同,易上手。
LuckPerms 插件同样对开发者也提供了广泛的API,并且支持众多Minecraft软件和数据储存方式。

迁移数据

LuckPerms 插件支持自动从已安装的权限插件中迁移数据。
当前插件支持从以下插件中迁移数据——

  • GroupManager
  • zPermissions
  • PermissionsEx
  • PowerfulPerms
  • BungeePerms
  • bPermissions

要想了解更多此项功能,请阅读插件维基页面

命令

<必需项> - 在使用本指令时你必须填补本项
[可选项] - 你不必要填补此项,如果没有对应值的话会使用默认值
如果你想在一项内有空格,你需要使用引号 " " 将参数括起。

当有错误的参数被提交时,命令的使用方式就会出现在聊天栏或后台中。输入 /lp 或 /lpb 会列出玩家有权限使用的命令。
如果当你输入命令后返回的仅仅是插件版本的话,这说明你没有权限使用任何一条命令。
你需要通过后台先给你自己本插件的命令权限。

点击展开/收缩


常规项
/lp
/lp sync
/lp info
/lp verbose <on | record | off | paste> [filter]
/lp tree [selection] [max level] [player]
/lp search <permission>
/lp check <user> <permission>
/lp networksync
/lp import <file>
/lp export <file>
/lp reloadconfig
/lp migration
/lp creategroup <group>
/lp deletegroup <group>
/lp listgroups
/lp createtrack <track>
/lp deletetrack <track>
/lp listtracks

用户 (/lp user <user> ...)
/lp user <user> info
/lp user <user> permission
/lp user <user> parent
/lp user <user> meta
/lp user <user> switchprimarygroup <group>
/lp user <user> promote <track> [server] [world]
/lp user <user> demote <track> [server] [world]
/lp user <user> showtracks
/lp user <user> bulkchange <server|world> <from> <to>
/lp user <user> clear

权限组 (/lp group <group> ...)
/lp group <group> info
/lp group <group> permission
/lp group <group> parent
/lp group <group> meta
/lp group <group> setweight
/lp group <group> showtracks
/lp group <group> bulkchange <server|world> <from> <to>
/lp group <group> clear
/lp group <group> rename <new name>
/lp group <group> clone <name of clone>

权限 (/lp user <user> permission ... | /lp group <group> permission ...)
info
set <node> <true/false> [server] [world]
unset <node> [server] [world]
settemp <node> <true/false> <duration> [server] [world]
unsettemp <node> [server] [world]
check <node> [server] [world]
checkinherits <node> [server] [world]

继承组 (/lp user <user> parent ... | /lp group <group> parent ...)
info
set <group> [server] [world]
add <group> [server] [world]
remove <group> [server] [world]
addtemp <group> <duration> [server] [world]
removetemp <group> [server] [world]

标签 (/lp user <user> meta ... | /lp group <group> meta ...)
info
set <key> <value> [server] [world]
unset <key> [server] [world]
settemp <key> <value> <duration> [server] [world]
unsettemp <key> [server] [world]
addprefix <priority> <prefix> [server] [world]
addsuffix <priority> <suffix> [server] [world]
removeprefix <priority> <prefix> [server] [world]
removesuffix <priority> <suffix> [server] [world]
addtempprefix <priority> <prefix> <duration> [server] [world]
addtempsuffix <priority> <suffix> <duration> [server] [world]
removetempprefix <priority> <prefix> [server] [world]
removetempsuffix <priority> <suffix> [server] [world]
clear [server] [world]

检测
/lp track <track> info
/lp track <track> append <group>
/lp track <track> insert <group> <position>
/lp track <track> remove <group>
/lp track <track> clear
/lp track <track> rename <new name>
/lp track <track> clone <name of clone>

记录 (/lp log ...)
/lp log recent [user] [page*]
/lp log search <query> [page*]
/lp log notify [on|off]
/lp log export <file>
/lp log userhistory <user> [page*]
/lp log grouphistory <group> [page*]
/lp log trackhistory <track> [page*]

玩家批量编辑
/lp usersbulkedit group <group|null> <server|world> <from> <to>
/lp usersbulkedit permission <node|null> <server|world> <from> <to>

权限

注意:你可以使用通配符*。

所有命令 - luckperms.*
用户命令 - luckperms.user.*
权限组命令 - luckperms.group.*
检测命令 - luckperms.track.*
记录命令 - luckperms.log.*

点击展开/收缩


常规
luckperms.sync
luckperms.info
luckperms.verbose
luckperms.search
luckperms.check
luckperms.import
luckperms.export
luckperms.reloadconfig
luckperms.migration
luckperms.creategroup
luckperms.deletegroup
luckperms.listgroups
luckperms.createtrack
luckperms.deletetrack
luckperms.listtracks

用户
luckperms.user.info
luckperms.user.permission.info
luckperms.user.permission.set
luckperms.user.permission.unset
luckperms.user.permission.settemp
luckperms.user.permission.unsettemp
luckperms.user.permission.check
luckperms.user.permission.checkinherits
luckperms.user.parent.info
luckperms.user.parent.set
luckperms.user.parent.add
luckperms.user.parent.remove
luckperms.user.parent.addtemp
luckperms.user.parent.removetemp
luckperms.user.meta.info
luckperms.user.meta.set
luckperms.user.meta.unset
luckperms.user.meta.settemp
luckperms.user.meta.unsettemp
luckperms.user.meta.addprefix
luckperms.user.meta.addsuffix
luckperms.user.meta.removeprefix
luckperms.user.meta.removesuffix
luckperms.user.meta.addtempprefix
luckperms.user.meta.addtempsuffix
luckperms.user.meta.removetempprefix
luckperms.user.meta.removetempsuffix
luckperms.user.meta.clear
luckperms.user.switchprimarygroup
luckperms.user.showtracks
luckperms.user.promote
luckperms.user.demote
luckperms.user.bulkchange
luckperms.user.clear

权限组
luckperms.group.info
luckperms.group.permission.info
luckperms.group.permission.set
luckperms.group.permission.unset
luckperms.group.permission.settemp
luckperms.group.permission.unsettemp
luckperms.group.permission.check
luckperms.group.permission.checkinherits
luckperms.group.parent.info
luckperms.group.parent.set
luckperms.group.parent.add
luckperms.group.parent.remove
luckperms.group.parent.addtemp
luckperms.group.parent.removetemp
luckperms.group.meta.info
luckperms.group.meta.set
luckperms.group.meta.unset
luckperms.group.meta.settemp
luckperms.group.meta.unsettemp
luckperms.group.meta.addprefix
luckperms.group.meta.addsuffix
luckperms.group.meta.removeprefix
luckperms.group.meta.removesuffix
luckperms.group.meta.addtempprefix
luckperms.group.meta.addtempsuffix
luckperms.group.meta.removetempprefix
luckperms.group.meta.removetempsuffix
luckperms.group.meta.clear
luckperms.group.showtracks
luckperms.group.bulkchange
luckperms.group.clear
luckperms.group.rename
luckperms.group.clone

检测
luckperms.track.info
luckperms.track.append
luckperms.track.insert
luckperms.track.remove
luckperms.track.clear
luckperms.track.rename
luckperms.track.clone

记录
luckperms.log.recent
luckperms.log.search
luckperms.log.notify
luckperms.log.export
luckperms.log.userhistory
luckperms.log.grouphistory
luckperms.log.trackhistory

配置教程

点击展开/收缩

官方Wiki
https://github.com/PluginsCDTribe/LuckPerms/wiki/Configuration (已汉化)

我是怎样配置的(简略)

首先这个插件默认的权限组为Default
也就是说普通玩家进入服务器就是为Default

Default组有些基础的权限

使用/luckperms group Default permission set 权限 true

Default添加权限 也就是说默认玩家就会有的权限

VIP权限组是怎样配置的

使用/luckperms creategroup VIP1 创建一个名字叫VIP1的权限组

此时VIP1权限组的权限为空

那么就要让VIP1权限组继承Default权限组的权限

使用/luckperms group VIP1 parent add Default

(移除/luckperms group VIP1 parent remove Default)

命令会让VIP1权限组继承所有Default权限组中的权限

再然后向VIP1权限组中添加特殊权限

/luckperms group VIP1 permission set 权限 true

购买服务器,享受站长免费指导开服点我购买

相关文件/链接

lock_outline获取

评价

chat

目录

评论

43条评论

    adorable
    adorable
    2021-08-21 21:49

    感谢

    PAPA
    PAPA
    2021-06-26 22:00

    谢谢

    360-MEMZ
    2021-05-14 17:37

    我爱中国!真的很棒

    很棒
    2021-03-27 23:46

    讚W

    LYF
    2021-02-19 03:52

    真的麻烦

    xingchen8888
    2021-02-18 13:43

    谢谢

    twilight
    twilight
    2021-02-12 16:21

    谢谢

    526976388
    2021-02-06 01:09

    真不错

    qoo100520
    qoo100520
    2021-02-02 03:37

    真不错

    HarPlay
    2021-01-26 15:45

    真不错!