TCheckpoint
This commit is contained in:
parent
85668b9d93
commit
840896c4fc
23 changed files with 157 additions and 4 deletions
|
|
@ -17,6 +17,7 @@ public class PlayerStats {
|
|||
Stats.put("money", PersistentDataType.DOUBLE);
|
||||
Stats.put("total_kill_count", PersistentDataType.INTEGER);
|
||||
Stats.put("join_count", PersistentDataType.INTEGER);
|
||||
Stats.put("tPoint", PersistentDataType.DOUBLE);
|
||||
}
|
||||
public static final Dictionary<String,String> StatNames = new Hashtable<>();
|
||||
static {
|
||||
|
|
@ -24,6 +25,7 @@ public class PlayerStats {
|
|||
StatNames.put("money", "Money");
|
||||
StatNames.put("total_kill_count", "Total Kill Count");
|
||||
StatNames.put("join_count", "Join Count");
|
||||
StatNames.put("tPoint", "Total Points");
|
||||
}
|
||||
|
||||
private final JavaPlugin plugin;
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package org.gsdistance.grimmsServer.Stats;
|
|||
import com.google.gson.Gson;
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
import org.gsdistance.grimmsServer.Constructable.Market;
|
||||
import org.gsdistance.grimmsServer.GrimmsServer;
|
||||
|
||||
import java.io.File;
|
||||
|
|
@ -21,11 +22,13 @@ public class ServerStats {
|
|||
static {
|
||||
Stats.put("death_count", Integer.class);
|
||||
Stats.put("join_count", Integer.class);
|
||||
Stats.put("market", Market.class);
|
||||
}
|
||||
public static final Dictionary<String,String> StatNames = new Hashtable<>();
|
||||
static {
|
||||
StatNames.put("death_count", "Death Count");
|
||||
StatNames.put("join_count", "Join Count");
|
||||
StatNames.put("market", "Market");
|
||||
}
|
||||
|
||||
private final JavaPlugin plugin;
|
||||
|
|
|
|||
|
|
@ -14,10 +14,16 @@ public class WorldStats {
|
|||
public static final Dictionary<String, PersistentDataType<?, ?>> Stats = new Hashtable<>();
|
||||
static {
|
||||
Stats.put("death_count", PersistentDataType.INTEGER);
|
||||
Stats.put("block_break_count", PersistentDataType.LONG);
|
||||
Stats.put("wPoint", PersistentDataType.DOUBLE);
|
||||
Stats.put("join_count", PersistentDataType.INTEGER);
|
||||
}
|
||||
public static final Dictionary<String,String> StatNames = new Hashtable<>();
|
||||
static {
|
||||
StatNames.put("death_count", "Death Count");
|
||||
StatNames.put("block_break_count", "Block Break Count");
|
||||
StatNames.put("wPoint", "World Points");
|
||||
StatNames.put("join_count", "Join Count");
|
||||
}
|
||||
|
||||
private final JavaPlugin plugin;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue