Uses of Class
dev.majek.pc.data.object.User
-
Packages that use User Package Description dev.majek.pc.api dev.majek.pc.chat dev.majek.pc.command.party dev.majek.pc.data dev.majek.pc.data.object dev.majek.pc.gui -
-
Uses of User in dev.majek.pc.api
Methods in dev.majek.pc.api that return User Modifier and Type Method Description @Nullable UserPartyLeaveEvent. getNewLeader()The randomly chosen player who will be the new party leader.Methods in dev.majek.pc.api with parameters of type User Modifier and Type Method Description voidPartyChatApi. createParty(@NotNull String name, @NotNull User leader)Create a new party with a party name and user as the leader.@Nullable PartyPartyChatApi. getParty(@NotNull User user)voidPartyLeaveEvent. setNewLeader(User player)Set a different player to be the new party leader.Constructors in dev.majek.pc.api with parameters of type User Constructor Description PartyLeaveEvent(org.bukkit.OfflinePlayer player, Party party, @Nullable User newLeader)Fires when an in-game player leaves a party. -
Uses of User in dev.majek.pc.chat
Methods in dev.majek.pc.chat with parameters of type User Modifier and Type Method Description voidMessageHandler. sendMessage(User user, String path) -
Uses of User in dev.majek.pc.command.party
Methods in dev.majek.pc.command.party with parameters of type User Modifier and Type Method Description static booleanPartyLeave. execute(User user, @Nullable User newLeader, boolean leftServer) -
Uses of User in dev.majek.pc.data
Methods in dev.majek.pc.data that return User Modifier and Type Method Description @Nullable UserDataHandler. getUser(@NotNull String name)Get a PartyChat user from a name.UserDataHandler. getUser(@NotNull org.bukkit.entity.Player player)Get PartyChat user from map.@Nullable UserDataHandler. getUser(@Nullable UUID uuid)Get PartyChat user from map.Methods in dev.majek.pc.data that return types with arguments of type User Modifier and Type Method Description Map<UUID,User>DataHandler. getUserMap()Get PartyChat's user map.Methods in dev.majek.pc.data with parameters of type User Modifier and Type Method Description voidDataHandler. addToUserMap(User user)Add a user to the user map.@Nullable PartyPartyHandler. getParty(User user)Get a party from aUser.voidDataHandler. removeFromUserMap(User user)Remove a user from the user map.voidPartyHandler. sendMessageToPartyChat(Party party, User sender, String message)Send a message to a party. -
Uses of User in dev.majek.pc.data.object
Methods in dev.majek.pc.data.object that return User Modifier and Type Method Description UserParty. getLeader()Get the unique id of the party leader.Methods in dev.majek.pc.data.object that return types with arguments of type User Modifier and Type Method Description List<User>Party. getMembers()Get a list of the party member's unique ids.Methods in dev.majek.pc.data.object with parameters of type User Modifier and Type Method Description voidParty. addMember(User user)Add a new party member.voidParty. removeMember(User user)Remove a party member.voidParty. setLeader(User leader)Set a new party leader.Constructor parameters in dev.majek.pc.data.object with type arguments of type User Constructor Description Party(String partyName, String leaderUUID, List<User> members, Boolean isPublic, Boolean friendlyFire)Constructed when a party is recreated after restart. -
Uses of User in dev.majek.pc.gui
Constructors in dev.majek.pc.gui with parameters of type User Constructor Description GuiManagePlayer(User user)GuiMembers(User user)
-