Server Portals

Quick rating

Server Portals

No reviews yet

Register serverside portals, which can be built using configured blocks, items to light them up and execute a command when accessed. [vanilla compatible!]

Player Transport
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
1.1+1.20
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Server Portals

Register serverside portals, which can be built using configured blocks, items to light them up and execute a command when accessed. Works with vanilla clients. If this mod is installed on the client as well, the portal frame can get displayed in different colors configured on the server.

NOTE v1.0 - installing on a client does not work yet due to the fact, that debugging locally with non-authenticated clients is pretty insane. I'm currently working on a build script plugin to get local authentication to work, because you cannot debug like this. I'm not going to waste hours of copy pasting jars around, without a debugger attached.

Installation

To install this plugin fabric, fabric API and owo-lib is required.

This mod is available on modrinth with slug server-portals. The project source is available on github/michiruf with the latest readme here.

Internally this plugin is packed with kyrptonaught's customportalapi, kyrptonaught's CustomPortalApi-Polymer and because of that with Polymer.

Usage instructions

NOTE: The server must get restarted to load these changes!
So after every change of the portals, restart the server (unfortunately)!

List configured portals:

/serverportals list

Register a portal

/serverportals register NAME FRAME_BLOCK LIGHT_UP_ITEM COLOR COMMAND

For example: /serverportals register test minecraft:bone_block minecraft:ender_eye black "say hello" will register a portal, with bone blocks as frame, ender eyes as light up activation item to hold in hand while right-clicking and printing out hello from the user that steps into it.


Unregister a portal by its index

/serverportals unregister NAME

Example configuration file

The configuration is location in /config/server-portals.json5. Note that changing the configuration while the server is running, will be overwritten by commands that configure portals. LogLevel is currently unused.

{
  "logLevel": 0,
  "portals": [
    {
      "index": "say_hello_portal",
      "frameBlockId": "minecraft:bone_block",
      "lightWithItemId": "minecraft:ender_eye",
      "color": 0,
      "command": "say \"hello world\""
    },
    {
      "index": "tp_portal",
      "frameBlockId": "minecraft:gold_block",
      "lightWithItemId": "minecraft:ender_eye",
      "color": 5592575,
      "command": "tp @p 0 100 0"
    }
  ]
}

Usage together with ProxyCommands

ProxyCommands can be found here. To create a portal to another server use the command:

/serverportals register NAME BLOCK ITEM COLOR "proxycommand \"server SERVERNAME\""

For example:

/serverportals register server_creative minecraft:bone_block minecraft:ender_eye black "proxycommand \"server creative\""

Known error reports in server logs

The customportalapi will check if a portal without a dimension is registered and will print this on every launch of the server:

[xx:xx:xx] [main/INFO] (Minecraft) [STDOUT]: [customportalapi]ERROR: Dimension is null

The configured command will get executed nevertheless.

Changelog

Changelog per release cycle can be found here. This changelog contains information from one release to the next one.

License

MIT License

Further reading (for devs)

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~1,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works