MCCore Plugin (1.12.2) – Bukkit, Spigot, Paper
MCCore Plugin (1.12.2) is an attempt to provide a foundation for several aspects of bukkit plugin development to help new coders get started more easily, provide a framework for new plugins (or old ones that decide to convert) to be more compatible, and just in general provide many tools to speed up the development process. This plugin acts as a library for many different functions so that people can avoid coding the same things over again, and possibly do some things they didn’t think were possible.
Scoreboard
- Many scoreboards can be registered at once
- Scoreboards can optionally cycle through all registered ones or be chosen via a command (controlled by players)
- There are new types of scoreboards provided that give easy functionality:
StatBoard
- Automatically updating stats
- A one-method interface provided allows you to turn your player data into something that can be used with this scoreboard!
TextBoard
- Easily display lines of text on the scoreboard (You don’t need to worry about length requirements, it wraps it automatically)
- Option to automatically divide up messages
Chat Management
- Ability to have many plugins providing prefixes without conflict
- Can have colorful display names and many prefixes
Plugin Prefixes
- Applied in code only
- One prefix per plugin name
- Great way to apply important prefixes without conflicting with other plugins
Unlockable Prefixes
- Can have an unlimited amount (more or less)
- Players get to choose which one they want showing and change whenever
Display Names
- Color support via the ampersand character ‘&’
- Command requiring permissions so you control who uses it
Command Tools
- Simple, flexible system for setting up commands
- Can make as many levels to your commands as you want (e.g. /root, sub1 sub2 sub3 args)
- Commands using ConfigurableCommand are automatically configurable for users
- Configuration includes enabling/disabling commands, changing the command names, and changing the descriptions
- Commands are automatically arranged into pages for command usage
- Text buttons for switching between pages is included for versions 1.7.9 and later!
Config
- Has the basic implementation from the Bukkit tutorial included
- Added the ability to create configs in new folders
- Added the ability to add savable objects to them for easy saving
- Configs obtained through the MCCore method automatically save on disable!
Commands
Scoreboard Commands
- /board – Displays usage for scoreboard commands
- /board cycle – Enables scoreboard cycling
- /board list – Shows a list of all active boards
- /board show <boardName> – Switches to the board with the given name
- /board stop – Stops scoreboard cycling
Chat Commands
- /chat list – Displays a list of unlocked prefixes
- /chat name <displayName> – Sets display name (colors via ‘&’ are supported)
- /chat prefix <prefixName> – Sets the prefix as the displayed one
- /chat reset – Resets display name
Permissions
- core.* – all privileges
- core.board – all permissions for scoreboards
- core.board.cycle – board cycle command (default true)
- core.board.list – board list command (default true)
- core.board.show – board show command (default true)
- core.board.stop – board stop command (default true)
- core.chat – all permissions for chat
- core.chat.list – chat list command (default true)
- core.chat.name – chat name command (default op)
- core.chat.prefix – chat prefix command (default true)
Images
Command Usage
Default Command Usage example
TextBoard Example
This is an in-game example of a TextBoard with automatic separator lines
Usage Player
Default command usage for a player
Usage Console
Default command usage for the console
Screenshots:
How to install:
- Download a plugin of your choice.
- Place the .jar and any other files in your plugins directory.
- Run the server and wait for it to fully load.
- Type stop in your Minecraft server console to bring the server to a clean stop.
- Run the server.
- All done! Your plugin should be installed and ready to be used.