HomeJavaModsWorld Sandwich
World Sandwich
ModsJava

World Sandwich

This plugin stacks worlds vertically and allows for flight between them.

⬇ Download on Spigot
World Sandwich Plugin

Introduction
The World Sandwich plugin allows Minecraft server administrators to link multiple worlds vertically. Players can seamlessly transition between worlds by moving beyond the vertical boundaries of a world. This creates a layered world experience, stacking different dimensions or environments on top of or below each other.

Originally based off the MIT Licensed MC 1.13 plugin: Downloads SpigotMC

Features
Installation
  1. Download the Plugin: Obtain the latest release of the World Sandwich plugin from the Releases page.

  2. Place in Plugins Folder: Copy the Sandwich.jar file into your server's plugins directory.

  3. Start the Server: Launch your Minecraft server. The plugin will generate a default config.yml file in the plugins/Sandwich directory.

  4. Configure the Plugin:
    • Stop the server.
    • Edit the config.yml file to suit your world's configurations.
    • Save the file.
  5. Restart the Server: Start the server again to load the new configurations.
Configuration

config.yml

The config.yml file is where you configure the behavior of the World Sandwich plugin. Below is an explanation of the configuration options and how to set them up:

Code (Text):
# Default padding value used if a world doesn't specify its own padding
defaultPadding: 10

# Worlds configuration
worlds:
  world:
    topLink: skylands
    worldTop: 319
    worldBottom: -64
    worldPadding: 10
  skylands:
    topLink: world_the_end
    bottomLink: world
    worldTop: 255
    worldBottom: 0
    worldPadding: 5
  world_the_end:
    bottomLink: skylands
    worldTop: 255
    worldBottom: 0
    worldPadding: 10

Configuration Options

Example Configuration

In the example configuration above:

How It Works

The plugin listens to the PlayerMoveEvent and checks if a player moves beyond the defined vertical boundaries of the world they are currently in. If they do, and a link is defined in the configuration, the plugin teleports the player to the corresponding world at a calculated Y-coordinate that maintains their relative position.

Teleportation Logic

Usage

Once the plugin is installed and configured, it requires no further interaction. Players will automatically be teleported between linked worlds when they move beyond the vertical boundaries defined in the configuration.

Permissions

Currently, the Sandwich plugin does not implement any commands or permissions. All configurations are handled through the config.yml file.

Commands

The plugin does not provide any commands at this time.

Changelog

Recent Changes

Migration from Previous Versions

If you are updating from a previous version of the Sandwich plugin, please note the following:

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

If you encounter any issues or have questions about using the Sandwich plugin, please open an issue on the GitHub Issues page.

World Sandwich is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 63 times (via Spigot). Download it and open it directly in the game.

Explore more