Index
All Classes and Interfaces|All Packages
A
- AbstractOperator - Class in cn.lunadeer.dominion.api
- AbstractOperator() - Constructor for class cn.lunadeer.dominion.api.AbstractOperator
- AbstractOperator.ResultType - Enum Class in cn.lunadeer.dominion.api
- addResult(AbstractOperator.ResultType, i18n, Object...) - Method in class cn.lunadeer.dominion.api.AbstractOperator
- addResult(AbstractOperator.ResultType, String) - Method in class cn.lunadeer.dominion.api.AbstractOperator
- addResult(AbstractOperator.ResultType, String, Object...) - Method in class cn.lunadeer.dominion.api.AbstractOperator
- addResultHeader(AbstractOperator.ResultType, i18n, Object...) - Method in class cn.lunadeer.dominion.api.AbstractOperator
- addResultHeader(AbstractOperator.ResultType, String) - Method in class cn.lunadeer.dominion.api.AbstractOperator
- addResultHeader(AbstractOperator.ResultType, String, Object...) - Method in class cn.lunadeer.dominion.api.AbstractOperator
- ADMIN - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- ANCHOR - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- ANIMAL_KILLING - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- ANIMAL_MOVE - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- ANIMAL_SPAWN - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- ANVIL - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
B
- BEACON - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- BED - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- BREAK_BLOCK - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- BREW - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- BUTTON - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
C
- CAKE - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- call() - Method in class cn.lunadeer.dominion.events.CallableEvent
-
调用事件,等价于 paper 的 callEvent 方法,此处定义是为了兼容 Spigot。
- CallableEvent - Class in cn.lunadeer.dominion.events
- CallableEvent() - Constructor for class cn.lunadeer.dominion.events.CallableEvent
- cn.lunadeer.dominion.api - package cn.lunadeer.dominion.api
- cn.lunadeer.dominion.api.dtos - package cn.lunadeer.dominion.api.dtos
- cn.lunadeer.dominion.api.dtos.flag - package cn.lunadeer.dominion.api.dtos.flag
- cn.lunadeer.dominion.events - package cn.lunadeer.dominion.events
- cn.lunadeer.dominion.events.dominion - package cn.lunadeer.dominion.events.dominion
- cn.lunadeer.dominion.events.dominion.modify - package cn.lunadeer.dominion.events.dominion.modify
- cn.lunadeer.dominion.events.group - package cn.lunadeer.dominion.events.group
- cn.lunadeer.dominion.events.member - package cn.lunadeer.dominion.events.member
- COMPARER - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- completeResult() - Method in class cn.lunadeer.dominion.api.AbstractOperator
- completeResult(boolean) - Method in class cn.lunadeer.dominion.api.AbstractOperator
- CONTAINER - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- CONTRACT - Enum constant in enum class cn.lunadeer.dominion.events.dominion.modify.DominionSizeChangeEvent.SizeChangeType
- CRAFT - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- CRAFTER - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- CREEPER_EXPLODE - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
D
- Dominion - Class in cn.lunadeer.dominion.api
- Dominion() - Constructor for class cn.lunadeer.dominion.api.Dominion
- DominionAPI - Interface in cn.lunadeer.dominion.api
- DominionCreateEvent - Class in cn.lunadeer.dominion.events.dominion
-
领地创建事件,当一个领地被创建时触发。设置 setSkipEconomy(true) 可以跳过经济系统的处理。 如果想要修改创建信息,请将你的 EventPriority 设置为
EventPriority.LOWEST
。 在这之后修改领地创建信息将不会生效。 - DominionCreateEvent(AbstractOperator, String, UUID, Location, Location, DominionDTO) - Constructor for class cn.lunadeer.dominion.events.dominion.DominionCreateEvent
-
领地创建事件
- DominionDeleteEvent - Class in cn.lunadeer.dominion.events.dominion
-
领地删除事件,当一个领地被删除时触发。设置 setSkipEconomy(true) 可以跳过经济系统的处理。
- DominionDeleteEvent(AbstractOperator, DominionDTO) - Constructor for class cn.lunadeer.dominion.events.dominion.DominionDeleteEvent
-
领地删除事件
- DominionDTO - Interface in cn.lunadeer.dominion.api.dtos
- DominionModifyEvent - Class in cn.lunadeer.dominion.events.dominion.modify
-
修改领地相关操作的事件。
- DominionModifyEvent(AbstractOperator, DominionDTO) - Constructor for class cn.lunadeer.dominion.events.dominion.modify.DominionModifyEvent
- DominionRenameEvent - Class in cn.lunadeer.dominion.events.dominion.modify
-
领地重命名事件,当一个领地被重命名时触发。
- DominionRenameEvent(AbstractOperator, DominionDTO, String) - Constructor for class cn.lunadeer.dominion.events.dominion.modify.DominionRenameEvent
-
领地重命名事件
- DominionSetMapColorEvent - Class in cn.lunadeer.dominion.events.dominion.modify
- DominionSetMapColorEvent(AbstractOperator, DominionDTO, Color) - Constructor for class cn.lunadeer.dominion.events.dominion.modify.DominionSetMapColorEvent
- DominionSetMessageEvent - Class in cn.lunadeer.dominion.events.dominion.modify
-
领地消息变更事件,当一个领地的消息被变更时触发。包含进入领地的提示消息和离开领地的提示消息。
- DominionSetMessageEvent(AbstractOperator, DominionDTO, DominionSetMessageEvent.MessageChangeType, String) - Constructor for class cn.lunadeer.dominion.events.dominion.modify.DominionSetMessageEvent
-
领地消息变更事件
- DominionSetMessageEvent.MessageChangeType - Enum Class in cn.lunadeer.dominion.events.dominion.modify
-
领地消息变更类型
- DominionSetTpLocationEvent - Class in cn.lunadeer.dominion.events.dominion.modify
-
领地传送点变更事件
- DominionSetTpLocationEvent(AbstractOperator, DominionDTO, Location) - Constructor for class cn.lunadeer.dominion.events.dominion.modify.DominionSetTpLocationEvent
-
领地传送点变更事件
- DominionSizeChangeEvent - Class in cn.lunadeer.dominion.events.dominion.modify
-
领地大小变更事件,当一个领地的大小被变更时触发。
- DominionSizeChangeEvent(AbstractOperator, DominionDTO, DominionSizeChangeEvent.SizeChangeType, BlockFace, int) - Constructor for class cn.lunadeer.dominion.events.dominion.modify.DominionSizeChangeEvent
-
领地大小变更事件
- DominionSizeChangeEvent.SizeChangeType - Enum Class in cn.lunadeer.dominion.events.dominion.modify
-
领地大小变更类型
- DominionTransferEvent - Class in cn.lunadeer.dominion.events.dominion.modify
-
领地转让事件
- DominionTransferEvent(AbstractOperator, DominionDTO, PlayerDTO) - Constructor for class cn.lunadeer.dominion.events.dominion.modify.DominionTransferEvent
-
领地转让事件
- DOOR - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- DRAGON_BREAK_BLOCK - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- DRAGON_EGG - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- DYE - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
E
- EDIT_SIGN - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- EGG - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- ENCHANT - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- ENDER_MAN - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- ENDER_PEARL - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- ENTER - Enum constant in enum class cn.lunadeer.dominion.events.dominion.modify.DominionSetMessageEvent.MessageChangeType
- EnvFlag - Class in cn.lunadeer.dominion.api.dtos.flag
- EnvFlag(String, String, String, Boolean, Boolean) - Constructor for class cn.lunadeer.dominion.api.dtos.flag.EnvFlag
- EXPAND - Enum constant in enum class cn.lunadeer.dominion.events.dominion.modify.DominionSizeChangeEvent.SizeChangeType
F
- FAILURE - Enum constant in enum class cn.lunadeer.dominion.api.AbstractOperator.ResultType
- FEED - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- FIRE_SPREAD - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- Flag - Class in cn.lunadeer.dominion.api.dtos.flag
- Flag(String, String, String, Boolean, Boolean) - Constructor for class cn.lunadeer.dominion.api.dtos.flag.Flag
- Flags - Class in cn.lunadeer.dominion.api.dtos.flag
- Flags() - Constructor for class cn.lunadeer.dominion.api.dtos.flag.Flags
- FLOW_IN_PROTECTION - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- FLY - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
G
- getAdmin() - Method in interface cn.lunadeer.dominion.api.dtos.GroupDTO
-
获取权限组是否为管理员组
- getAdmin() - Method in interface cn.lunadeer.dominion.api.dtos.MemberDTO
-
成员是否为管理员
- getAllDominions() - Method in interface cn.lunadeer.dominion.api.DominionAPI
-
从缓存获取所有领地信息
- getAllEnvFlags() - Static method in class cn.lunadeer.dominion.api.dtos.flag.Flags
-
获取所有 EnvFlag 对象
- getAllEnvFlagsEnable() - Static method in class cn.lunadeer.dominion.api.dtos.flag.Flags
-
获取所有启用的 EnvFlag 对象
- getAllFlags() - Static method in class cn.lunadeer.dominion.api.dtos.flag.Flags
-
获取所有 Flag 对象,包括 EnvFlag 和 PreFlag
- getAllFlagsEnable() - Static method in class cn.lunadeer.dominion.api.dtos.flag.Flags
-
获取所有启用的 Flag 对象
- getAllPreFlags() - Static method in class cn.lunadeer.dominion.api.dtos.flag.Flags
-
获取所有 PreFlag 对象
- getAllPreFlagsEnable() - Static method in class cn.lunadeer.dominion.api.dtos.flag.Flags
-
获取所有启用的 PreFlag 对象
- getColor() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
- getColorB() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
- getColorG() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
- getColorHex() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
- getColorR() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
- getConfigurationDefaultKey() - Method in class cn.lunadeer.dominion.api.dtos.flag.EnvFlag
- getConfigurationDefaultKey() - Method in class cn.lunadeer.dominion.api.dtos.flag.Flag
- getConfigurationDefaultKey() - Method in class cn.lunadeer.dominion.api.dtos.flag.PreFlag
- getConfigurationDescKey() - Method in class cn.lunadeer.dominion.api.dtos.flag.EnvFlag
- getConfigurationDescKey() - Method in class cn.lunadeer.dominion.api.dtos.flag.Flag
- getConfigurationDescKey() - Method in class cn.lunadeer.dominion.api.dtos.flag.PreFlag
- getConfigurationEnableKey() - Method in class cn.lunadeer.dominion.api.dtos.flag.EnvFlag
- getConfigurationEnableKey() - Method in class cn.lunadeer.dominion.api.dtos.flag.Flag
- getConfigurationEnableKey() - Method in class cn.lunadeer.dominion.api.dtos.flag.PreFlag
- getDefaultValue() - Method in class cn.lunadeer.dominion.api.dtos.flag.Flag
-
获取权限默认值
- getDescription() - Method in class cn.lunadeer.dominion.api.dtos.flag.Flag
-
权限描述 该描述从languages文件中加载
- getDescriptionKey() - Method in class cn.lunadeer.dominion.api.dtos.flag.Flag
- getDirection() - Method in class cn.lunadeer.dominion.api.AbstractOperator
- getDirection() - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionSizeChangeEvent
-
获取操作的方向。
- getDisplayName() - Method in class cn.lunadeer.dominion.api.dtos.flag.Flag
-
权限显示名称(中文) 该名称从languages文件中加载
- getDisplayNameKey() - Method in class cn.lunadeer.dominion.api.dtos.flag.Flag
- getDomID() - Method in interface cn.lunadeer.dominion.api.dtos.GroupDTO
-
获取权限组所属领地 ID
- getDomID() - Method in interface cn.lunadeer.dominion.api.dtos.MemberDTO
-
获取成员所属领地 ID
- getDominion() - Method in class cn.lunadeer.dominion.events.dominion.DominionCreateEvent
-
获取领地。
- getDominion() - Method in class cn.lunadeer.dominion.events.dominion.DominionDeleteEvent
-
获取领地
- getDominion() - Method in class cn.lunadeer.dominion.events.group.GroupCreateEvent
- getDominion() - Method in class cn.lunadeer.dominion.events.group.GroupDeleteEvent
-
获取领地
- getDominion() - Method in class cn.lunadeer.dominion.events.member.MemberAddedEvent
-
获取领地
- getDominion() - Method in class cn.lunadeer.dominion.events.member.MemberRemovedEvent
-
获取领地
- getDominion() - Method in class cn.lunadeer.dominion.events.PlayerMoveInDominionEvent
-
获取玩家进入的领地
- getDominion() - Method in class cn.lunadeer.dominion.events.PlayerMoveOutDominionEvent
-
获取玩家离开的领地
- getDominion(Integer) - Method in interface cn.lunadeer.dominion.api.DominionAPI
-
从缓存获取指定 ID 的领地信息
- getDominion(String) - Method in interface cn.lunadeer.dominion.api.DominionAPI
-
从数据库获取指定名称的领地信息
- getDominionAfter() - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionModifyEvent
-
获取修改后的领地。
- getDominionBefore() - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionModifyEvent
-
获取修改前的领地。
- getDominionByLoc(Location) - Method in interface cn.lunadeer.dominion.api.DominionAPI
-
从缓存获取指定位置的领地信息
- getEnable() - Method in class cn.lunadeer.dominion.api.dtos.flag.Flag
-
获取权限是否启用
- getEnvFlag(String) - Static method in class cn.lunadeer.dominion.api.dtos.flag.Flags
-
根据名称获取 EnvFlag 对象
- getEnvFlagValue(EnvFlag) - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地某个环境配置的值
- getEnvironmentFlagValue() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地所有环境配置
- getFlag(String) - Static method in class cn.lunadeer.dominion.api.dtos.flag.Flags
-
根据名称获取 Flag 对象
- getFlagName() - Method in class cn.lunadeer.dominion.api.dtos.flag.Flag
-
权限名称(英文)
- getFlagsValue() - Method in interface cn.lunadeer.dominion.api.dtos.GroupDTO
-
获取权限组所有权限配置
- getFlagsValue() - Method in interface cn.lunadeer.dominion.api.dtos.MemberDTO
-
获取成员所有权限配置
- getFlagValue(PreFlag) - Method in interface cn.lunadeer.dominion.api.dtos.GroupDTO
-
获取权限组某个权限配置
- getFlagValue(PreFlag) - Method in interface cn.lunadeer.dominion.api.dtos.MemberDTO
-
获取成员某个权限配置
- getFrom() - Method in class cn.lunadeer.dominion.events.PlayerCrossDominionBorderEvent
-
获取玩家离开的领地
- getGroup() - Method in class cn.lunadeer.dominion.events.group.GroupAddMemberEvent
- getGroup() - Method in class cn.lunadeer.dominion.events.group.GroupCreateEvent
-
获取新添加的权限组,如果添加失败则返回null
- getGroup() - Method in class cn.lunadeer.dominion.events.group.GroupDeleteEvent
-
获取权限组
- getGroup() - Method in class cn.lunadeer.dominion.events.group.GroupRemoveMemberEvent
- getGroup(Integer) - Method in interface cn.lunadeer.dominion.api.DominionAPI
-
从缓存根据 ID 获取权限组对象
- getGroupAfter() - Method in class cn.lunadeer.dominion.events.group.GroupRenamedEvent
- getGroupBefore() - Method in class cn.lunadeer.dominion.events.group.GroupRenamedEvent
- getGroupId() - Method in interface cn.lunadeer.dominion.api.dtos.MemberDTO
-
获取成员所属权限组 ID
- getGroupNameColored() - Method in class cn.lunadeer.dominion.events.group.GroupCreateEvent
- getGroupNamePlain() - Method in class cn.lunadeer.dominion.events.group.GroupCreateEvent
- getGroups() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地的所有权限组
- getGuestFlagValue(PreFlag) - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地某个访客权限的值
- getGuestPrivilegeFlagValue() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地访客所有权限配置
- getHandlerList() - Static method in class cn.lunadeer.dominion.events.CallableEvent
- getHandlers() - Method in class cn.lunadeer.dominion.events.CallableEvent
- getHeader() - Method in class cn.lunadeer.dominion.api.AbstractOperator
- getHeight() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地Y轴向(上下向)高度
- getId() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地 ID
- getId() - Method in interface cn.lunadeer.dominion.api.dtos.GroupDTO
-
获取权限组 ID
- getId() - Method in interface cn.lunadeer.dominion.api.dtos.MemberDTO
-
获取成员 ID
- getId() - Method in interface cn.lunadeer.dominion.api.dtos.PlayerDTO
- getInstance() - Static method in class cn.lunadeer.dominion.api.Dominion
- getJoinMessage() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地欢迎提示语
- getLastKnownName() - Method in interface cn.lunadeer.dominion.api.dtos.PlayerDTO
- getLeaveMessage() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地离开提示语
- getLoc1() - Method in class cn.lunadeer.dominion.events.dominion.DominionCreateEvent
-
获取领地位置1
- getLoc2() - Method in class cn.lunadeer.dominion.events.dominion.DominionCreateEvent
-
获取领地位置2
- getLocation() - Method in class cn.lunadeer.dominion.api.AbstractOperator
- getLocation1() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
领地角点坐标1,小角点(小角点的xyz小于大角点的xyz)
- getLocation2() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
领地角点坐标2,大角点(大角点的xyz大于小角点的xyz)
- getMember() - Method in class cn.lunadeer.dominion.events.group.GroupAddMemberEvent
- getMember() - Method in class cn.lunadeer.dominion.events.group.GroupRemoveMemberEvent
- getMember() - Method in class cn.lunadeer.dominion.events.member.MemberAddedEvent
-
获取新添加的成员,如果没有则返回null,只有添加成功后才会有值
- getMember() - Method in class cn.lunadeer.dominion.events.member.MemberRemovedEvent
-
获取成员
- getMember(UUID, DominionDTO) - Method in interface cn.lunadeer.dominion.api.DominionAPI
-
从缓存获取玩家在指定领地的成员信息
- getMember(Player, DominionDTO) - Method in interface cn.lunadeer.dominion.api.DominionAPI
-
从缓存获取玩家在指定领地的成员信息
- getMembers() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地的所有成员
- getMembers() - Method in interface cn.lunadeer.dominion.api.dtos.GroupDTO
-
获取权限组所有成员
- getName() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地名称
- getName() - Method in class cn.lunadeer.dominion.events.dominion.DominionCreateEvent
-
获取领地名称
- getNameColoredBukkit() - Method in interface cn.lunadeer.dominion.api.dtos.GroupDTO
-
获取权限组名称(带颜色) Bukkit类型
- getNameColoredComponent() - Method in interface cn.lunadeer.dominion.api.dtos.GroupDTO
-
获取权限组名称(带颜色) kyori.adventure.text.Component 类型
- getNamePlain() - Method in interface cn.lunadeer.dominion.api.dtos.GroupDTO
-
获取权限组名称(普通字符,不含颜色代码) 绝大多数情况下应该使用该方法获取权限组名称
- getNameRaw() - Method in interface cn.lunadeer.dominion.api.dtos.GroupDTO
-
获取权限组名称(原始字符,包含颜色代码)
- getNewColor() - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionSetMapColorEvent
- getNewMessage() - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionSetMessageEvent
-
获取新消息内容。
- getNewName() - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionRenameEvent
-
获取新名称。
- getNewNameColored() - Method in class cn.lunadeer.dominion.events.group.GroupRenamedEvent
- getNewNamePlain() - Method in class cn.lunadeer.dominion.events.group.GroupRenamedEvent
- getNewOwner() - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionTransferEvent
-
获取新的领地所有者。
- getNewTpLocation() - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionSetTpLocationEvent
-
获取新的传送点位置。
- getOldColor() - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionSetMapColorEvent
- getOldMessage() - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionSetMessageEvent
-
获取旧消息内容。
- getOldName() - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionRenameEvent
-
获取旧名称。
- getOldOwner() - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionTransferEvent
-
获取旧的领地所有者。
- getOldTpLocation() - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionSetTpLocationEvent
-
获取旧的传送点位置。
- getOperator() - Method in class cn.lunadeer.dominion.events.ResultEvent
- getOwner() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地所有者 UUID
- getOwner() - Method in class cn.lunadeer.dominion.events.dominion.DominionCreateEvent
-
获取领地所有者
- getOwnerDTO() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地所有者 DTO
- getParent() - Method in class cn.lunadeer.dominion.events.dominion.DominionCreateEvent
-
获取父领地,如果没有父领地则返回 null
- getParentDomId() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取父领地 ID
- getPlayer() - Method in class cn.lunadeer.dominion.api.AbstractOperator
- getPlayer() - Method in interface cn.lunadeer.dominion.api.dtos.MemberDTO
-
获取成员对象
- getPlayer() - Method in class cn.lunadeer.dominion.events.member.MemberAddedEvent
-
获取玩家
- getPlayer() - Method in class cn.lunadeer.dominion.events.PlayerCrossDominionBorderEvent
-
获取玩家
- getPlayer() - Method in class cn.lunadeer.dominion.events.PlayerMoveInDominionEvent
-
获取玩家
- getPlayer() - Method in class cn.lunadeer.dominion.events.PlayerMoveOutDominionEvent
-
获取玩家
- getPlayerCurrentDominion(Player) - Method in interface cn.lunadeer.dominion.api.DominionAPI
-
从缓存获取玩家当前所在领地
- getPlayerDominions(UUID) - Method in interface cn.lunadeer.dominion.api.DominionAPI
-
从数据库获取玩家拥有的领地列表
- getPlayerDTO(String) - Method in interface cn.lunadeer.dominion.api.DominionAPI
-
获取一个基于玩家的操作者对象。
- getPlayerDTO(UUID) - Method in interface cn.lunadeer.dominion.api.DominionAPI
-
获取一个基于玩家的操作者对象。
- getPlayerOperator(Player) - Method in interface cn.lunadeer.dominion.api.DominionAPI
-
获取一个基于玩家的操作者对象,以用于创建领地事件。该操作者对象会模拟玩家的操作以及权限等信息。
- getPlayerUsingGroupTitle(UUID) - Method in interface cn.lunadeer.dominion.api.DominionAPI
-
从缓存获取玩家当前正在使用的权限组称号
- getPlayerUUID() - Method in interface cn.lunadeer.dominion.api.dtos.MemberDTO
-
获取成员 UUID
- getPluginOperator() - Method in interface cn.lunadeer.dominion.api.DominionAPI
-
获取一个基于插件的操作者对象,以用于创建领地事件。该操作者对象具备OP权限。
- getPreFlag(String) - Static method in class cn.lunadeer.dominion.api.dtos.flag.Flags
-
根据名称获取 PreFlag 对象
- getResults() - Method in class cn.lunadeer.dominion.api.AbstractOperator
- getSize() - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionSizeChangeEvent
-
获取变更大小。
- getSquare() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地面积
- getTo() - Method in class cn.lunadeer.dominion.events.PlayerCrossDominionBorderEvent
-
获取玩家进入的领地
- getTpLocation() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地传送点坐标
- getType() - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionSetMessageEvent
-
获取消息变更类型。
- getType() - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionSizeChangeEvent
-
获取变更类型
- getUniqueId() - Method in class cn.lunadeer.dominion.api.AbstractOperator
- getUsingGroupTitleID() - Method in interface cn.lunadeer.dominion.api.dtos.PlayerDTO
- getUuid() - Method in interface cn.lunadeer.dominion.api.dtos.PlayerDTO
- getVolume() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地体积
- getWidthX() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地X轴向(东西向)宽度
- getWidthZ() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地Z轴向(南北向)宽度
- getWorld() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地所在世界,如果世界不存在,则返回null
- getWorldUid() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地所在世界 UUID,该接口返回的 UUID 一定不为 null,但是不保证世界一定存在。 如果需要判断世界是否存在,请使用
DominionDTO.getWorld()
方法。 - getX1() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地角点坐标1(小角点)的X坐标,X1 < X2
- getX2() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地角点坐标2(大角点)的X坐标,X2 > X1
- getY1() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地角点坐标1(小角点)的Y坐标,Y1 < Y2
- getY2() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地角点坐标2(大角点)的Y坐标,Y2 > Y1
- getZ1() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地角点坐标1(小角点)的Z坐标,Z1 < Z2
- getZ2() - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
获取领地角点坐标2(大角点)的Z坐标,Z2 > Z1
- GLOW - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- GRAVITY_BLOCK - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- GroupAddMemberEvent - Class in cn.lunadeer.dominion.events.group
- GroupAddMemberEvent(AbstractOperator, GroupDTO, MemberDTO) - Constructor for class cn.lunadeer.dominion.events.group.GroupAddMemberEvent
- GroupCreateEvent - Class in cn.lunadeer.dominion.events.group
-
权限组添加事件
- GroupCreateEvent(AbstractOperator, DominionDTO, String) - Constructor for class cn.lunadeer.dominion.events.group.GroupCreateEvent
- GroupDeleteEvent - Class in cn.lunadeer.dominion.events.group
-
权限组移除事件
- GroupDeleteEvent(AbstractOperator, DominionDTO, GroupDTO) - Constructor for class cn.lunadeer.dominion.events.group.GroupDeleteEvent
-
构造权限组移除事件
- GroupDTO - Interface in cn.lunadeer.dominion.api.dtos
- GroupRemoveMemberEvent - Class in cn.lunadeer.dominion.events.group
- GroupRemoveMemberEvent(AbstractOperator, GroupDTO, MemberDTO) - Constructor for class cn.lunadeer.dominion.events.group.GroupRemoveMemberEvent
- GroupRenamedEvent - Class in cn.lunadeer.dominion.events.group
- GroupRenamedEvent(AbstractOperator, GroupDTO, String) - Constructor for class cn.lunadeer.dominion.events.group.GroupRenamedEvent
H
- HARVEST - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- HONEY - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- HOOK - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- HOPPER - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- HOPPER_OUTSIDE - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
I
- IGNITE - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- isCancelled() - Method in class cn.lunadeer.dominion.events.ResultEvent
- isDominionEnabled() - Static method in class cn.lunadeer.dominion.api.Dominion
- isForce() - Method in class cn.lunadeer.dominion.events.dominion.DominionDeleteEvent
- isForce() - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionTransferEvent
- isOp() - Method in class cn.lunadeer.dominion.api.AbstractOperator
- isSkipEconomy() - Method in class cn.lunadeer.dominion.events.dominion.DominionCreateEvent
-
获取是否跳过经济系统的处理
- isSkipEconomy() - Method in class cn.lunadeer.dominion.events.dominion.DominionDeleteEvent
-
是否跳过经济系统的处理
- isSkipEconomy() - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionSizeChangeEvent
-
是否跳过经济系统的处理`
- ITEM_FRAME_INTERACTIVE - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- ITEM_FRAME_PROJ_DAMAGE - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
L
- LEAVE - Enum constant in enum class cn.lunadeer.dominion.events.dominion.modify.DominionSetMessageEvent.MessageChangeType
- LEVER - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
M
- MemberAddedEvent - Class in cn.lunadeer.dominion.events.member
-
成员添加事件
- MemberAddedEvent(AbstractOperator, DominionDTO, PlayerDTO) - Constructor for class cn.lunadeer.dominion.events.member.MemberAddedEvent
- MemberDTO - Interface in cn.lunadeer.dominion.api.dtos
- MemberRemovedEvent - Class in cn.lunadeer.dominion.events.member
-
成员移除事件
- MemberRemovedEvent(AbstractOperator, DominionDTO, MemberDTO) - Constructor for class cn.lunadeer.dominion.events.member.MemberRemovedEvent
-
构造成员移除事件
- MOB_DROP_ITEM - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- MONSTER_DAMAGE - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- MONSTER_KILLING - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- MONSTER_MOVE - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- MONSTER_SPAWN - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- MOVE - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
N
- NOTE_BLOCK - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
P
- PISTON_OUTSIDE - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- PLACE - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- PLAYER_DAMAGE - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- PlayerCrossDominionBorderEvent - Class in cn.lunadeer.dominion.events
-
玩家穿过领地边界事件,包含了(进入、离开、从一个领地移动到另一个领地)三种情况。 当玩家从没有领地的位置移动到领地内部时 from 为 null,当玩家从领地内部移动到没有领地的位置时 to 为 null。 从理论上来说,通常情况下:from 与 to 均可能为 null 但不会同时为 null,在均不为 null 的情况下 from 与 to 不会相同。 如果仅希望监听玩家进入领地的事件请参考
PlayerMoveInDominionEvent
, 如果仅希望监听玩家离开领地的事件请参考PlayerMoveOutDominionEvent
。 - PlayerCrossDominionBorderEvent(Player, DominionDTO, DominionDTO) - Constructor for class cn.lunadeer.dominion.events.PlayerCrossDominionBorderEvent
- PlayerDTO - Interface in cn.lunadeer.dominion.api.dtos
- PlayerMoveInDominionEvent - Class in cn.lunadeer.dominion.events
-
玩家进入领地事件,当玩家进入一个领地时触发。
- PlayerMoveInDominionEvent(Player, DominionDTO) - Constructor for class cn.lunadeer.dominion.events.PlayerMoveInDominionEvent
- PlayerMoveOutDominionEvent - Class in cn.lunadeer.dominion.events
-
玩家离开领地事件,当玩家离开一个领地时触发。
- PlayerMoveOutDominionEvent(Player, DominionDTO) - Constructor for class cn.lunadeer.dominion.events.PlayerMoveOutDominionEvent
- PreFlag - Class in cn.lunadeer.dominion.api.dtos.flag
- PreFlag(String, String, String, Boolean, Boolean) - Constructor for class cn.lunadeer.dominion.api.dtos.flag.PreFlag
- PRESSURE - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
R
- REPEATER - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- ResultEvent - Class in cn.lunadeer.dominion.events
- ResultEvent(AbstractOperator) - Constructor for class cn.lunadeer.dominion.events.ResultEvent
- RIDING - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
S
- setAdmin(Boolean) - Method in interface cn.lunadeer.dominion.api.dtos.GroupDTO
-
设置权限组是否为管理员组,设置成功后返回权限组对象,设置失败返回null
- setAdmin(Boolean) - Method in interface cn.lunadeer.dominion.api.dtos.MemberDTO
-
设置成员是否为管理员,设置成功后返回权限组对象,设置失败返回null
- setCancelled(boolean) - Method in class cn.lunadeer.dominion.events.ResultEvent
- setCancelled(boolean, AbstractOperator.ResultType, i18n, Object...) - Method in class cn.lunadeer.dominion.events.ResultEvent
- setCancelledAdnComplete(boolean) - Method in class cn.lunadeer.dominion.events.ResultEvent
- setColor(Color) - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
设置领地颜色,设置成功后返回领地对象,设置失败返回null
- setDefaultValue(Boolean) - Method in class cn.lunadeer.dominion.api.dtos.flag.Flag
- setDescription(String) - Method in class cn.lunadeer.dominion.api.dtos.flag.Flag
- setDirection(BlockFace) - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionSizeChangeEvent
-
设置操作的方向。
- setDisplayName(String) - Method in class cn.lunadeer.dominion.api.dtos.flag.Flag
- setDominion(DominionDTO) - Method in class cn.lunadeer.dominion.events.dominion.DominionCreateEvent
- setDominion(DominionDTO) - Method in class cn.lunadeer.dominion.events.group.GroupCreateEvent
- setDominion(DominionDTO) - Method in class cn.lunadeer.dominion.events.group.GroupDeleteEvent
-
设置领地
- setDominion(DominionDTO) - Method in class cn.lunadeer.dominion.events.member.MemberAddedEvent
- setDominion(DominionDTO) - Method in class cn.lunadeer.dominion.events.member.MemberRemovedEvent
-
设置领地
- setDominionAfter(DominionDTO) - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionModifyEvent
- setEnable(Boolean) - Method in class cn.lunadeer.dominion.api.dtos.flag.Flag
- setEnvFlagValue(EnvFlag, Boolean) - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
设置领地某个环境配置或访客权限的值,设置成功后返回领地对象,设置失败返回null
- setFlagValue(PreFlag, Boolean) - Method in interface cn.lunadeer.dominion.api.dtos.GroupDTO
-
设置权限组某个权限配置,设置成功后返回权限组对象,设置失败返回null
- setFlagValue(PreFlag, Boolean) - Method in interface cn.lunadeer.dominion.api.dtos.MemberDTO
-
设置成员某个权限配置,设置成功后返回成员对象,设置失败返回null
- setForce(boolean) - Method in class cn.lunadeer.dominion.events.dominion.DominionDeleteEvent
- setForce(boolean) - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionTransferEvent
- setGroup(GroupDTO) - Method in class cn.lunadeer.dominion.events.group.GroupAddMemberEvent
- setGroup(GroupDTO) - Method in class cn.lunadeer.dominion.events.group.GroupCreateEvent
- setGroup(GroupDTO) - Method in class cn.lunadeer.dominion.events.group.GroupDeleteEvent
-
设置权限组
- setGroup(GroupDTO) - Method in class cn.lunadeer.dominion.events.group.GroupRemoveMemberEvent
- setGroupAfter(GroupDTO) - Method in class cn.lunadeer.dominion.events.group.GroupRenamedEvent
- setGroupBefore(GroupDTO) - Method in class cn.lunadeer.dominion.events.group.GroupRenamedEvent
- setGroupNameColored(String) - Method in class cn.lunadeer.dominion.events.group.GroupCreateEvent
- setGuestFlagValue(PreFlag, Boolean) - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
设置领地某个环境配置或访客权限的值,设置成功后返回领地对象,设置失败返回null
- setJoinMessage(String) - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
设置领地欢迎提示语,设置成功后返回领地对象,设置失败返回null
- setLeaveMessage(String) - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
设置领地离开提示语,设置成功后返回领地对象,设置失败返回null
- setLoc1(Location) - Method in class cn.lunadeer.dominion.events.dominion.DominionCreateEvent
-
设置领地位置1。
- setLoc2(Location) - Method in class cn.lunadeer.dominion.events.dominion.DominionCreateEvent
-
设置领地位置2。
- setMember(MemberDTO) - Method in class cn.lunadeer.dominion.events.group.GroupAddMemberEvent
- setMember(MemberDTO) - Method in class cn.lunadeer.dominion.events.group.GroupRemoveMemberEvent
- setMember(MemberDTO) - Method in class cn.lunadeer.dominion.events.member.MemberRemovedEvent
-
设置成员
- setMember(MemberDTO) - Method in class cn.lunadeer.dominion.events.member.MemberAddedEvent
-
设置新添加的成员
- setName(String) - Method in interface cn.lunadeer.dominion.api.dtos.GroupDTO
-
设置权限组名称,可以包含颜色代码,设置成功后返回权限组对象,设置失败返回null
- setName(String) - Method in class cn.lunadeer.dominion.events.dominion.DominionCreateEvent
-
设置领地名称。
- setName(String) - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
设置领地名称,设置成功后返回领地对象,设置失败返回null
- setNewColor(Color) - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionSetMapColorEvent
- setNewMessage(String) - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionSetMessageEvent
-
设置新消息内容。
- setNewName(String) - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionRenameEvent
-
设置新名称。
- setNewNameColored(String) - Method in class cn.lunadeer.dominion.events.group.GroupRenamedEvent
- setNewOwner(PlayerDTO) - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionTransferEvent
-
设置新的领地所有者。
- setNewTpLocation(Location) - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionSetTpLocationEvent
-
设置新的传送点位置。
- setOwner(UUID) - Method in class cn.lunadeer.dominion.events.dominion.DominionCreateEvent
-
设置领地所有者。
- setOwner(UUID) - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
设置领地所有者,设置成功后返回领地对象,设置失败返回null
- setOwner(Player) - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
设置领地所有者,设置成功后返回领地对象,设置失败返回null
- setParent(DominionDTO) - Method in class cn.lunadeer.dominion.events.dominion.DominionCreateEvent
-
设置父领地。
- setPlayer(PlayerDTO) - Method in class cn.lunadeer.dominion.events.member.MemberAddedEvent
- setSize(int) - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionSizeChangeEvent
-
设置变更大小。
- setSkipEconomy(boolean) - Method in class cn.lunadeer.dominion.events.dominion.DominionCreateEvent
-
设置是否跳过经济系统的处理,如果设置为 true,则不会检查、扣除经济。
- setSkipEconomy(boolean) - Method in class cn.lunadeer.dominion.events.dominion.DominionDeleteEvent
-
设置是否跳过经济系统的处理,如果设置为 true,则不会检查、扣除经济。
- setSkipEconomy(boolean) - Method in class cn.lunadeer.dominion.events.dominion.modify.DominionSizeChangeEvent
-
设置是否跳过经济系统的处理,如果设置为 true,则不会检查、扣除经济。
- setTpLocation(Location) - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
设置领地传送点坐标,设置成功后返回领地对象,设置失败返回null
- setXYZ(int[]) - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
设置领地角点坐标,设置成功后返回领地对象,设置失败返回null
- setXYZ(Integer, Integer, Integer, Integer, Integer, Integer) - Method in interface cn.lunadeer.dominion.api.dtos.DominionDTO
-
设置领地角点坐标,设置成功后返回领地对象,设置失败返回null
- SHEAR - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- SHOOT - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- SHOW_BORDER - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- SUCCESS - Enum constant in enum class cn.lunadeer.dominion.api.AbstractOperator.ResultType
T
- TELEPORT - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- TNT_EXPLODE - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- TRADE - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- TRAMPLE - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- TRIG_PRESSURE_DROP - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- TRIG_PRESSURE_MOB - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- TRIG_PRESSURE_PROJ - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
U
- updateLastKnownName(String) - Method in interface cn.lunadeer.dominion.api.dtos.PlayerDTO
V
- valueOf(String) - Static method in enum class cn.lunadeer.dominion.api.AbstractOperator.ResultType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cn.lunadeer.dominion.events.dominion.modify.DominionSetMessageEvent.MessageChangeType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cn.lunadeer.dominion.events.dominion.modify.DominionSizeChangeEvent.SizeChangeType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class cn.lunadeer.dominion.api.AbstractOperator.ResultType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cn.lunadeer.dominion.events.dominion.modify.DominionSetMessageEvent.MessageChangeType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cn.lunadeer.dominion.events.dominion.modify.DominionSizeChangeEvent.SizeChangeType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VEHICLE_DESTROY - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- VEHICLE_SPAWN - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- VILLAGER_KILLING - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
- VILLAGER_SPAWN - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
W
- WARNING - Enum constant in enum class cn.lunadeer.dominion.api.AbstractOperator.ResultType
- WITHER_SPAWN - Static variable in class cn.lunadeer.dominion.api.dtos.flag.Flags
All Classes and Interfaces|All Packages