Complete Guide to Launching a Purpur Server with Land Management Plugins
The Purpur server is an enhanced alternative to Spigot, offering optimized performance and extensive customization for Minecraft servers. In this guide, we will explore how to launch a Purpur server with land management plugins, allowing you to create and manage secure areas in the game.
Prerequisites
Before you begin, make sure you have the following:
- A dedicated server or VPS with Java installed.
- SSH access for Unix systems or a management interface for Windows.
- Basic knowledge of Minecraft server management.
Downloading Purpur
The first step is to download the Purpur server. You can do this by visiting the official Purpur website and selecting the desired version.
wget https://purpurmc.org/downloads/latest/purpur-.jar
Replace <version> with the specific version number you want. Once the file is downloaded, move it to a dedicated directory for the server.
Configuring the Purpur Server
Creating the Environment
Create a directory for your server and place the downloaded .jar file there:
mkdir ~/purpur-server
mv purpur-.jar ~/purpur-server/
Creating the Launch Script
To simplify starting the server, create a launch script. Create a file start.sh in the server directory:
nano ~/purpur-server/start.sh
Add the following content to launch the server:
#!/bin/bash
java -Xms1G -Xmx2G -jar purpur-.jar nogui
Be sure to adjust the memory values -Xms and -Xmx according to your server's resources.
Making the Script Executable
Before you can run the script, you need to make it executable:
chmod +x ~/purpur-server/start.sh
Starting the Server
You can now start the server by executing the script:
cd ~/purpur-server
./start.sh
The first time you launch the server, it will generate the necessary configuration files. You will need to accept the EULA by modifying the eula.txt file:
nano eula.txt
Change false to true to accept the EULA.
Installing Land Management Plugins
To add land management plugins, you first need to download the desired plugins. Some popular plugins include:
- GriefPrevention - Allows players to claim land.
- Factions - Enables the creation of factions and territory control.
- Towny - City and territory management tool.
Downloading Plugins
Visit resource sites like SpigotMC or CurseForge to download the .jar files of the plugins.
wget https://url_du_plugin.jar
Installing Plugins
Place the plugin .jar file in the plugins folder of your server:
mv plugin.jar ~/purpur-server/plugins/
Configuring Plugins
After downloading and installing the plugins, restart your server for the plugins to load. Then, configure each plugin by modifying their configuration files located in the plugins folder.
Configuring GriefPrevention
Here is a basic configuration example for the GriefPrevention plugin:
<GriefPrevention>
<MaxClaimSize>1000</MaxClaimSize>
<ClaimBlocksPerVote>10</ClaimBlocksPerVote>
</GriefPrevention>
After modifying the configuration file, restart the server to apply the changes.
Managing Permissions
To manage permissions on your server, you will need a plugin like LuckPerms. Install it in the same way as the other plugins, then configure permissions for different player groups.
Installing LuckPerms
wget https://url_du_plugin_luckperms.jar
mv luckperms.jar ~/purpur-server/plugins/
Configuring Permissions
LuckPerms uses a command-based configuration system. Here are some command examples to create a group and assign permissions:
/lp creategroup player
/lp group player permission griefprevention.claim
/lp group player permission griefprevention.use
Conclusion
Launching a Purpur server with land management plugins allows you to create a secure and structured gaming environment. By following this guide, you will be able to set up your server, install plugins, and manage permissions effectively. Don't forget to check the documentation for each plugin to get the most out of them.