Speedgot
PlayerHeadAPI
-----
API to print the players head in Chat
Download Now
5.6 KB .jar
Overview
Updates (
--
)
Reviews (
---
)
Version History
Discussion
PlayerHeadAPI
API to print a Players head in Chat.
Spoiler:
Use in your project
Code (Text):
1. Add the Library to your project
2. Put the API on the server in the plugins folder
3. Use it just like the Code below
Usage:
Spoiler:
Usage
Code (Text):
try{
BufferedImage imageToSend = ImageIO.read(new URL("https://crafatar.com/avatars/" + e.getPlayer().getUniqueId().toString()));
new ImageMessage(
imageToSend,
8,
ImageChar.BLOCK.getChar()
).appendCenteredText(
"1",
"22",
"333",
"4444",
"55555",
"666666"
).sendToPlayer(e.getPlayer());
} catch (Exception exception) {
System.out.println("[Player-Head] Kopf konnte nicht geladen werden.");
}
Spoiler:
Output
View on SpigotMC
Resource Information
Author:
----------
Total Downloads:
71
First Release:
Nov 30, 2020
Last Update:
Nov 30, 2020
Category:
---------------
All-Time Rating:
0 ratings
Version
-----
Released:
--------------------
Downloads:
------
Version Rating:
----------------------
--
ratings