Index

A C D E G I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

AllPubSubs - Class in net.ognetwork.ogcore.api.pubsubs
 
AllPubSubs() - Constructor for class net.ognetwork.ogcore.api.pubsubs.AllPubSubs
 
ALREADY_INVITED - Enum constant in enum net.ognetwork.ogcore.api.models.Party.ResultStatus
Indicates that the inviteePlayer was already invited to the party.

C

cancel() - Method in class net.ognetwork.ogcore.api.scheduledtasks.ScheduledTask
 
CHANNEL_KEY - Static variable in class net.ognetwork.ogcore.api.pubsubs.ChatPubSub
 
CHANNEL_KEY - Static variable in class net.ognetwork.ogcore.api.pubsubs.PartyPubSub
 
ChatPubSub - Class in net.ognetwork.ogcore.api.pubsubs
 
ChatPubSub() - Constructor for class net.ognetwork.ogcore.api.pubsubs.ChatPubSub
 
cleanup() - Method in class net.ognetwork.ogcore.api.models.Member
Cleans up all of the dangling redis keys corresponding to this member
connect() - Method in class net.ognetwork.ogcore.api.wrappers.JedisWrapper
Instantiates the JedisPool.

D

declineInvite(UUID) - Method in class net.ognetwork.ogcore.api.models.Party
Tries to make a player decline a party invite.
declineInvite(Player) - Method in class net.ognetwork.ogcore.api.models.Party
Tries to make a player decline a party invite.
declineInviteForceful(UUID) - Method in class net.ognetwork.ogcore.api.models.Party
Force an invite to be declined for a player.
disband() - Method in class net.ognetwork.ogcore.api.models.Party
Forces a party to be disbanded.
disband(UUID) - Method in class net.ognetwork.ogcore.api.models.Party
Tries to disband a party as a player.
disband(Player) - Method in class net.ognetwork.ogcore.api.models.Party
Tries to disband a party as a player.

E

EmptyPartyCleanupJob - Class in net.ognetwork.ogcore.api.jobs
Checks for parties that have no members online.
EmptyPartyCleanupJob() - Constructor for class net.ognetwork.ogcore.api.jobs.EmptyPartyCleanupJob
 
execute(String) - Static method in class net.ognetwork.ogcore.api.scheduledtasks.PartyDisconnectTask
 
execute(String) - Static method in class net.ognetwork.ogcore.api.scheduledtasks.PartyInviteTask
 

G

getDelayInSeconds() - Method in class net.ognetwork.ogcore.api.jobs.EmptyPartyCleanupJob
 
getDelayInSeconds() - Method in interface net.ognetwork.ogcore.api.jobs.IJob
 
getFancyNameFromUuid(UUID) - Method in class net.ognetwork.ogcore.api.interfaces.ServerInterface
 
getFullName() - Method in class net.ognetwork.ogcore.api.models.Member
Gets the full name of the member.
getInstance() - Static method in class net.ognetwork.ogcore.api.wrappers.JedisWrapper
 
getLeaderUuid() - Method in class net.ognetwork.ogcore.api.models.Party
Gets the uuid of the party leader.
getMemberUuids() - Method in class net.ognetwork.ogcore.api.models.Party
Gets the members of the party.
getName() - Method in class net.ognetwork.ogcore.api.models.Member
Gets the cached name of the member.
getNameFromUuid(UUID) - Method in class net.ognetwork.ogcore.api.interfaces.ServerInterface
 
getOnlinePlayerNames() - Method in class net.ognetwork.ogcore.api.interfaces.ServerInterface
 
getParty() - Method in class net.ognetwork.ogcore.api.models.Member
Gets the Party for a player.
getPartyKey() - Method in class net.ognetwork.ogcore.api.models.Member
Gets the redis key of the party that the member is in.
getPartyKey() - Method in class net.ognetwork.ogcore.api.models.Party
Gets the party key.
getPeriodInSeconds() - Method in class net.ognetwork.ogcore.api.jobs.EmptyPartyCleanupJob
 
getPeriodInSeconds() - Method in interface net.ognetwork.ogcore.api.jobs.IJob
 
getPool() - Method in class net.ognetwork.ogcore.api.wrappers.JedisWrapper
Gets the Jedis pool.
getPrefix() - Method in class net.ognetwork.ogcore.api.models.Member
Gets the cached prefix of the member.
getPubSub(Class<T>) - Method in class net.ognetwork.ogcore.api.pubsubs.AllPubSubs
 
getSize() - Method in class net.ognetwork.ogcore.api.models.Party
Gets the size of the party.
getSuffix() - Method in class net.ognetwork.ogcore.api.models.Member
Gets the cached suffix of the member.
getUniqueId() - Method in interface net.ognetwork.ogcore.api.generics.Player
Gets the UUID of the player.
getUniqueId() - Method in class net.ognetwork.ogcore.api.models.Member
Gets the UUID for the player corresponding to this member.
getUuidFromName(String) - Method in class net.ognetwork.ogcore.api.interfaces.ServerInterface
 

I

IJob - Interface in net.ognetwork.ogcore.api.jobs
 
invite(UUID) - Method in class net.ognetwork.ogcore.api.models.Party
Forces the player to be invited to the party.
invite(UUID, UUID) - Method in class net.ognetwork.ogcore.api.models.Party
Tries to invite a player to the party.
invite(Player, UUID) - Method in class net.ognetwork.ogcore.api.models.Party
Tries to invite a player to the party.
invite(Player, Player) - Method in class net.ognetwork.ogcore.api.models.Party
Tries to invite a player to the party.
IS_LEADER - Enum constant in enum net.ognetwork.ogcore.api.models.Party.ResultStatus
Indicates that the action cannot be performed since the acting user is the party leader.
IS_MEMBER - Enum constant in enum net.ognetwork.ogcore.api.models.Party.ResultStatus
Indicates that the a player is already a member.
isConnected() - Method in class net.ognetwork.ogcore.api.wrappers.JedisWrapper
Checks if the Jedis pool is connected.
isInParty() - Method in class net.ognetwork.ogcore.api.models.Member
Gets if the player is in a Party.
isInvited(UUID) - Method in class net.ognetwork.ogcore.api.models.Party
Checks if the player is invited.
isInvited(Player) - Method in class net.ognetwork.ogcore.api.models.Party
Checks if the player is invited.
isLeader(UUID) - Method in class net.ognetwork.ogcore.api.models.Party
Checks if the player is the party leader.
isLeader(Player) - Method in class net.ognetwork.ogcore.api.models.Party
Checks if the player is the party leader.
isMember(UUID) - Method in class net.ognetwork.ogcore.api.models.Party
Checks if the player is a party member.
isMember(Player) - Method in class net.ognetwork.ogcore.api.models.Party
Checks if the player is a party member.
isPlayerOnline(UUID) - Method in class net.ognetwork.ogcore.api.interfaces.ServerInterface
 
isPublic() - Method in class net.ognetwork.ogcore.api.models.Party
Gets if the party is public and anyone can join.

J

JEDIS_PREFIX - Static variable in class net.ognetwork.ogcore.api.wrappers.JedisWrapper
 
JedisCommand<T> - Interface in net.ognetwork.ogcore.api.interfaces
 
JedisWrapper - Class in net.ognetwork.ogcore.api.wrappers
A wrapper for a normal Jedis instance.
JedisWrapper(String, int, String, String) - Constructor for class net.ognetwork.ogcore.api.wrappers.JedisWrapper
Creates an instance of a Jedis Pool with some light wrapper management.
join(UUID) - Method in class net.ognetwork.ogcore.api.models.Party
Tries to make a player join a party.
join(Player) - Method in class net.ognetwork.ogcore.api.models.Party
Tries to make a player join a party.
joinForceful(UUID) - Method in class net.ognetwork.ogcore.api.models.Party
Forces a player to join a party.

K

kickMember(UUID) - Method in class net.ognetwork.ogcore.api.models.Party
Forces a player to be kicked from the party.
kickMember(UUID, UUID) - Method in class net.ognetwork.ogcore.api.models.Party
Tries to kick a user from the party.
kickMember(Player, UUID) - Method in class net.ognetwork.ogcore.api.models.Party
Tries to kick a user from the party.
kickMember(Player, Player) - Method in class net.ognetwork.ogcore.api.models.Party
Tries to kick a user from the party.

L

leaveParty() - Method in class net.ognetwork.ogcore.api.models.Member
Leaves the current party of the member.

M

makeLeader(UUID) - Method in class net.ognetwork.ogcore.api.models.Party
Forces a player to become to party leader.
makeLeader(UUID, UUID) - Method in class net.ognetwork.ogcore.api.models.Party
Tries to make a user the leader of the party.
makeLeader(Player, UUID) - Method in class net.ognetwork.ogcore.api.models.Party
Tries to make a user the leader of the party.
makeLeader(Player, Player) - Method in class net.ognetwork.ogcore.api.models.Party
Tries to make a user the leader of the party.
makePrivate() - Method in class net.ognetwork.ogcore.api.models.Party
Forces the party to become a private party.
makePrivate(UUID) - Method in class net.ognetwork.ogcore.api.models.Party
Tries to make a party private.
makePrivate(Player) - Method in class net.ognetwork.ogcore.api.models.Party
Tries to make a party private.
makePublic() - Method in class net.ognetwork.ogcore.api.models.Party
Forces the party to become a public party.
makePublic(UUID) - Method in class net.ognetwork.ogcore.api.models.Party
Tries to make a party public.
makePublic(Player) - Method in class net.ognetwork.ogcore.api.models.Party
Tries to make a party public.
Member - Class in net.ognetwork.ogcore.api.models
 
Member(String) - Constructor for class net.ognetwork.ogcore.api.models.Member
Creates a Member instance based on a known Member key.
Member(UUID) - Constructor for class net.ognetwork.ogcore.api.models.Member
Creates a Member instance for a specific player.
Member(Player) - Constructor for class net.ognetwork.ogcore.api.models.Member
Creates a Member instance for a specific player.

N

net.ognetwork.ogcore.api.generics - package net.ognetwork.ogcore.api.generics
 
net.ognetwork.ogcore.api.interfaces - package net.ognetwork.ogcore.api.interfaces
 
net.ognetwork.ogcore.api.jobs - package net.ognetwork.ogcore.api.jobs
 
net.ognetwork.ogcore.api.models - package net.ognetwork.ogcore.api.models
 
net.ognetwork.ogcore.api.pubsubs - package net.ognetwork.ogcore.api.pubsubs
 
net.ognetwork.ogcore.api.scheduledtasks - package net.ognetwork.ogcore.api.scheduledtasks
 
net.ognetwork.ogcore.api.wrappers - package net.ognetwork.ogcore.api.wrappers
 
NO_PERMISSION - Enum constant in enum net.ognetwork.ogcore.api.models.Party.ResultStatus
Indicates that the actingPlayer did not have permission to perform the action.
NOT_INVITED - Enum constant in enum net.ognetwork.ogcore.api.models.Party.ResultStatus
Indicates that the inviteePlayer has no invite to the current party.

O

OK - Enum constant in enum net.ognetwork.ogcore.api.models.Party.ResultStatus
Indicates that everything worked correctly.
onMessage(String, String) - Method in class net.ognetwork.ogcore.api.pubsubs.ChatPubSub
 
onMessage(String, String) - Method in class net.ognetwork.ogcore.api.pubsubs.PartyPubSub
 

P

Party - Class in net.ognetwork.ogcore.api.models
A redis implementation of the Party.
Party(String) - Constructor for class net.ognetwork.ogcore.api.models.Party
Creates a party instance based on a known party key.
Party(UUID) - Constructor for class net.ognetwork.ogcore.api.models.Party
Creates a party instance for a specific player.
Party(Player) - Constructor for class net.ognetwork.ogcore.api.models.Party
Creates a party instance for a specific player.
PARTY_FULL - Enum constant in enum net.ognetwork.ogcore.api.models.Party.ResultStatus
Indicates that the party is full and has no free member slots available.
PARTY_HELPER_INVITED_MEMBERS - Static variable in class net.ognetwork.ogcore.api.models.Party
 
PARTY_HELPER_MEMBERS - Static variable in class net.ognetwork.ogcore.api.models.Party
 
PARTY_PREFIX - Static variable in class net.ognetwork.ogcore.api.models.Party
 
Party.ResultStatus - Enum in net.ognetwork.ogcore.api.models
The possible results of different actions performed by users.
PartyDisconnectTask - Class in net.ognetwork.ogcore.api.scheduledtasks
 
PartyDisconnectTask(String, UUID) - Constructor for class net.ognetwork.ogcore.api.scheduledtasks.PartyDisconnectTask
 
PartyInviteTask - Class in net.ognetwork.ogcore.api.scheduledtasks
 
PartyInviteTask(String, UUID) - Constructor for class net.ognetwork.ogcore.api.scheduledtasks.PartyInviteTask
 
PartyPubSub - Class in net.ognetwork.ogcore.api.pubsubs
 
PartyPubSub() - Constructor for class net.ognetwork.ogcore.api.pubsubs.PartyPubSub
 
Player - Interface in net.ognetwork.ogcore.api.generics
 

R

run() - Method in class net.ognetwork.ogcore.api.jobs.EmptyPartyCleanupJob
 
run() - Method in interface net.ognetwork.ogcore.api.jobs.IJob
 
run() - Method in class net.ognetwork.ogcore.api.pubsubs.ChatPubSub
 
run() - Method in class net.ognetwork.ogcore.api.pubsubs.PartyPubSub
 
run() - Method in class net.ognetwork.ogcore.api.scheduledtasks.ScheduledTaskWorker
 
run(Jedis) - Method in interface net.ognetwork.ogcore.api.interfaces.JedisCommand
 
runCommand(JedisCommand<T>) - Method in class net.ognetwork.ogcore.api.wrappers.JedisWrapper
Runs a command with an instance from the Jedis pool.

S

SCHEDULED_TASK_PREFIX - Static variable in class net.ognetwork.ogcore.api.scheduledtasks.ScheduledTask
 
SCHEDULED_TASK_QUEUE - Static variable in class net.ognetwork.ogcore.api.scheduledtasks.ScheduledTask
 
ScheduledTask - Class in net.ognetwork.ogcore.api.scheduledtasks
 
ScheduledTask(long, String) - Constructor for class net.ognetwork.ogcore.api.scheduledtasks.ScheduledTask
Schedules a task with the specified execution time and payload.
ScheduledTask(String) - Constructor for class net.ognetwork.ogcore.api.scheduledtasks.ScheduledTask
Creates a scheduled task instance based on a known key.
ScheduledTask(String, long, String) - Constructor for class net.ognetwork.ogcore.api.scheduledtasks.ScheduledTask
Schedules a task with the specified execution time and payload.
ScheduledTaskWorker - Class in net.ognetwork.ogcore.api.scheduledtasks
 
ScheduledTaskWorker() - Constructor for class net.ognetwork.ogcore.api.scheduledtasks.ScheduledTaskWorker
 
sendMessage(UUID, String) - Method in class net.ognetwork.ogcore.api.interfaces.ServerInterface
 
sendPlayerMessage(UUID, String) - Static method in class net.ognetwork.ogcore.api.pubsubs.ChatPubSub
 
sendPlayersMessage(List<UUID>, String) - Static method in class net.ognetwork.ogcore.api.pubsubs.ChatPubSub
 
sendPlayersMessage(UUID[], String) - Static method in class net.ognetwork.ogcore.api.pubsubs.ChatPubSub
 
sendRawMessage(String) - Static method in class net.ognetwork.ogcore.api.pubsubs.PartyPubSub
 
SERVER - Static variable in class net.ognetwork.ogcore.api.interfaces.ServerInterface
 
ServerInterface - Class in net.ognetwork.ogcore.api.interfaces
 
ServerInterface() - Constructor for class net.ognetwork.ogcore.api.interfaces.ServerInterface
 
setName(String) - Method in class net.ognetwork.ogcore.api.models.Member
Sets the name of the member.
setPartyKey(String) - Method in class net.ognetwork.ogcore.api.models.Member
Sets the current party key for the player.
setPrefix(String) - Method in class net.ognetwork.ogcore.api.models.Member
Sets the prefix of the member.
setSuffix(String) - Method in class net.ognetwork.ogcore.api.models.Member
Sets the suffix of the member.
smartExecute(String) - Static method in class net.ognetwork.ogcore.api.scheduledtasks.ScheduledTask
 
start() - Method in class net.ognetwork.ogcore.api.scheduledtasks.ScheduledTaskWorker
 
stop() - Method in class net.ognetwork.ogcore.api.scheduledtasks.ScheduledTaskWorker
 
subscribe() - Method in class net.ognetwork.ogcore.api.pubsubs.AllPubSubs
 

T

tryReconnect() - Method in class net.ognetwork.ogcore.api.wrappers.JedisWrapper
Attempts to reconnect the Jedis pool.

U

UNKNOWN_FAIL - Enum constant in enum net.ognetwork.ogcore.api.models.Party.ResultStatus
Indicates that something unknown happened.
unsubscribe() - Method in class net.ognetwork.ogcore.api.pubsubs.AllPubSubs
 

V

valueOf(String) - Static method in enum net.ognetwork.ogcore.api.models.Party.ResultStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.ognetwork.ogcore.api.models.Party.ResultStatus
Returns an array containing the constants of this enum type, in the order they are declared.

W

warpPlayer(UUID, String) - Method in class net.ognetwork.ogcore.api.interfaces.ServerInterface
 
warpPlayer(UUID, String) - Static method in class net.ognetwork.ogcore.api.pubsubs.PartyPubSub
 
warpPlayers(List<UUID>, String) - Static method in class net.ognetwork.ogcore.api.pubsubs.PartyPubSub
 
warpPlayers(UUID[], String) - Static method in class net.ognetwork.ogcore.api.pubsubs.PartyPubSub
 
A C D E G I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values