Plugin startup help needed!

  • Thread starter Thread starter /u/Dogeguy975
  • Start date Start date
U

/u/Dogeguy975

Guest
I am a beginner programmer working on a paper plugin for the first time, but there are many problems with it that the official docs, AI assistance and YT tutorials have gotten me nowhere. My plugin's name is a2 because I was not creative enough to think of a good name. My current main file looks like this:

package org.a2;

import org.bukkit.plugin.java.JavaPlugin;

public class main extends JavaPlugin {

att Override

public void onEnable() {

getLogger().info("Plugin has been enabled!");

}

att Override

public void onDisable() {

getLogger().info("Plugin has been disabled!");

}

}

And my plugin.yml file looks like this:

name: a2

version: 1.0

main: org.a2.main

api-version: '1.21'

description: A basic paper plugin

author: me

Other info;

JDK version: 21

mc version: 1.21.11

Any help is appreciated.

submitted by /u/Dogeguy975
[link] [comments]

Continue reading...
 
Back
Top