CoreAPI | Languages / Holograms / Achievements / NameTags /
3.0CoreAPI Update 2.0: BungeeCord for Nicks

What is the CoreAPI?
CoreAPI is a leightweight API for EVERYTHING you need!
It comes with tons of features and own ingame functions!
Needed: ProtocolLib
EXAMPLE PLUGIN: HERE

- Choose between 31 languages (more soon)
- /language to switch between languages (Can be switched off)
- Send TellRaw messages (with hover, click and colours)
- Send holograms with multiple lines
- Create achievements
- MySQL database to save language and achievements
- Config section to deactivate /language
- Touch holograms (currently under construction)
- SkinChange without loosing name
- Send ActionBars
- Send WorldBorders
- Create easy scoreboards
- Modify the tablist
- Get the ping from a player
- Let players glow! NEW! 1.9 FEATURE
- Let players glow in case of their ping! NEW! 1.9 FEATURE
- Change the player nametag! NEW!
- More ideas? PM me!

Integrated scoreboard
Integrated scoreboard
![]()
Glowing

Nametags
Title

Tablist and holograms


Holograms:
Hologram usage
1. Creating a hologram
Hologram holo = new Hologram(location);2. Adding lines to the hologram
holo.addLine("§eWelcome");
holo.addLine("§6"+ p.getName());3. Show the hologram to the player
For a single player:
holo.sendToPlayer(p);3.1. Show the hologram to all players
for(Player all : Bukkit.getOnlinePlayers()){
holo.sendToPlayer(all); }4. Register the hologram
HologramResetter.register(p, holo);5. Remove the hologram
holo.remove();5.1. Remove the hologram from one player:
holo.removeFromPlayer(p)6. Remove a single line
holo.removeLine(1)TellRaw Messages:
TellRaw usage
1. Creating unclickable section of the message
JSONChatMessage message= new JSONChatMessage("Message: ", JSONChatColor.GRAY, null);2. Creating clickable/hoverable section of the message
JSONChatExtra extra= new JSONChatExtra("Clickable", JSONChatColor.GREEN, Arrays.asList(JSONChatFormat.BOLD));3. Set hover event
extra.setHoverEvent(JSONChatHoverEventType.SHOW_TEXT, "This is a hovering message");4. Set command when clicking the message
extra.setClickEvent(JSONChatClickEventType.RUN_COMMAND, "/command");5. Bind the events to the message
message.addExtra(extra);6. Send the message
message.sendToPlayer(p);Languages:
Language usage
1. Getting the language of a player
LanguageAPI.getLanguage(player);2. Set the language of a player
LanguageAPI.setLanguage(player, Language.POLISH);Achievements:
Achievements usage
1. Creating a new achievement
Achievements achievement = new Achievements("FirstDeath");2. Check if player has achievement
if(achievement.hasPlayer(player)){3. Give player the achievement
achievement.addToPlayer(player);4. Remove the achievement from player
achievement.removeFromPlayer(player);Titles:
Title usage
1. Set the title
Titles.sendTitle(player, "§6Title with color!", "Subtitle", Fade-In, Stay, Fade-Out);Tab Header/Footer:
Tab usage
1. Send the Tab Header/Footer
TabTitle.sendTabTitle(p, "&3&lCoreAPI", "&a is awesome!");
Note: %player% will be replaced with the players name2. Send the Tab Header and Footer with multiple lines!
TabTitle.sendTabTitle(p, "&c&lCoreAPI\n&5&lIs Awesome", "&3Welcome %player%\n&6To my server!");
Note: "\n" will break the line to a multiple line
Note²: %player% will be replaced with the players nameActionbar:
Actionbar usage
1. Send the Actionbar
ActionBar.sendBar(player, "Im a Actionbar for &a%player%");
//NOTE: %player% will be replaced with the players nameWorldBorder:
WorldBorder usage
1. Set the border
WorldBorderAPI.setBorder(world, size, center);Player ping:
Ping usage
1. Get the ping
PlayerPing.getPing(player);Note: The ping will be shown in matching colors (green, orange, red)
Skins:
Skin usage
1. Set the skin
SkinAPI.setSkinPlayer(player, skinname, see_self)
Note: see_self can be set to true or false;Scoreboards:
Scoreboard usage
1. Set the scoreboard
ScoreboardAPI.FlyScoreboard(player, title, new String[]{"§aL§da§anguage:",
"§eLine1",
"§9Line2" + 30,
"§cLine3" + player.getHealth()
});Glow:
Glow usage
1. Set the glow
GlowAPI.set(player, color, true/false);
Note: the true/false is for the tablist color2. Set the glow in case of ping
GlowAPI.PingGlow(player, true/false);
Note: the true/false is for the tablist color3. Stop glowing:
GlowAPI.stopGlow(player);4. Check if player is glowing:
GlowAPI.isGlowing(player);Nametags:
Nametags usage
1. Set the nametag
NametagAPI.setNametag(player, name, true/false, true/false);
First true/false: For tablist change
Second true/false: For aboveHead change2. Set the nametag of OfflinePlayers:
NametagAPI.setNametagOther(player, name, true/false, true/false);
First true/false: For tablist change
Second true/false: For aboveHead change3. Remove the Nametag from a player
NametagAPI.removeNametag(player);____________________________________________________
Events:
Called when player receives a achievement:
AchievementReceiveEvent
Called when player receives a language:
LanguageReceiveEvent
Called when player receives a skin change:
SkinReceiveEvent
Called when player receives a nametag:
NametagReceiveEvent
Called when player receives a glow:
GlowReceiveEvent

enable_cmd: true
enable_scoreboard: false
enable_animated_scoreboard: true
enable_tab_ping: false
Plugins using CoreAPI:
PlayerAuras

- With the download of the plugin you are permitted to use the plugin on ONE single BungeeCord network / server
- You are permitted to decompile the plugin for your personal use but NOT MORE
- Reuploading the plugin under your name or/and for free is FORBIDDEN
- By download the plugin you are downloading the current features of CoreAPI, if there is a feature you want to see write it in the Discussion section
- Decompiled versions are not supported by me and you will get no error-fixing help
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
26.2MSueta
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.9MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
4.7MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta