Speedgot
★ CrockSkyblock | Survival to an island in the sky | 1.8 ★
-----
SkyBlock game mode plugin, island survival
Download Now
146.8 KB .jar
Overview
Updates (
--
)
Reviews (
---
)
Version History
Discussion
The project is under development, there may be errors and shortcomings, please report them.
Default language:
RU
Permissions
skyblock.admin - Access to command /island admin & /island schematic
Commands
/island create - Create an island
/island delete - Delete your island
/island accept <name> - To accept an invite
/island visit <name> - Visit the player's island
/island leave - Leave the island
/island home - Teleport to the island
/island settings - Open the island settings menu
/island invite <name> - Invite a player to the island
/island kick <name> - Kick a player off the island
/island promote <name> - Changes the rank of a player from member to moderator
/island demote <name> - Changes the rank of a player from moderator to member
/island sethome - Сhange the spawn point on the island
/island admin reload - Reload plugin
/island admin delete - Delete the island you are standing on
/island admin teleport <index> - Teleport to the island
/island admin setspawn - Change the spawn location
/island admin stats - Islands statistics
/island schematic pos1 - Set the first point of the region
/island schematic pos2 - Set the second point of the region
/island schematic save <name> - Save schematic
/island schematic paste <name> - Set a schematic at your location
/island schematic undo - Remove the last pasted location
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
The project will be finalized, suggest your ideas, I will implement good ones
DISCORD
GITHUB
View on SpigotMC
Resource Information
Author:
----------
Total Downloads:
89
First Release:
Jul 11, 2021
Last Update:
Jul 11, 2021
Category:
---------------
All-Time Rating:
0 ratings
Version
-----
Released:
--------------------
Downloads:
------
Version Rating:
----------------------
--
ratings