Adding Plugins
Learn how to add and configure Bukkit plugins on your Magma server
Adding Bukkit Plugins to Magma
One of Magma's major advantages is its ability to run Bukkit plugins alongside NeoForge mods. This guide will show you how to add and manage Bukkit plugins on your Magma server.
Understanding Plugin Compatibility
Before adding plugins, it's important to understand:
- Magma supports Bukkit, Spigot, and Paper plugins
- Plugins must be compatible with your Minecraft version
- Some plugins may conflict with certain mods or other plugins
Finding Compatible Plugins
Good sources for Bukkit plugins include:
Always check that the plugin:
- Supports your exact Minecraft version
- Is designed for Bukkit/Spigot (Paper plugins usually work too)
- Has received recent updates or is confirmed working with current versions
Installing Plugins
Basic Installation
- Download the plugin's
.jar
file - Stop your Magma server if it's running
- Place the
.jar
file in theplugins
folder in your server directory - Start your server
Example terminal commands:
First-Time Plugin Setup
When you add a plugin for the first time:
- The plugin will create its configuration files in the
plugins/<PluginName>
directory - Review the plugin's configuration files
- Make any necessary adjustments
- Use plugin commands to complete setup (if required)
Plugin Configuration
Most plugins create a configuration folder with files in the plugins
directory:
Editing Configuration Files
To configure a plugin:
- Stop your server (recommended for important configs)
- Edit the configuration files with a text editor
- Start your server again
Most plugins use YAML (.yml) format for configuration. Make sure to:
- Maintain proper indentation
- Don't use tabs (use spaces instead)
- Keep the same formatting structure
In-Game Configuration
Many plugins also offer in-game configuration through commands:
Essential Plugin Categories
Here are some essential plugin categories for most servers:
Administration Plugins
- Permission Management: LuckPerms, PermissionsEx
- Moderation Tools: EssentialsX, CoreProtect
- Anti-Cheat: NoCheatPlus, Matrix
Gameplay Enhancement
- Economy: Vault, EssentialsX
- Land Protection: GriefPrevention, Towny, WorldGuard
- Custom Commands: EssentialsX, CommandPanels
Performance and Utility
- Optimization: ClearLag, Chunky
- Backups: DriveBackupV2
- Monitoring: Spark, Plan
Managing Plugin Dependencies
Some plugins require other plugins to function. Common dependencies include:
- Vault: API for economy, permissions, and chat
- ProtocolLib: Library for packet manipulation
- PlaceholderAPI: Framework for text variables and placeholders
When a plugin requires a dependency, you'll see errors in your server logs if it's missing. Install the dependency plugin just like any other plugin.
Updating Plugins
To update plugins:
- Stop your server
- Backup your server files (especially the
plugins
folder) - Remove the old plugin
.jar
file - Add the new plugin
.jar
file - Start your server
- Check logs for any issues
Configuration After Updates
After updating a plugin:
- Check if the configuration format has changed
- Look for any new configuration options
- Use the plugin's reload command if available (e.g.,
/pluginname reload
)
Troubleshooting Common Issues
Plugin Not Loading
If a plugin isn't loading, check:
- Server logs for error messages
- If the plugin is for the correct Minecraft version
- If all required dependencies are installed
Commands Not Working
If plugin commands aren't working:
- Check if the plugin is properly enabled (
/plugins
command) - Verify the command syntax
- Ensure you have the correct permissions
Plugin Conflicts
If plugins conflict with each other or with mods:
- Check logs for error messages
- Try disabling plugins one by one to identify the conflict
- Look for alternative plugins that provide similar functionality
- Check the plugin's documentation or support channels for known issues
Advanced: Plugin Management
For servers with many plugins, consider these management practices:
Organized Plugin Structure
Create a clear organizational structure:
- Group related plugins (economy, protection, utilities)
- Document dependencies
- Keep a spreadsheet of plugins, versions, and configurations
Using Plugin Managers
Some meta-plugins can help manage your plugin ecosystem:
- PlugMan: Enables reloading plugins without server restarts
- ServerUtils: Provides advanced server and plugin management
Creating Custom Plugin Packs
For consistent server deployments:
- Create a standardized set of plugins
- Maintain configuration templates
- Use scripts to deploy and configure plugins automatically
Next Steps
After adding plugins to your server, you might want to:
- Configure your server for optimal performance
- Add mods to enhance gameplay further
- Optimize your server for better performance with plugins