ModsJava
murAPI
Java mod listed for Minecraft 1.8–1.11. Download on the author's site.
⬇ Download on Spigot
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.
This API includes:
- Adding color to configs.
- Adding color to strings.
- Creating titles.
- Creating subtitles.
- Creating GUIs
- Abstract commands
- Creating configs.
Spoiler: Usage/For developers
Spoiler: plugin.yml
# Dependencies
depend : [murAPI ]
Code (YAML):
# Dependencies
depend : [murAPI ]
Spoiler: Methods
Just a simple usage of those features:
Adding color to configs:
Adding color to strings:
Creating titles:
Creating subtitles:
Creating a config:
Sending an actionbar to a player:
Adding color to configs:
Code (Java):
Code (Java):
Code (Java):
Title.
sendTitle
(player,
"&cHello",
20,
40,
20
)
;
Code (Java):
Title.
sendSubtitle
(player,
"&cHello player",
20,
40,
20
)
;
Code (Java):
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 ( ) ;
config. create ( ) ;
// use config#getFile() for the FileConfiguration stuff.
// optional: FileConfiguration fileConfig = config.getFile();
config. save ( ) ;
Spoiler: More Config methods
Setting
Adding default
Getting an object (goes for anything like getBoolean, getString etc.)
ConfigurationOptions
Code (Java):
config.
set
(PATH, VALUE
)
;
Code (Java):
config.
addDefault
(PATH, VALUE
)
;
Code (Java):
config.
get
(PATH
)
;
Code (Java):
config.
options
(
)
Sending an actionbar to a player:
Code (Java):
Actionbar.
sendActionBar
(player,
"Hello COLOR CODES COMING SOON"
)
;
Spoiler: Maven
HTML:
<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>
<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>
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.8, 1.9, 1.10
- 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.
murAPI is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11. Downloaded 435 times (via Spigot). Download it and open it directly in the game.
![[IMG]](http://proxy.spigotmc.org/59d15f2a8bad6734a251c8015c76b4cf84094700?url=https%3A%2F%2Fi.imgur.com%2FxeInWJj.png)