Mineuniverse
Log in Register
Plugins

MooLib

A library that I will use for all my plugins.
by tsun_bug
Download Claim this project
1,632 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Developer Tools

MooLib

No, no, no. MooLib, not MooLimb! Who would serve raw steak anyway?

Description

MooLib is a library that will be a dependency for all my plugins. MooLib only uses methods that I (or @cadox8) have tested externally. That means MooLib will never break, unless bukkit has a huge update or something.

FOR SERVER OWNERS

MooLib is a dependency. If you have any plugins that say:

NoClassDefFoundError: com.otabi.firestar.moolib.MooLibPlugin

You will need to download this dependency.

FOR DEVELOPERS

Just add ML.jar to your build path, and you're done! Useful methods:

  • Extending MooLibPlugin if you are lazy about your enables/disables.
  • Using TextUtils.chatToConsole makes chat code transform to console code. No more Control+Escape!
Oh no! What did I do?
  • Did you use TextUtils.spamChatForever?

Example of using code:

public void onPlayerMove(PlayerMoveEvent evt){

    Player player = evt.getPlayer();
    // The event's player

    String displayName = player.getDisplayName();
    // Display name of player (e.g. Notch)

    String consoleMsg = TextUtils.chatToConsole(ChatColor.RED+"Player "
            +ChatColor.GREEN+displayName+ChatColor.RED+" moved."
    // Changes chat colors to console colors

    MooLibPlugin.infoLog(consoleMsg);
    // Prints out consoleMsg

}

Will print:

  • [MooLib] [RED]Player [GREEN](display name) [RED]moved.

Plugins using MooLib

Donate

I have no donate button, but you can comment with your happiness. Do I even need a donate button?

MooLib 1.0.2
MC CB 1.7.9-R0.2
Release 2014-08-02 Get
MooLib 1.0
MC 1.7.2
Release 2014-06-06 Get

More from tsun_bug

Leashed Players
4,812
Firework Projectiles
4,171

You Might Also Like

WorldGuard Custom Flags
WorldGuard Custom Flags
97,851
HoloAPI
Advanced and powerful holographic displays
93,959
Minequery
Minequery
91,099
SQLibrary
SQLibrary aims to streamline driver wrappers in Java for every database engine
85,675
WolfyUtilities
Utils and APIs: Config, Language and Inventory API, Protection Utils: WorldGuard, LWC, PlotSquared
84,728
DisguiseTester
Experiment with disguises!
9,677