public class PermissionFactionProvider extends Object implements FactionProvider
Constructor and Description |
---|
PermissionFactionProvider() |
Modifier and Type | Method and Description |
---|---|
Optional<String> |
getFaction(UUID player) |
boolean |
isInFaction(AbstractPlayer player,
String faction) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFaction
public boolean isInFaction(AbstractPlayer player, String faction)
isInFaction
in interface FactionProvider
public Optional<String> getFaction(UUID player)
getFaction
in interface FactionProvider
Copyright © 2020. All rights reserved.