Skip to content

Development

Silvestri, Javier edited this page Jan 12, 2024 · 1 revision

If you're interested in contributing to the development of HologramPlugin, follow these steps:

Prerequisites

Make sure you have the following tools installed on your system:

  • Java Development Kit (JDK): Install the v21.0.1 JDK to compile and run Java code.
  • Maven: Install Maven, a build automation tool, to manage the project's build process.

Compilation and Deployment

To compile and deploy the plugin during development, use the provided script ./ex.sh with the following commands:

# Maven Build
mvn clean install

# Display the contents of the JAR file
jar tf ./target/hologramplugin-1.0.0-SNAPSHOT.jar

# Update the plugin.yml file in the JAR
jar uf ./target/hologramplugin-1.0.0-SNAPSHOT.jar ./plugin.yml

This script assumes that you are running it from the plugin's root directory. Customize paths and configurations according to your development environment.

Feel free to modify the script or adapt the process based on your preferences and development workflow. Happy coding!

Clone this wiki locally