[ADMN/FIX] PortalLink v0.6.2 - Custom Nether Links & Fix Nether Portals In Custom Worlds [1185]

Discussion in 'Inactive/Unsupported Plugins' started by jrtc27, Jul 19, 2011.

  1. Offline


    Version: v0.6.2

    This page will no longer be updated. Please use the BukkitDev page for PortalLink instead.

    Currently if you try to use a Nether portal (RB 1060+) in what Bukkit refers to as a "Custom World" (i.e. not the one in server.properties), be it a Nether world or not, you are not teleported anywhere (in previous versions you were always taken to the main world's Nether). However, if you have PortalLink installed, the Nether portal in a custom world now correctly takes you between the custom world and its "_nether" world, making multiple worlds even easier for players to use.

    You can also add custom links between certain worlds. These two worlds do not have to be a Nether and a normal world - you could link two Nethers or two normal worlds. And the block ratio is correctly calculated for this situation!

    Want to have the Nether enabled for some worlds, but not for others? You can do that too! Just make sure "allow-nether" is set to true in server.properties, and then for every world (including the main one - the one in server.properties) that you want to have the Nether disabled for, add a link to nothing in PortalLink's links.properties file, which also contains detailed instructions for defining links.

    Please, do let me know what you think!

    • Fixes nether portal linking for multiple worlds
    • Allows custom links to be declared between worlds, be it between a Nether and a normal world or the same type!
    • All worlds referenced in custom links are loaded/created at startup to reduce the delay for players
    • All worlds referenced when using the /pl link command will be loaded/created straight away
    • Allows user-defined worlds to have no Nether
    • Includes in-game commands for creating, removing and reloading links
    Download PortalLink v0.6.2

    Source Code (GitHub)


    /pl link [-b] [-WhichNether] <World> <OtherWorld> - Defines a new PortalLink. "b" sets the link to work both ways. WhichNether is 0 by default - add 1 if World is a Nether world and 2 if OtherWorld is a Nether world (or 3 for both). If you do not, things may BREAK. You can use "\" to escape spaces (v0.4+).
    /pl unlink <World> <OtherWorld> - Removes a PortalLink. You can use "\" to escape spaces. If OtherWorld is blank, all links for World will be removed. Removed links are commented out in links.properties.
    /pl reload - Reloads PortalLinks from links.properties.
    (When adding a link it is automatically saved to links.properties).


    Permissions currently only work with Bukkit's permission system. If enough people want it I can add support for The Yeti's Permissions.

    portallink.* - Gains all permissions
    portallink.link (defaults to op) - Allows a user to use the /pl link command
    portallink.unlink (defaults to op) - Allows a user to use the /pl unlink command
    portallink.reload (defaults to op) - Allows a user to use the /pl reload command
    Version 0.6.2:
    • Fixed plugin data folder creation
    Version 0.6.1:

    • Fixed other issues with the block ratio (portals to "_nether" worlds will take you back to where they did before)
    • Fixed removing a link requiring a reload to put the change into effect
    Version 0.6:

    • Added the /pl unlink command
    Version 0.5.2:

    • Fixed a bug where the plugin's folder would be incorrectly created.
    Old Versions (open)

    Version 0.5.1:
    • Fixed the scale of the Nether and normal worlds being the wrong way round! NOTE: YOU WILL (probably) NO LONGER BE TAKEN TO THE SAME PORTALS AS BEFORE!
    Version 0.5 (will report as 0.4 because I forgot to update the version number in plugin.yml):

    • Fixed a bug where, if you tried to use a Nether portal in a Nether world whose name does not end with "_nether", you would be taken far from your original portal instead of nowhere (this enabled you to reach the Nether's far lands very quickly!)
    Version 0.4:

    • Fixed bugs relating to setting a link to nothing
    • Enabled escaping spaces for the /pl link command
    • All linked worlds are now loaded as soon as they are read from links.properties or linked via the in-game commands
    Version 0.3:

    • Fixed the portallink.* permission
    Version 0.2

    • Added custom links
    • Added commands
    • Added permissions
    Version 0.1

    • First release
  2. Offline


    No problem - I like to try and provide bug fixes quickly :)
    I just found another bug (quite rare but bad) so I strongly suggest you update AGAIN (sorry about all the updates!) to the latest version (v0.5 at the time of writing).
  3. Offline


    after i updated to 1.3 when first running the server with plugin eveything is fine. but it creates a new file called PortalLink (with no extension) in the Plugins folder. Then when shutting down the server and restarting it, it gives an error.

    2011-08-23 15:05:20 [SEVERE] Could not load 'plugins\PortalLink.jar' in folder 'plugins':
    java.lang.Exception: Projected datafolder: 'plugins\PortalLink' for PortalLink (plugins\PortalLink.jar) exists and is not a directory
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:107)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:213)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:143)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:110)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:133)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    After deleting the weird PortalLink file it works again.
    Noticed the plugin got updated to 1.4 today, will try that one when the server is shut down.
  4. Offline


    Found the problem - surprised nobody else had it! Fixing now.

    Uploaded version 0.5.2 which contains the fix (you will need to delete what should be the PortalLink folder).

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 17, 2016
  5. Offline


    Yea, I did have that but, I just made the folder and it worked, Thanks for all of you quick support :D
  6. Offline


    No problem! If you have any further problems or feature requests, please do tell me :)
  7. Offline


    Running CB1060: I noticed the plugin wouldn't auto-create its folder or links.properties file on startup. Once I manually created the /plugins/PortalLink folder and restarted, though, links.properties was created, and it's now working as expected.
  8. Offline


    I have fixed that in version 0.6.2, but thank you anyway.
  9. Offline


    Oh, sorry, guess I got thrown off by the changelog mentioning a folder problem several versions ago.
  10. Offline


    Well there was another problem (the folder would be a blank file) that I had fixed in that version but created the bug that I fixed in v0.6.2, so you didn't do anything wrong :)
  11. Offline


    Plugin was working great in 1060, but in 1150 (if I'm reading the version number right), portals get spawned in unexpected places in the destination world (my portal back home from the Nether now ends up an ungodly distance from the original portal at spawn), and new portals get generated when a working one was right nearby. Odd stuff that I was used to PortalLink preventing.
  12. Offline


    I will investigate. I'm not sure why that happens, though...!
  13. Just thought I'd chime in that I'm not having this issue on my server. I believe my test server's on 1152.
  14. Offline


    Well, i do have the feeling that portals that spawn in the nether are a bit far away from where i was thinking they would spawn. (i set the ratio hell:world to 1:1 using Multiverse.)
    I never really investigated it though. I think i'll check the coordinates soon.

    Maybe its not even this plugin, maybe its Multiverse. Or just the combination between the two.
  15. Offline


    PortalLink does not communicate with Multiverse, so my guess is that change is being ignored.
  16. Offline


    Hi! I simply want to connect my creative world with the survival world via portal. What would be proper syntax for the config file to do this?

    Is it
    for the two to link up?

    I don't want nethers, by the way.
  17. Offline


    Yes. After that you can delete the Nether world folders if you wish.
    spydercanopus likes this.
  18. Offline


    Video Demonstration?
  19. Offline


    I might do. I'm away at the moment, so can't. I will see when I get back :) If you have any questions, feel free to ask!
  20. Offline


    there is a problom ok listin i say /pl and the command but it just list all my pluggins what do i do to edit it?
  21. Offline


    Have you got any other plugins installed on your server that could be interfering with the
  22. Offline


    does this work for 1.0+?
  23. Offline


    Yes and no. Due to a lack of features in the Bukkit API (which I have proposed, but have yet to be accepted), it is impossible to tell the difference between Nether and End portals as a plugin, and so all End portals take you to the Nether. Sorry about that, but there isn't much I can do.

Share This Page