Lands 中文维基
  • 自述
  • 基本
    • 常见问题
    • 玩家如何游玩
    • 命令
    • 关于子区域
    • 租售系统
    • 联邦
    • 战争
    • 给服务器管理员
  • 安装与配置
    • 安装
    • 常见问题
    • 数据库
    • 游玩时长奖励
    • 排行榜
    • 职位和行为设置
    • 自然设置
    • 玩家个人设置
    • 战争配置
    • 等级
  • 权限
    • 所有权限
    • 推荐权限设置
    • LuckPerms 上下文
  • 管理工具
  • PlaceholderAPI 占位符
  • 开发者 API
由 GitBook 提供支持
在本页
  1. 权限

LuckPerms 上下文

If you have Luckperms installed you can give players permission in specific Lands areas. Download: https://www.spigotmc.org/resources/28140

Available contexts exclusively for Luckperms: Please keep in mind that land and area names are case-sensitive.

LuckPerms Context

The following context entries can also be used for a player's current location by just appending _here to the entry. Example: lands_land_name_here.

lands_land_name=landname Description: Returns land name or wilderness. Append _here to get the result, for the land at the player's current position.

lands_land_area_name=areaname Description: Returns area name or wilderness. Append _here to get the result, for the area at the player's current position.

lands_land_area_role_name=rolename Description: Returns the name of the player's role.

lands_land_bool=true or false Description: Returns true, if the player owns or is part of a land. If you append _here, it will return true, if the player's current position is claimed.

lands_land_trusted_bool=true or false Description: Returns true, if the player is trusted. Append _here to get the result for the land at the player's current position.

lands_combat_tag_bool=true or false Description: Returns whevter or not the player is in combat.

lands_land_level=number Description: Set permission if land has level x. You can append _here too.

lands_nation_level=number Description: Set permission if nation has level x. You can append _here too.

Others

lands_trusted_in=landname Description: Check if a player is trusted in a given land. Example: lands_trusted_in=test: The player will receive the permission if they own or are part of land "test".

Examples:

Giving a permission only if player is part of a specific land: /lp user Luck permission set test.permission lands_trusted_in=test

Giving a permission only in wilderness: /lp user Luck permission set test.permission lands_land_name_here=wilderness NOTE: You can also remove permission if they're in wilderness by setting a negated (-) permission.

Giving a permission only in claims where the player is trusted: /lp user Luck permission set test.permission lands_land_trusted_bool=yes

上一页推荐权限设置下一页管理工具