Home›Java›Mods›★ CrockSkyblock | Survival to an island in the sky | 1.8 ★
★ CrockSkyblock | Survival to an island in the sky   | 1.8 ★
ModsJava

★ CrockSkyblock | Survival to an island in the sky | 1.8 ★

Java mod listed for Minecraft 1.8. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
CSB.jpg

The project is under development, there may be errors and shortcomings, please report them.​

Default language: RU

features.jpg ​
Permissions
Commands


Spoiler: Example API
Code (Java):

import org.bukkit.* ;
import org.bukkit.event.* ;
import org.bukkit.event.player.PlayerJoinEvent ;
import org.bukkit.plugin.Plugin ;
import org.bukkit.plugin.java.JavaPlugin ;
import vk.com.korne3v.skyblock.api.island.* ;
import vk.com.korne3v.skyblock.api.events.* ;

public final class ExamplePlugin extends JavaPlugin implements Listener {

    @Override
    public void onEnable ( ) {
        Bukkit. getPluginManager ( ). registerEvents ( this, this ) ;
    }

    @Override
    public void onDisable ( ) {
        HandlerList. unregisterAll ( (Plugin ) this ) ;
    }

    @EventHandler
    public void onJoin (PlayerJoinEvent event ) {

        // Get island
        Island island = SkyblockAPI. getIsland (event. getPlayer ( ) ) ;

        // Check island
        if (island != null ) {

            event. getPlayer ( ). sendMessage (ChatColor. GREEN + "You have an island :)" ) ;

            // Get rank
            MemberRank rank = island. getMembers ( ). get (event. getPlayer ( ). getName ( ) ) ;
            switch (rank ) {
                case DEFAULT :
                    event. getPlayer ( ). sendMessage (ChatColor. GRAY + "You are a member! " ) ;
                    break ;
                case MODER :
                    event. getPlayer ( ). sendMessage (ChatColor. GRAY + "You are a moderator! " ) ;
                    break ;
                case OWNER :
                    event. getPlayer ( ). sendMessage (ChatColor. GRAY + "You are a owner! " ) ;
                    break ;
            }

            // Change rank
            island. getMembers ( ). put (event. getPlayer ( ). getName ( ), MemberRank. MODER ) ;

        } else {
            event. getPlayer ( ). sendMessage (ChatColor. RED + "You don't have an island :(" ) ;
        }

    }

    // You can view all events here: https://github.com/korne3v/crockskyblock/blob/main/api/events
    @EventHandler
    public void onCreate (IslandCreateEvent event ) {

        Location home = event. getIsland ( ). getHome ( ) ;

        home. getWorld ( ). playEffect (home, Effect. HEART, 0 ) ;
        home. getWorld ( ). playSound (home, Sound. LEVEL_UP, 1F, 0F ) ;

    }

}
 

Spoiler: The next updates will include
  • Fix bugs and errors
  • Support for more versions
  • Scoreboard
  • Create nether and end island
  • Create island schematic selection menu
  • Island creation animation
  • Add more events to API

BUG.jpg ​

The project will be finalized, suggest your ideas, I will implement good ones :)

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

★ CrockSkyblock | Survival to an island in the sky | 1.8 ★ is a free Minecraft Java mod. Compatible with Minecraft 1.8. Downloaded 94 times (via Spigot). Download it and open it directly in the game.

Explore more