// GuiStats | [1.13] | [Fully Custom & SQL SUPPORT!] \\
1.4.1Fun minimalistic way to display 50+ statistics in a gui! PlaceholderAPI/Custom Stats Support

Purpose: A fun, simple, and minimalistic way to display statistics in a gui!
Requirements:
- Java 8 (This means not Java 7)
- Votifier (Optional)
- Vault (Optional)
- PlaceholderAPI (Optional)
⟹ Gui presented stats.
⟹ View other players' stats (permission based).
⟹ Configurable messages.
⟹ Ability to change every single item in the GUI ( This means translations are possible as well as a unique look and feel)
⟹ BETA MySQL Support. If you attempt to use this please tell me how it goes.
⟹ 50+ Stats recorded:
- Anvils Used
- Arrows Fired
- Beds Entered
- Blocks Broken (clickable for more info)
- Blocks Placed
- Buckets Emptied
- Buckets Filled
- Chests Opened
- Commands Typed
- Damage Taken
- Deaths
- Eggs Thrown
- Fish Caught
- Items Crafted
- Items Dropped
- Items Picked Up
- Joins
- Last Join
- Last Logout
- Mob Kills
- Money
- Moves
- Food Eaten
- Pvp Kills
- Current Pvp Streak
- Longest Pvp Streak
- Minecarts Ridden
- Playtime
- Shears
- Teleports
- Times Kicked
- Tools Broken
- Trades
- Votes
- Words Said
- World Changes
- XP Gained
ServerMiner V1.4.1 [English]
Check out their website @ https://serverminer.com
maxmar628 V1.3.0 [Spanish]

Custom Stat API Walkthrough
- Set stats for each player individually so you can do special things for players with higher stats perhaps?
- Custom displayItems
- Override default stats (maybe to have a more specific displayItem?)
import java.util.ArrayList;
import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;
import me.thetealviper.GuiStats.API.CustomStatsAPI;
import me.thetealviper.GuiStats.API.Stat;
public class ExampleHook {
public void howToAddCustomStat(){
String playerName = getPlayerNameHowever();
int statValue = getValueHowever();
//First we have to create the item that will be displayed in the GUI
ItemStack displayItem = new ItemStack(Material.SNOW_BLOCK);
ItemMeta meta = Bukkit.getItemFactory().getItemMeta(Material.SNOW_BLOCK);
meta.setDisplayName(ChatColor.WHITE + "Spleef Matches Won");
List<String> lore = new ArrayList<String>();
lore.add(playerName + " has won " + statValue + " matches of spleef!");
meta.setLore(lore);
displayItem.setItemMeta(meta);
//Now we convert that displayItem into a stat
//Note that you can override the default stats by using their slot number.
//Also, slots start at 1, not 0. (If this confuses you don't worry about it)
Stat customStat = new Stat(displayItem, 35, statValue, Bukkit.getOfflinePlayer(playerName));
//Each player will have their own stat so now we create a list of ALL the player's stats.
List<Stat> stats = new ArrayList<Stat>();
stats.add(customStat);
//Finally we add the slot into the database
CustomStatsAPI.setStat("Spleef_Won", stats);
}
}
⟹ (guistats.opengui.self) /gs - Opens player's guistats
⟹ (guistats.opengui.others) /gs <player name> - Opens another player's guistats.
None at this point. Let me know if you want your server here!
Nothing at this point. Message me ideas!

Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta