1
0

Merge pull request 'Implementing semipersistent storage' (#5) from semipersistent-storage into master

Reviewed-by: Chaoscaot <chaoscaot444@gmail.com>
Dieser Commit ist enthalten in:
Lixfel 2020-09-02 06:09:30 +02:00
Commit 0f62d0996a

Datei anzeigen

@ -0,0 +1,22 @@
package de.steamwar.bungeecore;
import net.md_5.bungee.api.connection.ProxiedPlayer;
import java.sql.Timestamp;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class Storage {
private Storage(){}
public static final Map<ProxiedPlayer, List<ProxiedPlayer>> challenges = new HashMap<>();
public static final Map<ProxiedPlayer, ProxiedPlayer> lastChats = new HashMap<>();
public static final Map<Integer, List<Integer>> teamInvitations = new HashMap<>(); // UserID -> List<TeamIDs>
public static final Map<ProxiedPlayer, Timestamp> sessions = new HashMap<>(); // Contains session start timestamp
public static final Map<Integer, Subserver> eventServer = new HashMap<>(); // TeamID -> Subserver map
}