BG-Software
  • Welcome to BG-Software
  • WildInspect
    • Overview
    • Source Code
    • Issues Tracker
    • Download
  • WildBuster
    • Overview
      • Commands and Permissions
    • Source Code
    • Issues Tracker
    • Download
  • WildStacker
    • Overview
      • Commands and Permissions
      • Items Stacker
      • Entities Stacker
        • Loot Tables
        • Linked Entities
      • Spawners Stacker
        • Spawners Override
          • Spawn Conditions
        • Spawner Upgrades
      • Blocks Stacker
    • Source Code
    • Issues Tracker
    • Download
  • WildTools
    • Overview
      • Commands and Permissions
      • Configuring Tools
      • Builder Tool
      • Cannon Tool
      • Crafting Tool
      • Crowbar Tool
      • Cuboid Tool
      • Drain Tool
      • Harvester Tool
      • Ice Tool
      • Lightning Tool
      • Magnet Tool
      • Pillar Tool
      • Sell Tool
      • Sort Tool
    • Source Code
    • Issues Tracker
    • Download
  • WildChests
    • Overview
      • Commands and Permissions
      • Configuring Chests
      • Linked Chests
      • Regular Chests
      • Storage Units
    • Source Code
    • Issues Tracker
    • Download
  • WildLoaders
    • Overview
      • Commands and Permissions
    • Source Code
    • Issues Tracker
    • Download
  • SuperiorSkyblock
    • Overview
      • Commands and Permissions
        • Player Commands
        • Admin Commands
        • Permissions
      • Placeholders
        • Global Placeholders
        • Island Placeholders
        • Player Placeholders
        • Chat Placeholders
      • Configuration Files
      • Messages
      • Island Flags
      • Island Privileges
      • Schematics
      • Upgrades
        • Island Multipliers
      • Menus
        • Bank Logs Menu
        • Biomes Menu
      • Missions
        • BlocksMissions
        • BrewingMissions
        • CraftingMissions
        • EnchantingMissions
        • FarmingMissions
        • FishingMissions
        • IslandMissions
        • ItemsMissions
        • KillsMissions
        • StatisticsMissions
      • Javascript Engine
      • Custom Blocks
      • API
        • Register your own command
        • Register your own block-keys
      • Addons
        • SSBOneBlock
        • SSBProxyBridge
    • Source Code
    • Issues Tracker
    • Download
Powered by GitBook
On this page

Was this helpful?

  1. SuperiorSkyblock
  2. Overview

API

PreviousCustom BlocksNextRegister your own command

Last updated 3 years ago

Was this helpful?

SuperiorSkyblock provides a powerful API, so you can make your own custom modules to the plugin, change behavior of the plugin, register custom commands and more! You can find the javadocs of the API .

Basic Usage

All of the API methods can be accessed via the class. The API contains lots of objects that are used as method parameters, and here I'll cover some of them:

This object is used as a warpper to the known player objects of the Bukkit's API. It contains data about the player, states of modes (fly mode etc) and more. You can retrieve the object using SuperiorSkyblockAPI.getPlayer(<UUID>). This object is used to cache data about the islands on your server. Members, banned list, multipliers, upgrades and all of the other data is stored in this object. You can get the Island of a player by using SuperiorPlayer#getIsland(). If you want to get an Island in a specific location, you can use SuperiorSkyblockAPI.getGrid().getIslandAt(<Location>). The grid manager object handles all the islands on your server. If you want to interact with islands, get them from the top list or anything related to that, you should use this object.

Do not use methods that the Island object has (for example, the deleteIsland method), as it should only be used by the Island object itself.

here
SuperiorSkyblockAPI
SuperiorPlayer
Island
GridManager