Always use the latest version of my plugins with murAPI
This is a API needed for my plugins MSG, Staff, and MOTD.
This API includes:
- Adding color to configs.
- Adding color to strings.
- Creating titles.
- Creating subtitles.
- Creating GUIs
- Abstract commands
- Creating configs.
Usage/For developers
plugin.yml
# Dependencies
depend: [murAPI]Methods
Just a simple usage of those features:
Adding color to configs:
Color.addColor("path.to.string", plugin_main_class);Adding color to strings:
player.sendMessage(Color.addColor("&cHello!"));Creating titles:
Title.sendTitle(player, "&cHello", 20, 40, 20);Creating subtitles:
Title.sendSubtitle(player, "&cHello player", 20, 40, 20);Creating a config:
Config config = new Config(PLUGIN_MAIN_CLASS, "name.yml");
config.create();
// use config#getFile() for the FileConfiguration stuff.
// optional: FileConfiguration fileConfig = config.getFile();
config.save();More Config methods
Setting
config.set(PATH, VALUE);Adding default
config.addDefault(PATH, VALUE);Getting an object (goes for anything like getBoolean, getString etc.)
config.get(PATH);ConfigurationOptions
config.options()Sending an actionbar to a player:
Actionbar.sendActionBar(player, "Hello COLOR CODES COMING SOON");Maven
<repositories>
<repository>
<id>murapi-repo</id>
<url>https://commonly.github.io/repo</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>me.jdog.murapi</groupId>
<artifactId>mur-api</artifactId>
<version>1.0.0</version>
</dependencies>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
