HomeJavaModsSkyPetBoundaryBridge
SkyPetBoundaryBridge
ModsJava

SkyPetBoundaryBridge

SkyPetBoundaryBridge is an independent compatibility plugin

⬇ Download on Spigot

SkyPetBoundaryBridge

SuperiorSkyblock2 + SimplePets Boundary Protection

Prevent players from escaping Skyblock islands by riding SimplePets.

A lightweight compatibility bridge designed to stop mounted pets
from being used to travel through the void or reach other islands.

LIGHTWEIGHT
CONFIGURABLE
ANTI-EXPLOIT


ABOUT

SkyPetBoundaryBridge is a small compatibility plugin between
SuperiorSkyblock2 and SimplePets.

Some rideable pets can move players independently from the normal player
movement protections used by Skyblock plugins.

This can allow players to:


SkyPetBoundaryBridge solves this by directly checking the location of the
mounted pet against SuperiorSkyblock2's island system.


HOW IT WORKS

When a player is riding a SimplePets pet, the plugin performs the following checks:

Code (Text):
Player is mounted
      |
      v
Is the mount inside a SuperiorSkyblock2 island world?
      |
     YES
      |
      v
Is the vehicle a SimplePets pet?
      |
     YES
      |
      v
Does SuperiorSkyblock2 detect an island at this location?
      |
     NO
      |
      v
Boundary violation detected
      |
      +--> Dismount player
      |
      +--> Return player to the last valid island position
      |
      +--> Optionally despawn the ridden pet
Outside SuperiorSkyblock2 island worlds, the plugin does absolutely nothing.


FEATURES



ANTI-EXPLOIT PROTECTION

Simply dismounting the player is not always enough.

Without additional protection, a player could potentially do this:

Code (Text):

Ride pet
   |
Move outside island
   |
Get dismounted
   |
Mount again
   |
Move farther
   |
Repeat...
 
SkyPetBoundaryBridge can remember the player's
last valid position inside an island.

When an invalid location is detected:

Code (Text):

Valid island position: X=500
Player reaches:         X=503

Violation detected

Player dismounted
        +
Player returned to X=500
 
This prevents players from slowly progressing through invalid areas by
repeatedly mounting their pet.


CROSS-ISLAND PROTECTION

There is also protection against moving directly between two islands.

For example:

Code (Text):

Island A
   |
   | mounted travel
   v
Island B
 
Even if the player somehow enters another valid island area without first
crossing a location where no island exists, SkyPetBoundaryBridge can detect
that the island UUID changed during the riding session.

With:

Code (Text):

prevent-cross-island-travel: true
 
the player will be stopped.


PERFORMANCE

SkyPetBoundaryBridge was designed to be extremely lightweight.

It does NOT:


The protection pass follows a filtered pipeline:

Code (Text):

Online player
     |
Is alive?
     |
Is mounted?
     |
Is inside a SuperiorSkyblock2 island world?
     |
Is riding SimplePets?
     |
Check island
 
Expensive island and pet checks are therefore only relevant to players
who are actually riding something inside a SuperiorSkyblock2 island world.

The default interval is:

Code (Text):

1 tick
 
This provides very fast boundary detection.

You can increase the interval if desired.


DEPENDENCIES

Both plugins are required.

SuperiorSkyblock2
SpigotMC Resource

SimplePets
SpigotMC Resource

SkyPetBoundaryBridge will not load without these dependencies.


REQUIREMENTS


Important:
Your Minecraft version must also be supported by the installed versions
of SuperiorSkyblock2 and SimplePets.


INSTALLATION

  1. Install SuperiorSkyblock2.
  2. Install SimplePets.
  3. Place SkyPetBoundaryBridge.jar inside your server's /plugins/ directory.
  4. Restart the server.
  5. Open /plugins/SkyPetBoundaryBridge/config.yml.
  6. Configure the protection to your preference.

Recommended plugin structure:

Code (Text):

plugins/
├── SuperiorSkyblock2.jar
├── SimplePets.jar
└── SkyPetBoundaryBridge-1.0.0.jar
 

DEFAULT CONFIGURATION

Code (Text):

# SkyPetBoundaryBridge 1.0.0

protection:
  enabled: true

  # How often mounted players are checked.
  #
  # 1 = every tick
  # 2 = 10 times per second
  # 5 = 4 times per second
  #
  # Recommended: 1
  check-interval-ticks: 1

  # Only protect vehicles identified as SimplePets pets.
  #
  # Recommended: true
  #
  # This prevents the plugin from affecting horses,
  # boats, minecarts or vehicles from other plugins.
  only-simplepets: true

  # Prevent travelling directly from one island
  # to another during the same riding session.
  prevent-cross-island-travel: true

  # Return the player to the last valid position
  # detected inside an island after a violation.
  return-player-to-last-valid: true

  # Available actions:
  #
  # DISMOUNT
  # DESPAWN_RIDDEN_PET
  #
  # DISMOUNT is recommended.
  action: DISMOUNT

  # Players with this permission completely
  # bypass the boundary protection.
  bypass-permission: skypetbridge.bypass

messages:
  enabled: true

  violation: '&cYou cannot leave an island area while riding a pet.'

  cross-island: '&cYou cannot travel between islands using a pet.'

  # Prevent repeated violation messages from
  # spamming the player.
  cooldown-millis: 2000

# Additional console information.
# Only enable while troubleshooting.
debug: false
 

PROTECTION ACTIONS

There are currently two violation actions.


DISMOUNT

Code (Text):

protection:
  action: DISMOUNT
 
Recommended option.

When a violation is detected:


This is the safest and least intrusive option.


DESPAWN_RIDDEN_PET

Code (Text):

protection:
  action: DESPAWN_RIDDEN_PET
 
When a violation is detected:


If SkyPetBoundaryBridge cannot safely identify the exact pet, it falls
back to leaving the pet untouched while still dismounting the player.


COMMANDS

Code (Text):

/skypetbridge status
 
Displays:



Code (Text):

/skypetbridge reload
 
Reloads the configuration and restarts the protection task.


Command alias:

Code (Text):

/spb
 
Examples:

Code (Text):

/spb status
/spb reload
 

PERMISSIONS

skypetbridge.admin

Access to the SkyPetBoundaryBridge administration command.​

Default:

Code (Text):

OP
 

skypetbridge.bypass

Completely bypasses pet boundary protection.​

Default:

Code (Text):

OP
 

RECOMMENDED CONFIGURATION

For most Skyblock servers:

Code (Text):

protection:
  enabled: true
  check-interval-ticks: 1
  only-simplepets: true
  prevent-cross-island-travel: true
  return-player-to-last-valid: true
  action: DISMOUNT
 
This configuration provides strong protection while keeping the pet itself
untouched.


HOW IS AN INVALID AREA DETECTED?

SkyPetBoundaryBridge does not use a manually configured radius.

Instead, it asks SuperiorSkyblock2 which island owns the current location.

Conceptually:

Code (Text):

SuperiorSkyblock2 island world
            |
            v
Get island at pet location
            |
      +-----+-----+
      |           |
    Island       null
      |           |
   Allowed     Invalid
 
This means the protection follows SuperiorSkyblock2's own island layout.


MULTI-ENTITY PET SUPPORT

Some pet implementations may internally use multiple Bukkit entities or
nested passenger/vehicle relationships.

SkyPetBoundaryBridge does not assume that:

Code (Text):

player.getVehicle()
 
is always the visible pet entity.

It follows the vehicle stack and uses SimplePets' public API to match the
vehicle against the player's spawned pets.

This improves compatibility with pets composed of helper entities.


WHAT DOES THE PLUGIN NOT AFFECT?

With the default configuration:

Code (Text):

only-simplepets: true
 
SkyPetBoundaryBridge does not intentionally restrict:



TROUBLESHOOTING

If the protection does not seem to activate, run:

Code (Text):

/spb status
 
Make sure you see:

Code (Text):

Protection: ON
SimplePets API: OK
 
You can also temporarily enable:

Code (Text):

debug: true
 
and reload:

Code (Text):

/spb reload
 
The plugin will print additional information when a boundary violation is detected.

It is recommended to disable debug mode after troubleshooting.


COMMON QUESTIONS

Does this replace SuperiorSkyblock2's protections?

No.

SkyPetBoundaryBridge only adds an additional compatibility layer for
rideable SimplePets.


Does it protect normal player movement?

No.

SuperiorSkyblock2 continues handling normal island protection.


Does it affect pets outside the Skyblock world?

No.

The plugin first verifies that the vehicle is inside a world registered
as an island world by SuperiorSkyblock2.


Can administrators bypass the protection?

Yes.

Give the player:

Code (Text):

skypetbridge.bypass
 

Will it despawn every pet owned by the player?

No.

When DESPAWN_RIDDEN_PET is enabled, the plugin attempts to
identify and remove only the specific pet associated with the mounted
vehicle.


Can I only dismount players without deleting their pet?

Yes.

Use:

Code (Text):

action: DISMOUNT
 
This is also the recommended configuration.


Can players travel from their island to another island while mounted?

With:

Code (Text):

prevent-cross-island-travel: true
 
the plugin tracks the island where the riding session started and blocks
entering a different island during the same session.


Can I change how often the protection checks players?

Yes.

Use:

Code (Text):

check-interval-ticks: 1
 
Allowed values are automatically limited between 1 and 20 ticks.


DESIGNED FOR SKYBLOCK SERVERS

SkyPetBoundaryBridge has one job:


Allow players to enjoy rideable SimplePets
without allowing those pets to become an island-boundary exploit.


It does not attempt to replace either SuperiorSkyblock2 or SimplePets.

It simply connects their APIs and adds the missing boundary protection.


SUPPORT

When reporting an issue, please provide:


Please do not use the review section for bug reports.


PLUGIN INFORMATION

Plugin: SkyPetBoundaryBridge
Version: 1.0.0
Author: Pixelbyte Studio
Dependencies: SuperiorSkyblock2, SimplePets



Keep your pets fun.
Keep your islands protected.


SkyPetBoundaryBridge is an independent compatibility plugin and is not
affiliated with or endorsed by the developers of SuperiorSkyblock2 or SimplePets.

SkyPetBoundaryBridge is a free Minecraft Java mod. Compatible with Minecraft 1.21, 26.1, 26.2. Downloaded 3 times (via Spigot). Download it and open it directly in the game.

Explore more