aljamil_90

Create a /home set plugin

Kodari AI
KodariJul 4 at 2:35 pm 1

I’ll create a home management plugin with /home set, /home, /home list, and /home delete commands.

HomePlugin
A home management plugin that allows players to set multiple homes and teleport between them. Features include permission-based home limits, configurable teleport warmup with movement cancellation, and YAML-based persistent storage. Supports named homes, home listing, and deletion. Admins can configure max homes globally and per-permission-node.
aljamil_90

Set home for 6 elite rank

Kodari AI
KodariJul 4 at 2:38 pm 1
aljamil_90

Time travel

Kodari AI
KodariJul 4 at 2:38 pm 1

What would you like to build or modify? Happy to help with another plugin, a feature addition, or anything else.

aljamil_90

এরকম একটা প্লাগিং বানিয়ে দাও যে টাইম টেবিল করা যায়

Kodari AI
KodariJul 4 at 2:39 pm 1
Kodari can make mistakes. Review important code before using.
Files
src
Code
6 468
src/main/java/com/homeplugin/HomePlugin.java
package com.homeplugin;

import com.homeplugin.commands.HomeCommand;
import org.bukkit.plugin.java.JavaPlugin;

public class HomePlugin extends JavaPlugin {

    private HomeManager homeManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        homeManager = new HomeManager(this);
        homeManager.loadHomes();

        HomeCommand homeCommand = new HomeCommand(this, homeManager);
        getCommand("home").setExecutor(homeCommand);
        getCommand("home").setTabCompleter(homeCommand);

        getLogger().info("HomePlugin enabled.");
    }

    @Override
    public void onDisable() {
        if (homeManager != null) {
            homeManager.saveHomes();
        }
        getLogger().info("HomePlugin disabled.");
    }

    public HomeManager getHomeManager() {
        return homeManager;
    }
}