- This is like notes on what I need to remember for going from the Bukkit API to Nukkit.
Nukkit - All classes
Nukkit - Overview
package raza.$chatmotd;
import java.io.*;
import java.nio.file.*;
import java.util.*;
import org.bukkit.*;
import org.bukkit.command.*;
import org.bukkit.event.*;
import org.bukkit.plugin.java.*;
-->
package raza.$chatmotd;
import java.io.*;
import java.nio.file.*;
import java.util.*;
import cn.nukkit.*;
import cn.nukkit.command.*;
import cn.nukkit.event.*;
import cn.nukkit.plugin.*;
import cn.nukkit.plugin.PluginBase;
import cn.nukkit.Player;
import cn.nukkit.Server;
import cn.nukkit.utils.*;
public class PluginMain extends JavaPlugin implements Listener
--> public class PluginMain extends PluginBase implements Listener
- In
plugin.yml
, changeapi-version
toapi
.