Uses of Class
cc.carm.plugin.userprefix.conf.prefix.PrefixConfig
-
Packages that use PrefixConfig Package Description cc.carm.plugin.userprefix cc.carm.plugin.userprefix.event cc.carm.plugin.userprefix.hooker cc.carm.plugin.userprefix.manager -
-
Uses of PrefixConfig in cc.carm.plugin.userprefix
Methods in cc.carm.plugin.userprefix that return PrefixConfig Modifier and Type Method Description static PrefixConfig
UserPrefixAPI. getDefaultPrefix()
-
Uses of PrefixConfig in cc.carm.plugin.userprefix.event
Fields in cc.carm.plugin.userprefix.event declared as PrefixConfig Modifier and Type Field Description @NotNull PrefixConfig
UserPrefixExpireEvent. expiredPrefix
Methods in cc.carm.plugin.userprefix.event that return PrefixConfig Modifier and Type Method Description @NotNull PrefixConfig
UserPrefixChangeEvent. getAfter()
@Nullable PrefixConfig
UserPrefixChangeEvent. getBefore()
@NotNull PrefixConfig
UserPrefixExpireEvent. getExpiredPrefix()
Methods in cc.carm.plugin.userprefix.event with parameters of type PrefixConfig Modifier and Type Method Description static void
UserPrefixChangeEvent. call(@NotNull Player who, @Nullable PrefixConfig before, @NotNull PrefixConfig after, @Nullable Consumer<@Nullable PrefixConfig> finish)
static void
UserPrefixExpireEvent. call(@NotNull Player player, @NotNull PrefixConfig currentPrefix)
void
UserPrefixChangeEvent. setAfter(@NotNull PrefixConfig after)
Method parameters in cc.carm.plugin.userprefix.event with type arguments of type PrefixConfig Modifier and Type Method Description static void
UserPrefixChangeEvent. call(@NotNull Player who, @Nullable PrefixConfig before, @NotNull PrefixConfig after, @Nullable Consumer<@Nullable PrefixConfig> finish)
Constructors in cc.carm.plugin.userprefix.event with parameters of type PrefixConfig Constructor Description UserPrefixChangeEvent(@NotNull Player who, @Nullable PrefixConfig before, @NotNull PrefixConfig after)
UserPrefixExpireEvent(@NotNull Player who, @NotNull PrefixConfig expiredPrefix)
-
Uses of PrefixConfig in cc.carm.plugin.userprefix.hooker
Method parameters in cc.carm.plugin.userprefix.hooker with type arguments of type PrefixConfig Modifier and Type Method Description PlaceholderHandler
UserPrefixExpansion. handlePrefix(Function<PrefixConfig,Object> handler)
-
Uses of PrefixConfig in cc.carm.plugin.userprefix.manager
Fields in cc.carm.plugin.userprefix.manager declared as PrefixConfig Modifier and Type Field Description protected PrefixConfig
PrefixManager. defaultPrefix
Fields in cc.carm.plugin.userprefix.manager with type parameters of type PrefixConfig Modifier and Type Field Description protected @NotNull Map<String,PrefixConfig>
PrefixManager. prefixes
Methods in cc.carm.plugin.userprefix.manager that return PrefixConfig Modifier and Type Method Description static @NotNull PrefixConfig
PrefixManager. addPrefix(@NotNull File file)
@NotNull PrefixConfig
PrefixManager. getDefaultPrefix()
@NotNull PrefixConfig
UserManager. getHighestPrefix(Player player)
得到玩家可使用的最高权重的权限 注意:若配置文件中关闭了 “autoUsePrefix” ,则会返回默认前缀。@Nullable PrefixConfig
PrefixManager. getPrefix(String identifier)
@NotNull PrefixConfig
UserManager. getPrefix(Player player)
得到玩家的前缀。Methods in cc.carm.plugin.userprefix.manager that return types with arguments of type PrefixConfig Modifier and Type Method Description @NotNull Map<String,PrefixConfig>
PrefixManager. getPrefixes()
@NotNull List<PrefixConfig>
UserManager. getUsablePrefixes(Player player)
得到玩家所有可用的前缀List<PrefixConfig>
PrefixManager. getVisiblePrefix(Player player)
Methods in cc.carm.plugin.userprefix.manager with parameters of type PrefixConfig Modifier and Type Method Description void
UserManager. setPrefix(Player player, PrefixConfig prefix, boolean updateView)
设定玩家前缀
-