Home›Java›Mods›CoreAPI | Languages / Holograms / Achievements / TellRaw - UUID+MySQl / 1.8+1.9 Support
ModsJava
CoreAPI | Languages / Holograms / Achievements / TellRaw - UUID+MySQl / 1.8+1.9 Support
Whats new in the newer version?
- 31 languages
- scoreboards
- worldborders
- Skin change (without losing name)
- Player ping
- 1.9 support
- MORE!
Needed: ProtocolLib for Holograms.
TESTPLUGIN: Click
- Choose between 12 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)
What is possible with CoreAPI?
Spoiler: Screenshots
Holograms:
Spoiler: Hologram usage
1. Creating a hologram
2. Adding lines to the hologram
3. Show the hologram to the player
For a single player:
3.1. Show the hologram to all players
4. Register the hologram
5. Remove the hologram
5.1. Remove the hologram from one player:
6. Remove a single line
Code (Text):
Hologram holo = new Hologram(location);
Code (Text):
holo.addLine("§eWelcome");
holo.addLine("§6"+ p.getName());
holo.addLine("§6"+ p.getName());
For a single player:
Code (Text):
holo.sendToPlayer(p);
Code (Text):
for(Player all : Bukkit.getOnlinePlayers()){
holo.sendToPlayer(all); }
holo.sendToPlayer(all); }
Code (Text):
HologramResetter.register(p, holo);
Code (Text):
holo.remove();
Code (Text):
holo.removeFromPlayer(p)
Code (Text):
holo.removeLine(1)
TellRaw Messages:
Spoiler: TellRaw usage
1. Creating unclickable section of the message
2. Creating clickable/hoverable section of the message
3. Set hover event
4. Set command when clicking the message
5. Bind the events to the message
6. Send the message
Code (Text):
JSONChatMessage message= new JSONChatMessage("Message: ", JSONChatColor.GRAY, null);
Code (Text):
JSONChatExtra extra= new JSONChatExtra("Clickable", JSONChatColor.GREEN, Arrays.asList(JSONChatFormat.BOLD));
Code (Text):
extra.setHoverEvent(JSONChatHoverEventType.SHOW_TEXT, "This is a hovering message");
Code (Text):
extra.setClickEvent(JSONChatClickEventType.RUN_COMMAND, "/command");
Code (Text):
message.addExtra(extra);
Code (Text):
message.sendToPlayer(p);
Languages:
Spoiler: Language usage
1. Getting the language of a player
2. Set the language of a player
Code (Text):
LanguageAPI.getLanguage(player);
Code (Text):
LanguageAPI.setLanguage(player, Language.POLISH);
Achievements:
Spoiler: Achievements usage
1. Creating a new achievement
2. Check if player has achievement
3. Give player the achievement
4. Remove the achievement from player
Code (Text):
Achievements achievement = new Achievements("FirstDeath");
Code (Text):
if(achievement.hasPlayer(player)){
Code (Text):
achievement.addToPlayer(player);
Code (Text):
achievement.removeFromPlayer(player);
Titles:
Spoiler: Title usage
1. Set the title
2. Set Fade in / Fade Out / Stay time
3. Set Title Color / Subtitle Color
4. Send the title
5. Clear the title
Code (Text):
Titles title = new Titles("Im a title!", "Awesome im a subtitle!", 0, 1, 1);
Code (Text):
title.setFadeInTime(20);
title.setStayTime(20);
title.setFadeOutTime(20);
title.setStayTime(20);
title.setFadeOutTime(20);
Code (Text):
title.setTitleColor(ChatColor.RED);
title.setSubtitleColor(ChatColor.BLUE);
title.setSubtitleColor(ChatColor.BLUE);
Code (Text):
title.send(player);
Code (Text):
title.clearTitle(player);
Tab Header/Footer:
Spoiler: Tab usage
1. Send the Tab Header/Footer
//NOTE: %player% will be replaced with the players name
Code (Text):
TabTitle.sendTabTitle(p, "&aIm a Header!", "&eIm a Footer");
Actionbar:
Spoiler: Actionbar usage
1. Send the Actionbar
Code (Text):
Actionbar.sendBar(player, "Im a Actionbar for &a%player%");
//NOTE: %player% will be replaced with the players name
//NOTE: %player% will be replaced with the players name
Donate
I love it to develop free plugins for you but to keep them free i need donations.
I would be very happy if i get some.
I love it to develop free plugins for you but to keep them free i need donations.
I would be very happy if i get some.
You are not allowed to:
- Decompile the API for commercial use
- Reupload the API
- Make money with the API by selling it
You are allowed to:
- Use the API in your plugins
- Decompile the API for private use
- Have fun with the API
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.9
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
CoreAPI | Languages / Holograms / Achievements / TellRaw - UUID+MySQl / 1.8+1.9 Support is a free Minecraft Java mod. Compatible with Minecraft 1.9. Downloaded 1,621 times (via Spigot). Download it and open it directly in the game.