[TP][FUN] NetherPortal - Multi World Fast Travel with a challenge v0.6.10 [803]

Discussion in 'Inactive/Unsupported Plugins' started by asdaarg, Mar 5, 2011.

  1. Offline

    asdaarg

    NetherPortal v0.6.11

    New in Version 0.6.11:
    • Added NetherPortal.portal.use permission
    Description

    I always thought things like random tping around that make the game too easy takes away the fun of playing, but in SSP fast travel constrained by 8x ratio rule was fun and reasonable advantage considering that you had to go through the nether a dangerous place to set up portals there, and if you wanted to make the travel safer you'd have to build or dig to make it safe. Unfortunately I have not seen a single plugin that does the following:

    1. Fast travel (8x rule)
    2. Auto portal creation (i.e. when you go through a portal a portal is created at the destination that is linked to it)
    3. Multiworld

    Well this plugin does. But it is also different from other plugins.

    The challenging thing is of course how to match portals. One thing I did not like in SSP was portal hopping, making it possible to easily find caves by digging down in the nether and place a portal there , and travel ultra fast by placing portals where there was solid material on the nether side. One solution to this was creating airpockets and platforms as in NetherGate. While this preserves the 8x rule, it is a bit dangerous to use, since you can destroy things you've built, and alternatively it would make it difficult to program to avoid it.

    The easy solution for me, which also adds a bit of challenge in setting up working portals, is that portals simply do not work if there is not air for the portal to be created in, the portal exits on both sides, and a platform for the portal and you to stand on when you exit it. So the challenge is to find a suitable location for a portal, but you can do it with the aid of a compass which gives a rough indication of the probability of there being a suitable location nearby, the closer the greater. The compass will also give you a guaranteed indication "X" that there is one solid block underneath and 5 air blocks above and one solid block underneath and at least 1 but at most 4 "_". The shape of the "X" indications in the following form:
    Code:
     XX
    XXXX
     XX
    
    will guarantee that a portal can be constructed here, however if you have linked the world to more than 1 other world, readings from another world could interfere and you lose this guarantee, even though it is not likely to fail. Note, the exact size of the shape depends on the ratio between your world and the target world. If you are going to the nether from a normal world with default ratios (1 to 8) the shape is 8 times bigger. Note also that each indication then represent the entire 8x8x8 cube.
    If you are going to a higher or equal scale world, the portal has to be placed so the two bottom middle blocks reside within the two middle blocks of the shape.
    If you are going to a lower scale world, a special portal indication "N" "S" "W" or "E" is needed to guarantee that a portal can be placed, indicating the direction the other bottom middle block of the portal from the block you stand on (which is one of the bottom middle blocks).

    To get any reading at all YOU HAVE TO LINK THE WORLDS using the WORLD LINK or WORLD TARGET commands for a one way link.

    Here is a top down schematic view of all blocks needed on each level of a suitable location for a portal:
    Code:
      S  |  A  |  A  |  A  |  A  |  A
     SSS |  A  | AAA | AAA |  A  |  A
     SSS |  A  | AAA | AAA |  A  |  A
      S  |  A  |  A  |  A  |  A  |  A
    
    y-1    y     y+1   y+2   y+3   y+4
    
    Where S is solid i.e. non air block and A is air block.
    Full features list (open)

    • Portals that simply work, no strange glitches or random suffocations happening. Place a block in front of the portal exit and it will refuse to teleport you.
    • Fast travel (8x rule like in single player, but ratio adjustable)
    • Auto-portal-creation at destination, so you can go back, like in single player
    • Multiworld support - create or import any number of worlds, nether or normal.
    • Permissions/Group manager support (optional)
    • Iconomy support (optional) - set the cost of portal usage
    • The (now optional) challenge to find a suitable location for a portal using compass
    • The option to create portals destructively (air pocket and platform creation)
    • The option to link any portal to any other, one way or two way.
    • Basic safe teleportation commands-adjusting to prevent fall damage and suffocation
    • Eternal night in the nether - good bye blue sky!
    • Worlds can link/target each other to allow fast travel auto portal creation and compass reading
    • Deconstruct portals faster - destroy one block and all will drop.
    • Anti-obsidian farming auto-created portals.
    • Configurable commands
    • And more.. see full list of commands

    Commands (open)

    Code:
    fullsearch <target world>                searches a 400x400 area around you of suitable portal locations to target world
    fullsearch <target world> <size>         same as above but you can specify the area size
    teleport <world>                         teleports you to worldname to the corresponding coordinate
    teleport <world> <x> <y> <z>             teleports you to worldname to specified coordinate
    location                                 lists your corresponding coordinates in each world
    world create <world> <environment>       creates or imports world of type environment (normal or nether)
    world remove <world>                     removes a world (does not delete it)
    world ratio <world name> <ratio>         sets the ratio of the world (nether is 8 by default and normal is 1)
    world center                             centers the world at the spot you stand (0,64,0 by default)
    world list                               lists all loaded worlds
    world link <world1> <world2>             link together 2 worlds (i.e. both target each other)
    world settarget <world1> <world2>        world1 targets world2 - allows fast travel auto created portals and readings from world2.
    world detarget <world1> <world2>         removes world2 from world1's target list
    portal link <portal1> <portal2>          link together 2 portals (i.e. both target each other)
    portal settarget <portal1> <portal2>     portal1 targets portal2 - stepping into portal1 teleports you to portal2
    portal detarget <portal>                 set portal points to null i.e. nowhere
    portal name <portal>                     sets name of portal you last stepped through
    portal punch through to <world>          auto creates a portal in world for the latest entered portal and with air pocket and platform if necessary
    portal list                              lists all portals in current world and their locations and targets worlds and locations
    portal setcost <cost>                    set the iconomy cost of portal you last entered
    teleport adjust                          change configuration of command based teleport to not adjust you on y axis to avoid fall damage or suffocation
    teleport to potral <portal>              teleports you to a named portal.
    world target list                        lists the target worlds of a world
    setspawn                                 moves spawn point to current location
    

    config.txt (open)

    alwayspunchthrough - sets whether to punch through to a target world automatically when you enter the portal
    tpadjust - sets whether teleportation y coordinate is adjusted so you do not take fall damage or suffocate
    respinnormal - respawn in last normal world you were in, when you die in nether
    artificialportal - workaround for portal not teleporting you when it reports the portal block to be air
    cooldown - number of milliseconds it takes for a portal to work again
    compass - the item id of the compass
    noYscale - whether Y scaling (up/down) should be used or not.

    Permissions (open)

    NetherPortal.fullsearch
    NetherPortal.world.remove
    NetherPortal.teleport
    NetherPortal.world.create
    NetherPortal.world.ratio
    NetherPortal.world.center
    NetherPortal.world.list
    NetherPortal.location
    NetherPortal.world.link
    NetherPortal.world.settarget
    NetherPortal.world.detarget
    NetherPortal.portal.setcost
    NetherPortal.portal.link
    NetherPortal.portal.settarget
    NetherPortal.portal.detarget
    NetherPortal.portal.name
    NetherPortal.portal.punch.through.to
    NetherPortal.portal.list
    NetherPortal.portal.use
    NetherPortal.teleport.adjust
    NetherPortal.teleport.to.potral
    NetherPortal.world.target.list
    NetherPortal.setspawn
    NetherPortal.portal.create
    NetherPortal.portal.destroy

    Downloads (open)

    Todo (open)

    • Fix portal not lit on the other side at times (is this happening at all anymore? a bukkit issue that got resolved?)
    Done and will be in next update:

    Changelog (open)

    Changelog:
    Version 0.6.11:
    • Added config option noYscale, is false by default. It removes scaling factor on Y axis.
    Version 0.6.10:
    • Fixed /world remove not being called
    • World remove now removes the world from MC server without needing a restart.
    Version 0.6.9:
    • Added NetherPortal.portal.use permission
    Version 0.6.8:
    • Updated iConomy support to iConomy5
    • Added compass config option for changing the id of the compass
    Version 0.6.7:
    • Fixed inaccurate teleportation when portal exit is on different axis than entrance
    • Fixed portal names not being loaded into lookup table at startup.
    Version 0.6.6:
    • Fixed scrambled portals on reload when there is at least one portal without target
    Version 0.6.5:
    • Removed nag about some old event that i imported
    • Fixed singly linked portals not being loaded correctly
    Version 0.6.4:
    • portals will not break other portals when punching through, they will "angrily spit you out" on autopunchthrough
    • cooldown option for setting how long time til a portal can be used again
    • defaults to ops only when permissions is not present
    • autocreation of config file
    • uses NSCommand now
    Version 0.6.3:
    • bug fixed old portal names remaining after being renamed
    • All portals are now given auto-generated unique names until renamed. No more indistinguishable "null"s
    • Portals can no longer be given a non-unique name
    • Right clicking a portal gives info about it as well as selects it, in the same way walking through it does.
    Version 0.6.2
    • Updated for 617
    • Fixed broken permissions
    • Removed debug messages
    • Added permissions NetherPortal.portal.create and NetherPortal.portal.destroy so you can control who can create and destroy portals
    Version 0.6.1
    • Backward incompatible support for #602 (bukkit api changed so can't help it. You can use the previous version for #556 - nothing else changed)
    Version 0.6
    • Iconomy support: portal setcost <cost> (all portals are free when iconomy is not running) Backward compatible savefile format change to accomodate cost
    • Portals are no longer auto constructed on water, lava or any other player walkable materials
    • Portals now accepts player walkable materials as portal exits (but they will not show on indication still, which only looks for air)
    • Portals are no longer auto constructed in place of active portals (although they can still be constructed on inactive portals)
    • Fixed embarassing bug causing nonsensical indication. It should make a whole lot more sense now.
    • Fixed faulty target location is not safe messages
    • Fixed teleportation to bottom of world when using tpadjust when location is solid.
    • Fixed dropped air blocks on collapse causing client to crash
    Version 0.5.5
    • Teleportation to nonexisting world causes nullpointer exception bug (harmless but pollutes your server log) fixed
    • Portal frame corner blocks drops obsidian blocks on collapse when corner blocks are not obsidian bug fixed
    • Artificial Portal block (the workaround for bukkit portal is air block error) remaining after collapse bug fixed
    • Artificial Portal blocks configurable off by default. Put "artificialportal=true" in config.txt to turn it on.
    Version 0.5.4
    • If you die in the nether you respawn in last normal world you were in. Can be turned off by putting CFGrespinnormal=false in config.txt
    • command setspawn will set the location to current location
    Version 0.5.3
    • Permissions no longer required to have a config file
    Version 0.5.2
    • workaround for portal block said to be air (randomly stops working until server restarted - bukkit issue)
    • debug messages removed
    • fixed portal creation on too high or low altitude
    • fixed linking worlds is being only oneway
    • changed indications of 80000 to X and 70000 to _
    Version 0.5.1
    • Added alwayspunchthrough config option
    Version 0.5
    • Command for Air pocket and platform creation portals for lazy people
    • Command for teleporting to a portal
    • Configuration to adjust command based teleportation target y wise to avoid suffocation or fall damage, default is on, but can be changed in configuration file
    • Command to change the above configuration on the fly
    • Command to list all portals in current world and their locations
    • removing any block of a portal result in the portal to collapse and are thereby removed from list of registered portals
    • A portal that collapses, drops all of it obsidian blocks unless it was autocreated
    • Autocreated portal collapse when untargetted
    • Autocreated portals cannot change target
    Version 0.4
    • Symmetric Portal creation criteria
    • Portal linking feature - link individual portals
    • Configurable commands
    • Commands and permissions changed
    • World linking feature - link worlds rather than all worlds being directly accessible to each
    • worlds not saved when world created or imported fixed along with some other world related commands
    • Somewhat more useful search function for higher ratio to lower ratio worlds
    Version 0.3.2
    • fullsearch no longer teleports you but lists all locations
    • fullsearch allows specification of size and default changed to 400x400
    • proper colouring of text
    • np location displays corresponding locations in all worlds
    • indication no longer displays location
    • indication no longer displays two kinds of it
    Version 0.3.1
    • Save files to keep data on how portals are linked (needed for x8 to x1)
    • x8 to x1 auto portal creation finally working
    Version 0.3
    • workaround for "Player moved wrongly" bug.
    • moon higher up now updating every 2 hours (72 seconds your time) rather than 8
    • More output, less guessing
    • Fixed some permission names
    • Fixed always displaying indication 0 [0,0(0)] before any interaction with a newly loaded
    • Reverted to 8x8x8 rather than 8x1x8 even though it means only 1/8 of the nether is within reach of a 1x1x1 world. Since 8x1x8 makes readings make less sense.
      world
    • Compass starts moving erratically and spin on full indication
    • np tp <world> <x> <y> <z>
    • np fullsearch <target world>
    Version 0.2
    • set ratio fixed.
    • Normal worlds have a default ratio of 1 and nether default 8.
    • Auto-created portals are now lit (apparently problems with it still)
    • Improved long range search giving readings inverse square proportional to manhattan distance
    • Eternal night in the nether - good bye blue sky!
    Version 0.1
    • Initial Release

    Donate (Not necessary but appreciated)
     
    Hrdkr, harakiwi and Maxwolf Goodliffe like this.
  2. Offline

    asdaarg

    A new feature in the newest update is that world can be linked to each other, but also and I should have emphasized this that you have to link them to get any readings so type e.g. /world link world nether

    Not sure how you managed to get that. Which version of craftbukkit are you using, and do you get the same if you turn off all other plugins and don't get this if you turn off all?
     
  3. Offline

    T4L_Goose

    Can you make there be a config option to make it so portals ALWAYS punch through to the nether so people don't have to use a command all the time?
     
  4. Offline

    asdaarg

    Sure.
     
  5. Offline

    T4L_Goose

    Thank you so much. I love this plugin very much.

    So I take it you just copy paste the "config.txt" tab up there and paste the contents into a text file named "config.txt" and put it in the Netherportal folder?

    Err, nevermind, that just turns the mod off I guess...

    Where is the config file?
     
  6. Offline

    Rockdude48

    I use /np world create nether nether and in the console it says "np is not a command" or sumthin i need help
     
  7. Offline

    asdaarg

    Well yeah that's what you're suppose to do, but if that doesn't work, besides that I have to fix it, just copy the alwayspunchthrough option

    It's now /world create
     
  8. Offline

    T4L_Goose

    Yeah It doesn't work at all.

    There isn't a config file anywhere to be found either.

    I copied over just the punch through option to a new text document and named it "config.txt" and put it in the netherportal plugin folder. It just breaks the plugin and makes it stop working.
     
  9. Offline

    asdaarg

    The config file is optional, and not included by default, you create it if you want to change anything. Does it give you any error messages or in what way does it "break it" and what version of craftbukkit are you using? Try updating your craftbukkit to 548.
     
  10. Offline

    T4L_Goose

    I have the most recent version.

    It doesn't give me any errors, the plugin just literally stops working, like it's not even installed.
     
  11. Offline

    Argol228

    Hi, I have been wanting something like this just for me and my friends. I downloaded it and when I run my Server I get confirmation that NetherPortal is enabled but then I get unspecified path errors for Portals.txt Word targets.tct and Worlds.txt Do I have to manual create them, they are not in my server or plugins folder

    I created a portal in game in a nice big open area (I used the Obsidian saving method i.e no corners) but when I enter I get the refused to teleport message. I got a compass and it doesn't do anything.

    Also it would be good to be able to turn off the extra features and keep it the same as it is in single player.
     
  12. Offline

    Magik

    /world - conflicts with Essentials =(

    IMO all of the commands should be under a common command like /np



    And without uninstalling Essentials, I havn't been able to get the gates working to teleport you to the nether....
     
  13. Offline

    asdaarg

    I tested it with 550 which was the newest at the point, and had no problems. What might be causing problems though because I just tested it, is if you have an extra line at the bottom of the file, but you should then get java.lang.StringIndexOutOfBoundsException. Are you looking for errors in the console? If you are not running craftbukkit in a terminal (or cmd.exe in windows) you wont be seing any error messages. You can also check your server.log


    The plugin creates them once it registers any portals or worlds etc. Perhaps I should just remove those messages.
    Read the instructions in the first post.
    [/quote]
    It does not work exactly like in single player, mainly because I don't exactly like how it works in single player (searching for nearest open space on auto creation bending the 8x rule) and I don't really intend to simulate that. It does however allow NetherGate-type behaviour i.e. it creates airpocket and platform when needed, by either specifically using the command (the only option if you have more than one target worlds) or automatically by setting alwayspunchthrough=true in config.txt


    I only had them under np until they were configurable. Now you can put e.g:
    CMD_world_create=create_world
    in a file you create called plugins/NetherPortal/config.txt and it changes the command so you can type:
    create world nether nether
    You would have to be more specific than this.
     
  14. Offline

    T4L_Goose

    I found this:

    Code:
    2011-03-13 07:32:30 [SEVERE] Lcom/nijiko/permissions/PermissionHandler; loading NetherPortal v0.5.1 (Is it up to date?)
    java.lang.NoClassDefFoundError: Lcom/nijiko/permissions/PermissionHandler;
        at java.lang.Class.getDeclaredFields0(Native Method)
        at java.lang.Class.privateGetDeclaredFields(Unknown Source)
        at java.lang.Class.getDeclaredField(Unknown Source)
        at com.asdaarg.bukkit.NetherPortal.NPCommand.NPCommand_init(NPCommand.java:66)
        at com.asdaarg.bukkit.NetherPortal.NetherPortal.onEnable(NetherPortal.java:107)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:414)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:188)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.PermissionHandler
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:30)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
     
  15. Offline

    Magik

    I don't have the logs right now, but when I tried that I got an Exception + stack trace from reading the config.txt file - I just copied the example up at the first post.
     
  16. Offline

    asdaarg

    This is the type of errors I hate. I don't know really if I Can do anything about it. Have you tried to switch to group manager's fake permissions?
    Can't do much about it until I see it
     
  17. Offline

    T4L_Goose

    I don't even have the permissions mod. All I have is the Factions mod and the Loginmessage mod.
     
  18. Offline

    Metatoaster

    I tested this, and the nether always at night is a good idea, it does look better than having blue fog.

    However I tried with two different target Nether worlds, and finding a place to build a portal was nearly impossible: fullsearch wouldn't return anything with the default range, I had to up it to 1600 - but when trying values around 1600 and 2000 (which returned results) I got kicked out from the server almost every time. Even with those crazy ranges, though, I got 4 locations at the most, rather close to each other. It kind of kills the use of the Nether for fast travel if you have to walk incredible distances to open a portal there, doesn't it?

    Still, I kind of like the idea of looking for a proper spot for the portal, but the compass isn't really helpful (as others have said). When standing on a block that reads 80000, two blocks below the value is already 4000 or so. Why not have numbers change more gradually as you approach a good spot?

    Bugs:
    • Linking worlds doesn't seem to create a mutual target, it creates a single line in np_worldtargets.txt
    • Portal creation has its problems, in both of my tests (restoring from a fresh backup of my server world and deleting this mod's config files every time), the second portal I created didn't work at all, even though the following portals were listed in np_portals.txt:
    Code:
    nether,112,66,-83,2,0,null,1
    nether,121,88,-150,3,0,null,0
    world,900,81,-668,0,0,null,0
    world,968,256,-1200,1,0,null,1
    
    I also got various errors, as the following excerpt shows. I have quite a few mods installed but I never saw those error messages (well, except the "can't keep up" message):

    Code:
    2011-03-15 06:02:08 [INFO] 1, 0
    2011-03-15 06:02:29 [INFO] 1, 0
    2011-03-15 06:02:32 [INFO] Creating portal at111,66,-83 fails:1/70/66|111,-83
    2011-03-15 06:02:32 [INFO] Creating portal at111,66,-83 fails:1/70/66|111,-83
    2011-03-15 06:02:32 [INFO] Creating portal at111,66,-83 fails:1/70/66|111,-83
    2011-03-15 06:02:33 [INFO] Creating portal at111,66,-83 fails:1/70/66|111,-83
    2011-03-15 06:02:33 [INFO] Creating portal at111,66,-83 fails:1/70/66|111,-83
    2011-03-15 06:02:45 [INFO] 1, 0
    2011-03-15 06:02:53 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-03-15 06:02:55 [INFO] player stopped existing
    
    Additional suggestions:
    • You could use percentages (0 - 100) instead of the rather weird 0-80000.
    • When in "listen mode", the compass could point towards the X,Z coordinates of the nearest good spot.
    • A list of options for each world to make portal location validation more lenient would be useful: for instance for the world "hell", do punchthrough/create platform for any spot that is in the air, or on the contrary, in solid blocks. Or both. Or only require that X underlying blocks fulfill the condition, and punchthrough for the rest.
     
  19. Offline

    asdaarg

    That's quite bad. I've used fullsearch on 4 nethers or so, and at most I had to do a search on size 1000. The thing is, there are sometimes these large lava seas in the nether sometimes surrounded by cliffs that no portal can be constructed on, and on top of this the normal world by default has only access to 1/8 of the nether. The fullsearch feature is only meant as a tool to quickly try things out especially for debugging purposes, not for gameplay. If you can't find anything on a large area enough to kick you out, try teleporting 1000 or 2000 blocks from your location and try there. Either that or generate a new nether (I suppose it is rather rare you get a big lava sea right at spawn). One more thing you could do is to recenter the normal world or the nether. The fullsearch I suppose could be useful too for checking if the nether is sufficiently accessible from nearby without writing down any coordinates to spoil the search.
    80000 and 70000 are actually just symbolic numbers with specific meaning distinct from the hot/cold type measure. It will for sure not be the final representation and I might even do away with those in favour of other kinds of indications. Finding a guaranteed to be suitable spot using the current indication system can take anything from 5 to 30 minutes in my experience, and I have no doubt it could take much longer if you get a bad nether. The compass readings can be a bit tricky since "hot" does not guarantee a suitable location, just more likely and even cold locations can give 80000 next to them although it is still unlikely to be a suitable location.
    I appreciate the bug report. Will try to fix the first one. The second one, if it is the case that the portal doesn't say anything at all when you enter it, is I'm afraid an issue with craftbukkit if you are using 493 or something near it (Getting the block at player location reports air, not portal) and starts working normally after restarting craftbukkit (not reload). Has not occurred to me since I started using 548 though, so I assume it was an issue that got fixed.
    They are actually some leftover debug messages that I initially left in case someone encountered problems with auto creation of portals, but I think I can remove those since I've never had a problem with it anymore.

    It is rather difficult for me to have it specify any absolute probabilities without resorting to some kind of fullsearch that goes on in the background. It is not exactly a probability either, since it is a distance to indication of good location type of measure. The exact meaning of the hot/cold measure which rarely goes above 20000 is that within a 20x20x20 box in any target world centered at the corresponding location of the player location, the indication is a number proportional to the number of air on solid blocks and to the inverse squared distance to center, and there is some white noise added to it as the search is done randomly.
    That would make it too easy IMHO, and it would also require a fullsearch type of algorithm to be run in the background to find those locations.
    I might put in some feature that allow you to set the difficulty, but I would rather not do it in any way radical enough that I'd have to write another kind of indication system.
     
  20. Offline

    Wilky

    Does attempting to ignite a portal with no room in the linked world return a message? I've set things up using /world center such that I should have the needed space in both my Nether and Normal realms. Even doing this, building a traditional nether portal doesn't function properly. Igniting the obsidian simply flames out and does not start the portal up. Am I missing something?
     
  21. Offline

    Metatoaster

    Actually that's a suggestion I forgot: a separate setting for the Y scaling would be useful imho. 1 to 1 scaling in that dimension might actually help in finding a suitable location to teleport to in the Nether.

    Which reminds me of yet another bug: I created a portal pretty high up in the Nether, and when I entered it (after doing the "punch-through" command, I think) I was teleported on top of a pair of obsidian blocks with another pair nearby, which seen from above would look like this:
    Code:
    x x
    x x
    
    It was at the top of the buildable world so I suppose the portal generation in the normal world got cut off or something. It would make sense to generate a complete portal a few blocks lower so it fits into the buildable area...

    I kind of understood that, but do you think you could run large searches in a way that doesn't overload the server? Such as processing the search in a low-priority background thread. As I said a search around 1600 kicks me out even though I'm the only test user on the server.

    I'm not sure what they're worth, but I had a few ideas for indications:
    • Some kind of ritual where you place blocks in a certain pattern including white wool, and some of the wool blocks turn a different color to indicate either a good spot or a direction. Of course with the search system as it is this could get incredibly time consuming.
    • (Only applicable when linking to a nether world) Add some funky events in the real world near areas with a "strong nether connection", such as a few nether blocks appearing, or unnatural outcroppings of stone, deformed trees, etc. Or funky colored sheep and trees that spontaneously combust :p. In short, anything that might make the player aware that the place is strange without even looking for it. Of course in an area with a lot of favorable spots the number of these events should be limited.
      Then again this might require a fullsearch in the background, which doesn't seem like a good idea for now.
    This was with 531.

    Well, don't rewrite your plugin for me :) . But I think that the idea needs refining and maybe toning down a bit before it's usable by regular players.

    Lastly, I get this message from CraftBukkitUpToDate:
    Code:
    19:51:06 [INFO] Not able to update NetherPortal.jar check if URL http://www.winterspring.se:8001/namespace/NetherPortal.jar correct. If not ask the Author to give me the new one.
    
     
  22. Offline

    T4L_Goose

    For some reason, my portals stop working after a undetermined period of time. I restart my server, and it works fine, but then it just stops. I can just walk through a portal like its a vanilla minecraft server.
     
  23. great plugin dude but i made a world and can't tun the monsters off and i want that
     
  24. Offline

    asdaarg

    Seems to be an issue with craftbukkit. Never had that happen though to me. Igniting a portal has nothing to do with my plugin which only registers player moving in a portal block (and earlier versions of craftbukkit seems to have problem with that too saying its air.) Btw, if you mean autocreation of portals, then yes, my plugin attempts to ignite the autocreated portal and it does not always succeed (I have no idea why), so have your flint and tinder with you always.

    I actually did that in version 0.2 and it result in a lot of problems, especially making indication make a lot less sense. I could make an option for it but I don't think its worth it. Having the nether split up bands is useful also for separating different worlds from interfering with each other's readings.

    I'll try to fix that in the next update. Thanks for the bugreport. I will probably just have it prevent the portal from being created at altitude 123 and above.
    Yes, I might do something like that later that would open up a venue for alternative methods of indications as well. I'm not sure if bukkit supports multithreading though, I thought it didn't, but I could have it done in a timed event in tiny portions at a time.





    I like the second suggestion, since had sort of similar idea, (although this was suggested by others before me) of "nether corruption" around portals you've created, but this is much more elaborated. I think it could be done as an optional method of indication and I might later implement "nether corruption" that utilizes the same algorithm.

    I'll have to upload a separate jar just for that since those files aren't updated.



    Probably Bukkit issue, if the portals just say nothing when you try to enter them, since bukkit calls the portal blocks air. Try with 548.

    Thats a good idea. I'll see if I can get it implemented in the next update.
     
  25. Offline

    Profanwolf

    How about a way to enable/disable pvp in certain worlds
     
  26. Offline

    Metatoaster

    Those belong in another plugin imo. CrowdControl for instance already gives you multiworld-enabled monsters control. Also, what's with the blunt feature requests?
     
  27. Offline

    T4L_Goose

    I have the most up to date version of bukkit and it still happens. Seems to only happen to my portal and not everyone elses, though there is no difference in the way they were created. They were both hand crafted, and I used the punch through command on both of them. My friends portal works, though mine will just stop working randomly.
     
  28. Offline

    Metatoaster

    Are the bukkit devs aware of this one (and do they have a solution in sight)? I heard a lot of people mention that bug, yet I haven't seen a discussion thread about it in the development forum, and a fast browsing of Leaky didn't reveal any related issue either.
     
  29. Offline

    asdaarg

    I'll just make a workaround for that and put those blocks in a hashmap to be detected.
     
  30. Offline

    T4L_Goose

    Are you ever going to fix that issue with the config file breaking everything?
     
  31. Offline

    asdaarg

    I managed to replicate your error (I removed permissions.jar). It got solved as soon as I put it back. It just boggles my mind that it needs it there for the config file to work. Anyways problem fixed now, since I moved the imports to another file.
     

Share This Page