The plugin lets see a bossbar with text and a actionbar with text if u do /compliment
I do offer a free service to translate the BossBar to other text and put other text/remove the action bar (I also can replace it for a title ;-D)
Its very easy to use
Depends on @MLGEditz 's AdvancedAPI:
https://www.spigotmc.org/resources/advancedapi.55191/
Hope u enjoy the plugin!
-----------------------------------
Source Code:
package com.spinygames.msn.plugin1;
import org.bukkit.boss.BarColor;
import org.bukkit.boss.BarFlag;
import org.bukkit.boss.BarStyle;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;
import nl.mlgeditz.advancedapi.AdvancedAPI;
public class Main extends JavaPlugin {
@Override
public void onEnable() {
// Bootup Message
getLogger().info("Plugin is enabled!");
}
@Override
public void onDisable() {
getLogger().info("Plugin is disabled!");
}
public boolean onCommand(CommandSender zender, Command cmd, String label, String[] args) {
Player speler = (Player) zender;
if(cmd.getName().equalsIgnoreCase("compliment")) {
if(!(zender instanceof Player)) {
zender.sendMessage("Dit commando kan alleen worden uitgevoerd als speler!");
return false;
}
AdvancedAPI.ActionBar().sendActionBar(speler, "I like ur clothes!");
AdvancedAPI.BossBar().createBossBarForAll("We hope you enjoy our server!", BarColor.BLUE, BarStyle.SOLID, BarFlag.PLAY_BOSS_MUSIC);
return true;
}
return false;
}}
I do offer a free service to translate the BossBar to other text and put other text/remove the action bar (I also can replace it for a title ;-D)
Its very easy to use
Depends on @MLGEditz 's AdvancedAPI:
https://www.spigotmc.org/resources/advancedapi.55191/
Hope u enjoy the plugin!
-----------------------------------
Source Code:
Code (Text):
package com.spinygames.msn.plugin1;
import org.bukkit.boss.BarColor;
import org.bukkit.boss.BarFlag;
import org.bukkit.boss.BarStyle;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;
import nl.mlgeditz.advancedapi.AdvancedAPI;
public class Main extends JavaPlugin {
@Override
public void onEnable() {
// Bootup Message
getLogger().info("Plugin is enabled!");
}
@Override
public void onDisable() {
getLogger().info("Plugin is disabled!");
}
public boolean onCommand(CommandSender zender, Command cmd, String label, String[] args) {
Player speler = (Player) zender;
if(cmd.getName().equalsIgnoreCase("compliment")) {
if(!(zender instanceof Player)) {
zender.sendMessage("Dit commando kan alleen worden uitgevoerd als speler!");
return false;
}
AdvancedAPI.ActionBar().sendActionBar(speler, "I like ur clothes!");
AdvancedAPI.BossBar().createBossBarForAll("We hope you enjoy our server!", BarColor.BLUE, BarStyle.SOLID, BarFlag.PLAY_BOSS_MUSIC);
return true;
}
return false;
}}
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.12
- 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.
ComplimentsAndBossBar! - 1.12.2 is a free Minecraft Java mod. Compatible with Minecraft 1.12. Downloaded 141 times (via Spigot). Download it and open it directly in the game.