feat: blank plugin

This commit is contained in:
Laureηt 2022-05-13 09:17:55 +02:00
commit e1f059c93d
No known key found for this signature in database
GPG key ID: D88C6B294FD40994
6 changed files with 63 additions and 0 deletions

5
.gitignore vendored Normal file
View file

@ -0,0 +1,5 @@
bin/
build/
.gradle/
minecraft-server-volume/

5
.vscode/settings.json vendored Normal file
View 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
View 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
View 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

View 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() {
}
}

View 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 !