Stargate - The classic portal plugin, ported to Sponge

This is a discussion topic for the Ore project, Stargate. View the full project on Ore for downloads and more information.


Stargate

Dinnerbone and Sturmeh originally created this plugin for hMod. It was ported to Bukkit by Drakia, and now I present to you a port for Sponge!

Stargates are portals that can be created for teleportation across long distances. Create multiple gate networks, with a variety of options for functionality.

Features

  • Stargate has only two commands, and they’re for plugin info or reloading. The idea is to aid immersion by making the portal system completely commandless.
  • Stargate is lightweight. Not only do portals take up a miniscule amount of memory, but all portal updates are throttled, and may be split over multiple ticks if necessary.
  • Stargate can optionally integrate with the server’s economy in order to provide prices for creating, using, and breaking portals.
  • Portals can be created in many different styles. You can use the traditional dialer, you can lock it to one location, or you can keep it always on. You can make it backwards, you can hide it from the dialers, you can make it private to only you. You can even hide the network name from the sign, or make the destination random!
  • Portals can also be created in many different layouts. The one shipped with the plugin is the traditional ‘nether portal’ layout, but you can absolutely make your own! Scissors and glue not included.
  • Stargate has multi-language support. It ships with some popular languages like French and Spanish, and you can easily add your own.
  • Compatibility! Stargate will import your old portal db and lang files. Although unfortunately we can’t import your old .gate files, since they use numeric IDs and Sponge simply doesn’t support them.

Commands

  • /stargate reload reloads the plugin.
  • /stargate about talks about the plugin.

Pages

Disclaimer

This project is nearly a verbatim port of a Bukkit plugin which started as a nearly verbatim port of an hMod plugin, and as such is very much in BETA. There will be bugs. I’ve tried my best to stamp out most of them, but there have to be a couple I don’t know about. By using this plugin you acknowledge the previous three sentences. Here’s two I do know about. Bungee portals are magnificently borken. They generally work one way buggily, and the other way only once. I haven’t removed the Bungee code, but I’ve removed the setting from the default config. If for some reason you want to turn it on, set enablebungee to true in the config. Refer to the Bukkit version’s documentation on how to set up Bungee portals. Second is that water/lava portals, well, they work, but I can’t seem to stop them from flowing everywhere. I would highly recommend you not use them for that and one other reason, which is that SpongeForge does not prevent the player from obtaining the fluid even if the removal is cancelled, and SpongeVanilla simply cannot stop them from removing the fluid in the first place.
You have been warned.

Other info

Please submit any and all bugs you find to the bug tracker.

Note

This plugin uses bStats, which collects data about your server. This data is in no way intrusive, is completely anonymized, and has a negligible impact on server performance, so there is no reason whatsoever to disable it. However, if you wish to anyway, simply set enabled to false in config/bStats/config.conf.

Changelog

0.1 - Ported verbatim.
0.1.1 - Fixed some bugs I missed.

6 Likes

A new version has been released for Stargate, it is available for download here.


Fixed some bugs I missed.

What about making it larger, circular and spinning?

Will this plugin be updated? It throws errors now in the console and just doesn’t seem to work anymore.

As with all Sponge plugins, version compatibility across major releases is entirely coincidental. I will be updating my plugins to API 7 soon.

A new version has been released for Stargate, it is available for download here.


Updated to API 7.

A new version has been released for Stargate, it is available for download here.


Fixed issue with bundled config.

is it possible to teleport to other server worlds with this plugin?

The original plugin supported that, so yes.

How do I change the material that is made the portal? because it substitutes the obsiiana for quartz and the portal did not work!

I’m not sure what your second sentence is talking about.

You can edit the gate files (or make new ones) in the configuration folder to change how portals are built.

Hello, I’ve fixed some bugs in your plugin. The code is available here, as well as the download.

You could also have submitted a pull request to the GitHub page, which you have to do anyway if I were going to pull the changes.
Not that I would, because as far as I can tell all you have done is deleted economy support entirely.

Is it possible to redirect all nether portals in the overworld to a single central portal in the nether?