Mineuniverse
Plugins
MooLib

MooLib

PLUGIN
A library that I will use for all my plugins.
by tsun_bug
Download Claim this project
1,713 downloads
0 likes
0 followers
Updated Oct 14, 2026
0 hypes
Follow0
Developer Tools
Advertisement Remove ads with Premium →

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

Advertisement Remove ads with Premium →

You Might Also Like