No Return Portal

Discussion in 'Archived: Plugin Requests' started by Karanja, May 25, 2014.

  1. Offline

    Karanja

    Plugin category: Teleportation

    Suggested name: No Return Portal

    What I want: I would like to have a plugin which disables the auto creation of a return portal when someone makes a portal to the nether. As we already have warp zone's created and we don't want an easy option for griefing and a free obsidian farm.

    Ideas for commands: a command which lets the people with the permission decide whether to turn this on or off

    Ideas for permissions: nether.noreturnportal.enable - nether.noreturnportal.disable (needs to work with PermissionsEx)

    When I'd like it by: As Soon As Possible
     
  2. Offline

    Karanja

    Anybody that can please help with this? I would be forever thankful :D
     
  3. Offline

    keaton64

    We will look into this, I could just have it when you enter a portal it randomly teleports you somewhere in the nether. No portal but you'll have to have a set max coordinates. The only problem we've noticed is our code causes some performance problems on weaker servers.
     
  4. Offline

    Karanja

    That is wonderful! Too bad that it causes performance problems on some servers but at this point i am willing to try anything. I searched the whole internet for something like this but nothing to be found :-(
    Will it make you spawn in the nether at a set spawn point (for everyone) or is it always random?

    Already thank you very much! I am looking forward to the results :)
     
  5. Offline

    Onlineids

    Do you want this to work with all portals, so if you exit a portal and your world is the nether it gets rid of the nether portal?
     
  6. Offline

    Karanja

    Yes, I would like this to work with all the portals.
    So if you go from the overworld to the nether it will create no nether portal basically.
    Just like the bug with "Multiverse Netherportals" once was, i want exactly what that did.
    You go trough the portal and land where the portal in the nether would be but without the obsidian portal and portal frame.
     
  7. Offline

    Onlineids

    Would be alot easier and less resource intensive if you just blocked going from the nether to overworld through portal
     
  8. Offline

    Karanja

    True and we also thought of that solution (it is basically for our skyblock) and even tried it, disabling the use of portals going from the nether to the overworld but it kept making the "return" portals.
    Having a return portal made every time you go trough your portal you would have a very easy and cheap obsidian farm (go trough portal, farm the obsidian, go back to your island, rinse and repeat as often as you want/need).
    For the players it is fun to have the option to make a portal themself from the nether to their island and invite other friends over that aren't in their party.
    We already disabled the /warp funtion to go to other players islands as it is way to easy to grief the islands (farmland, animals and even creepers on badly designed islands) we wouldn't hear the end of complains about this :)
    A 100% perfect way to prevent everything, i can't think of but we had this "bug" of Multiverse Netherportals before and the players had really fun with it. They visited each others islands and this was only possible when someone from the island was online cause they locked off the entrance from the nether portals trough doors/trapdoors and so on for possible griefing.
     
  9. Offline

    Onlineids

    How do you get back from the nether tho o.0
     
    15987632 likes this.
  10. Offline

    Karanja


    With skyblock you always get back to your island with /is or /island plus for the other worlds we made custom teleport commands. And yes we could do a custom teleport to the nether.. but that isn't a solution either as then everyone would spawn on top of each other.. and that in a pvp zone isn't so comfertable :)

    I just hope that someone can help me so we can finally play minecraft again on my server...
     
  11. Offline

    Onlineids

    [quote uid=90956806 name="Karanja" post=2527156]With skyblock you always get back to your island with /is or /island plus for the other worlds we made custom teleport commands. And yes we could do a custom teleport to the nether.. but that isn't a solution either as then everyone would spawn on top of each other.. and that in a pvp zone isn't so comfertable :)

    I just hope that someone can help me so we can finally play minecraft again on my server...[/quote]

    Prevent block breaking and placing if its obsidian in the nether?

    [quote uid=90956806 name="Karanja" post=2527156]With skyblock you always get back to your island with /is or /island plus for the other worlds we made custom teleport commands. And yes we could do a custom teleport to the nether.. but that isn't a solution either as then everyone would spawn on top of each other.. and that in a pvp zone isn't so comfertable :)

    I just hope that someone can help me so we can finally play minecraft again on my server...[/quote]

    Not quite sure how this worked xD but it did
    Download: <Edit by Moderator: Redacted mediafire url>
    Perm so it doesn't delete portal : "nbp.bypass" (defaul op)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 2, 2016
  12. Offline

    Karanja

    [quote uid=90875889 name="Onlineids" post=2527214]Not quite sure how this worked xD but it did
    Download: <Edit by Moderator: Redacted mediafire url>
    Perm so it doesn't delete portal : "nbp.bypass" (defaul op)[/quote]


    We tested it and it worked indeed! So you already made me very very happy!
    There is only 1 little 'problem' that we encountered while testing..
    When we create our own portal in the nether.. it also disappears when we want to enter it.. and that shouldn't happen.
    I don't know if that is possible that the portals that are made by players themselfs don't disappear?
    Besides that you really did an awesome job :) so really thank you for that already!
     
    Last edited by a moderator: Nov 2, 2016
  13. Offline

    Onlineids

    Whatcha mean?
     
  14. Offline

    Karanja


    When i create a portal on the island to the nether and enter it, it deletes the portal in the nether automatically which is perfect and exactly what we want :)

    But when i create a portal myself in the nether to go to my island (for example i want my friends to come over to my island trough the portal i created in the nether) the portal disappears as well.. and that shouldn't happen.
    The portals created by the players themself in the nether should stay.. it is their own risk to do that.
     
  15. Offline

    GeorgeeeHD

    if anyone wants to do this, just make it so you cannot break obsidian in the nether.

    //Edit, someone already did this :S
     
  16. Offline

    Onlineids

    Yea not sure how I would do this and if I did it would be very intensive
     
  17. Offline

    Zupsub

    Onlineids
    Just use
    Code:java
    1. PlayerPortalEvent#getTravelAgent().setCanCreatePortal(false);

    should work I assume.
     
  18. Offline

    Karanja


    That's a shame i hoped it wouldn't be too difficult to do that. Do you think it is possible though to do it? And if so could you please look into it if you have the time? You already made a fantastic first plugin that is almost perfect.

    On a side note...
    Ever since we encountered this problem of the return portal we tried several things...
    On our private home server with exactly the same files.. the return portal isn't created and we can still make and use portals in the nether. But with the exact same files on the public server the return portal is created all of a sudden.
    And that is something i really don't understand how that is possible. All the settings are the same, exactly the same plugins but with the difference of the creation of the return portal.
     
  19. Offline

    Onlineids

    Were you op'd?
     
  20. Offline

    Karanja


    No i wasn't op'd.
    If you want i can show u on the home server.. but i rather not post the adress in public lol :)
     
  21. Offline

    Onlineids

    Yea theres no possible way the plugin just didn't work has to be something else
     
  22. Offline

    Karanja


    Oh no my bad i guess i explained something wrong. That with the home server has nothing to do with your plugin... that was what we tried before i posted it on this forum. And what i wanted to show u on the home server if you want? But then i rather send you the IP in private if that is possible?

    It is like i said.. your plugin does almost exactly what we want.. the only thing left is that we cannot use portals that we make ourselfs in the nether, because when we try to enter them they disappear. If that would be solved (if possible) then the plugin would be completely perfect.
     
  23. Offline

    Karanja

    Onlineids

    We did the last tests today... we decided to use your plugin in combination with /tpa so portals from the nether to the islands wont be nescesary.
    And then i saw something which remembered me i still wanted to ask you.
    When we enter the portal to the nether.. and spawn in the nether we get the next "error message":

    This Portal Goes Nowhere!
    No Specific end world has been linked to this world and 'skyworld_nether_the_end' is not a world.

    When i disable the NoReturnPortal plugin we don't get this message.

    I have linked skyworld and the nether world, skyworld_nether exists and i even tried to create a skyworld_nether_the_end to see if that helped but that gives me the exact same error.

    Do you have any idea what this might be?

    Thnx already :D
     
  24. Offline

    Onlineids

    Its because I am removing the portal but because of bukkit they touch the portal first which means they are in a portal at one point with no other side, don't think it can be fixed sadly.
     
  25. Offline

    Karanja


    Ah ok, and is there a way to hide these errors? that they are only seen by OP'd for example? :$
     
  26. Offline

    Onlineids

    Send me the ip real quick so I can see what plugin or bukkit code is causing this
     
  27. Offline

    Karanja


    ip is xxxxxxxxxxxx

    thnx already :)
     
  28. Offline

    Onlineids

    kk I got it, delete that message tho advertising isnt allowed ;)
     
  29. Offline

    Karanja


    :) edited it ^^
     
  30. Offline

    Onlineids

    [quote uid=90956806 name="Karanja" post=2534733]:) edited it ^^[/quote]

    <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Nov 2, 2016

Share This Page