kenshinshideandseek/src/main/java/net/tylermurphy/hideAndSeek/Store.java

45 lines
1.2 KiB
Java
Raw Normal View History

2021-08-13 20:49:36 +00:00
package net.tylermurphy.hideAndSeek;
import java.util.HashMap;
import java.util.Map;
2021-08-18 23:21:59 +00:00
import org.bukkit.ChatColor;
2021-08-13 20:49:36 +00:00
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.entity.Player;
import org.bukkit.scoreboard.Scoreboard;
import org.bukkit.scoreboard.Team;
import org.bukkit.util.Vector;
public class Store {
public static Map<String,Player> playerList = new HashMap<String,Player>();
2021-08-18 23:21:59 +00:00
public static Scoreboard board;
2021-08-13 20:49:36 +00:00
public static Team Hider,Seeker,Spectator;
2021-08-18 23:21:59 +00:00
2021-08-13 20:49:36 +00:00
public static String status = "Setup";
2021-08-18 23:21:59 +00:00
2021-08-13 20:49:36 +00:00
public static String messagePrefix = String.format("%sHide and Seek > %s", ChatColor.BLUE, ChatColor.WHITE);
public static String errorPrefix = String.format("%sError > %s", ChatColor.RED, ChatColor.WHITE);
2021-08-18 23:21:59 +00:00
public static Vector spawnPosition;
public static Vector worldborderPosition;
2021-08-13 20:49:36 +00:00
public static int worldborderSize,worldborderDelay,currentWorldborderSize;
public static boolean worldborderEnabled = false, decreaseBorder = false;
2021-08-18 23:21:59 +00:00
2021-08-13 20:49:36 +00:00
public static String tauntPlayer = "";
2021-08-18 23:21:59 +00:00
public static int glowTime = 0;
2021-08-13 20:49:36 +00:00
public static int gameId = 0;
public static FileConfiguration getConfig() {
return Main.plugin.getConfig();
}
public static void saveConfig() {
Main.plugin.saveConfig();
}
2021-08-18 23:21:59 +00:00
}