Skip to content

Commit 9ac731b

Browse files
author
CoolePizza
committed
first commit: video version + refactoring
0 parents  commit 9ac731b

12 files changed

Lines changed: 429 additions & 0 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
build
2+
.gradle
3+
.idea

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Craftattack spawn elytra
2+
Source code of [my video](https://www.youtube.com/watch?v=S9f_mFiYT50).
3+
4+
Spigotmc Page: https://www.spigotmc.org/resources/spawnelytra.97565/

build.gradle.kts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
plugins {
2+
java
3+
}
4+
5+
group = "de.coolepizza"
6+
version = "1.1"
7+
8+
repositories {
9+
mavenCentral()
10+
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
11+
}
12+
13+
dependencies {
14+
compileOnly("org.spigotmc:spigot-api:1.17-R0.1-SNAPSHOT")
15+
}

gradle/wrapper/gradle-wrapper.jar

58.1 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

gradlew

Lines changed: 185 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 89 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

settings.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
rootProject.name = "craftattack"
2+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package de.coolepizza.craftattack;
2+
3+
import de.coolepizza.craftattack.listener.SpawnBoostListener;
4+
import org.bukkit.plugin.java.JavaPlugin;
5+
6+
public class CraftAttackSpawnBoost extends JavaPlugin {
7+
8+
@Override
9+
public void onEnable() {
10+
saveDefaultConfig();
11+
getServer().getPluginManager().registerEvents(new SpawnBoostListener(this), this);
12+
}
13+
14+
}

0 commit comments

Comments
 (0)