Transfert plugin on sponge

Can someone help with the transfer of the plugin? I need to replace the dependencies of bukkit on the sponge dependency. I can not compare them. Source code - link.
The page of my plugin on spigot - link.
List of used dependencies.
org.bukkit.Bukkit
org.bukkit.ChatColor
org.bukkit.Material
org.bukkit.command.Command
org.bukkit.command.CommandExecutor
org.bukkit.command.CommandSender
org.bukkit.entity.Player
org.bukkit.GameMode
org.bukkit.block.Block
org.bukkit.block.Chest
org.bukkit.potion.Potion
org.bukkit.potion.PotionType
org.bukkit.enchantments.Enchantment
org.bukkit.entity.Player
org.bukkit.event.EventHandler
org.bukkit.event.Listener
org.bukkit.event.block.Action
org.bukkit.event.block.BlockBreakEvent
org.bukkit.event.inventory.InventoryCloseEvent
org.bukkit.event.inventory.InventoryType
org.bukkit.event.player.PlayerInteractEvent
org.bukkit.inventory.Inventory
org.bukkit.inventory.ItemStack
org.bukkit.inventory.meta.ItemMeta
org.bukkit.inventory.meta.SkullMeta
org.bukkit.plugin.PluginManager
org.bukkit.plugin.java.JavaPlugin
org.bukkit.configuration.file.YamlConfiguration
org.bukkit.scheduler.BukkitTask

I apologize for my english, I used google translator.

1 Like

It is not simply done with replacing dependencies. Sponge is an entirely different system than Bukkit. First, please read the docs, then come back to ask questions.

1 Like

Thanks for the advice.

Can i also just say that Bukkit and Sponge are diffrent. But you will find similar parts. Such as Bukkit.getServer() in sponge is Sponge.getServer().

When i was porting (another word for transfering software from one platform to another) my plugins. I found it easiest to go method by method and redoing the whole method. Instead of converting it line by line.