Search results

  1. MkdirGit

    Question register CommandExecutor class to my main class in paper-plugin.yml

    Hello visitor, today i tried to register class that implements CommandExecutor ( aka command class ) to my main class, but because i'm developing in 1.20 paper plugin with paper-plugin.yml . Iv'e been stuck for a LOT of time. Please help. Command Class: package my.not.working.command; import...
  2. MkdirGit

    Solved How to use getConfig() not from the main class? (event listeners classes)

    I'm stuck with getConfig() on listeners class. how to fix this? package example.example_for_u.JoinEvent; import org.bukkit.Bukkit; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.Listener; import...
  3. MkdirGit

    Question how to display title to player?

    Hello visitor, i'm trying to create login system plugin for 1.20 paper server, so as a start i'm trying to display in the title "welcome to the server!" . (after a subtitle "run /register <password> <password>") this is my code: @EventHandler(priority = EventPriority.HIGHEST) public...
  4. MkdirGit

    Question i'm trying to create config.yml to my plugin

    I had a bit of issue with trying to put my config.yml in the plugin folder, wait, how to create for the plugin folder? I would like to get basic help / template to look on.