Ninjaeslammiss

fix my D:\FSMP\PLUGINS\FSMPPlayer>gradle build Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details

FAILURE: Build failed with an exception.

* Where:

Build file 'D:\FSMP\PLUGINS\FSMPPlayer\build.gradle' line: 8

* What went wrong:

A problem occurred evaluating root project 'FSMPPlayer'. > Could not set unknown property 'sourceCompatibility' for root project 'FSMPPlayer' of type org.gradle.api.Project.

* Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights from a Build Scan (powered by Develocity). > Get more help at https://help.gradle.org.

BUILD FAILED in 1m 18s

D:\FSMP\PLUGINS\FSMPPlayer> its not building fix it i just want it to work do anything even remove something do not remove a command

Ninjaeslammiss

fix my D:\FSMP\PLUGINS\FSMPPlayer>gradle build Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details

FAILURE: Build failed with an exception.

* Where:

Build file 'D:\FSMP\PLUGINS\FSMPPlayer\build.gradle' line: 8

* What went wrong:

A problem occurred evaluating root project 'FSMPPlayer'. > Could not set unknown property 'sourceCompatibility' for root project 'FSMPPlayer' of type org.gradle.api.Project.

* Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights from a Build Scan (powered by Develocity). > Get more help at https://help.gradle.org.

BUILD FAILED in 1m 18s

D:\FSMP\PLUGINS\FSMPPlayer> its not building fix it i just want it to work do anything even remove something do not remove a command

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
14 1,134
src/main/java/com/fsmpplayer/FSMPPlayerPlugin.java
package com.fsmpplayer;

import com.fsmpplayer.commands.MoveCommand;
import com.fsmpplayer.commands.PlayerCommand;
import com.fsmpplayer.commands.WandCommand;
import com.fsmpplayer.listeners.WandListener;
import com.fsmpplayer.managers.FakePlayerManager;
import com.fsmpplayer.managers.MovementManager;
import com.fsmpplayer.managers.RegionManager;
import com.fsmpplayer.managers.WandManager;
import org.bukkit.plugin.java.JavaPlugin;

public class FSMPPlayerPlugin extends JavaPlugin {

    private WandManager wandManager;
    private RegionManager regionManager;
    private FakePlayerManager fakePlayerManager;
    private MovementManager movementManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();

        this.wandManager = new WandManager(this);
        this.regionManager = new RegionManager(this);
        this.movementManager = new MovementManager(this);
        this.fakePlayerManager = new FakePlayerManager(this);

        getServer().getPluginManager().registerEvents(new WandListener(this), this);

        getCommand("fsmpwand").setExecutor(new WandCommand(this));
        getCommand("fsmpplayer").setExecutor(new PlayerCommand(this));
        getCommand("fsmpmove").setExecutor(new MoveCommand(this));

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

    @Override
    public void onDisable() {
        if (movementManager != null) movementManager.stopAll();
        getLogger().info("FSMPPlayer disabled.");
    }

    public WandManager getWandManager() { return wandManager; }
    public RegionManager getRegionManager() { return regionManager; }
    public FakePlayerManager getFakePlayerManager() { return fakePlayerManager; }
    public MovementManager getMovementManager() { return movementManager; }
}