Skip to content

Working examples

Crystal Spider edited this page Apr 6, 2025 · 8 revisions

Datapack

You can find an up-to-date example of a working datapack using Sever Sided Portals here.

This simple example datapack provides the basic structure to use Server Sided Portals:

  • It adds two dimensions, a copy of the Overworld and a complete void one, and defines for each the block tag for the portal frame.
  • For the Overworld-copy dimension, an item tag is added to change the requirement to light up the portal: a breeze rod (blaze in older versions) is required.
  • The Overworld-copy dimension is accessible from the Overworld, while the void dimension is accessible from the Overworld-copy dimension instead.
  • Players' gamemode will change when they travel to the Overworld-copy dimension depending on their permission level.

Mod

You can find an up-to-date example of a working mod using Sever Sided Portals here.

This mod uses Server Sided Portals to handle the Nightworld dimension, a copy of the Overworld where it's always night and beds explode.