feat: blank plugin
This commit is contained in:
commit
e1f059c93d
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
bin/
|
||||
build/
|
||||
.gradle/
|
||||
|
||||
minecraft-server-volume/
|
5
.vscode/settings.json
vendored
Normal file
5
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"yaml.schemas": {
|
||||
"https://json.schemastore.org/bukkit-plugin.json": "file:///home/laurent/Documents/Cours/ENSEEIHT/S8%20-%20Mod%C3%A9lisation%20G%C3%A9om%C3%A9trique/proj/src/main/resources/plugin.yml"
|
||||
}
|
||||
}
|
17
build.gradle
Normal file
17
build.gradle
Normal file
|
@ -0,0 +1,17 @@
|
|||
plugins {
|
||||
id 'java'
|
||||
}
|
||||
|
||||
group 'spigot.gradle.project'
|
||||
version '1.0.0'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
|
||||
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
|
||||
compileOnly 'org.spigotmc:spigot-api:1.18.2-R0.1-SNAPSHOT'
|
||||
}
|
15
docker-compose.yml
Normal file
15
docker-compose.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
version: "3.9"
|
||||
|
||||
services:
|
||||
minecraft:
|
||||
image: "marctv/minecraft-papermc-server"
|
||||
container_name: "mcserver"
|
||||
environment:
|
||||
MEMORYSIZE: "1G"
|
||||
volumes:
|
||||
- "./minecraft-server-volume:/data:rw"
|
||||
ports:
|
||||
- "25565:25565"
|
||||
# The following allow `docker attach minecraft` to work
|
||||
stdin_open: true
|
||||
tty: true
|
15
src/main/java/com/tocard/minecam/Camera.java
Normal file
15
src/main/java/com/tocard/minecam/Camera.java
Normal file
|
@ -0,0 +1,15 @@
|
|||
package com.tocard.minecam;
|
||||
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
public class Camera extends JavaPlugin {
|
||||
@Override
|
||||
public void onEnable() {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDisable() {
|
||||
|
||||
}
|
||||
}
|
6
src/main/resources/plugin.yml
Normal file
6
src/main/resources/plugin.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
name: TocardCam # the plugins name as it should appear in the plugin list /pl
|
||||
main: com.tocard.minecam.Camera
|
||||
version: "1.0" # the plugin's version
|
||||
api-version: "1.18" # the version of the API you want to use, required starting with 1.13
|
||||
author: Turbo Tocard
|
||||
description: This plugin is so fucking lit !
|
Loading…
Reference in a new issue