Development Guide
This guide is for developers who want to contribute to our plugin or build extensions using our API.
Setting Up the Development Environment
Prerequisites
Before you begin, make sure you have:
- Java Development Kit (JDK) 8 or higher
- Git
- Maven or Gradle
- An IDE (IntelliJ IDEA, Eclipse, or VS Code)
Getting Started
- Clone the repository:
git clone https://github.com/Parsa3323/AdvancedArmorStands.git
cd AdvancedArmorStands
- Set up the project in your IDE:
IntelliJ IDEA:
- Open IntelliJ IDEA
- Select "Open"
- Navigate to the cloned repository
- Select the
pom.xml
file and open as project
Eclipse:
- Open Eclipse
- Select "Import"
- Choose "Existing Maven Projects"
- Navigate to the cloned repository
- Select the
pom.xml
file
- Build the project:
Maven:
mvn clean package
Gradle:
./gradlew clean build
The compiled JAR file will be in the target/
directory (Maven) or build/libs/
directory (Gradle).
Project Structure
AdvancedArmorStands/
├── .github/
│ ├── CODE_OF_CONDUCT.md
│ ├── ISSUE_TEMPLATE/
│ │ ├── bug_report.yml
│ │ └── config.yml
│ └── workflows/
│ └── test.yml
├── .gitignore
├── armorstand-api/
│ ├── pom.xml
│ └── src/
│ └── main/
│ ├── java/
│ │ └── com/
│ │ └── parsa3323/
│ │ └── aas/
│ │ └── api/
│ │ ├── actions/
│ │ │ ├── SenderType.java
│ │ │ └── TriggerType.java
│ │ ├── ArmorstandApi.java
│ │ ├── events/
│ │ │ ├── ActionTriggerEvent.java
│ │ │ ├── ArmorStandCreateEvent.java