bukkit make object variable for players code example
Example 1: minecraft bukkit coding player sharing variable
//Example for storing per-player scoresHashMap<String, Integer> playerScores = new HashMap<String, Integer>(); //Setting scoreplayerScores.put(player.getName(), score);
Example 2: Bukkit plugin player variable
Player player = Bukkit.getPlayer("{NAME}");