Inactive [TP] AncientGates v1.0.2 - Easily create portals with custom design [1000]

Discussion in 'Inactive/Unsupported Plugins' started by locutus, Jul 22, 2011.

  1. Offline

    locutus

    AncientGates - Easily create portals with custom design
    Author: Olof Larsson
    Maintained by: bladedpenguin
    Version: 1.0.2
    With this plugin the server operators (OPs) can create gates that will teleport anyone who enter to a location specific to that gate. The hightlights are: It is so darn easy to use! [​IMG] and The gates can look any way you like \0/

    Try the ingame command: /gate

    Download: AncientGates.jar
    Userguide: mcteam.org

    Thought first you should take a look at the demonstration I and karibu6 created:

    Commands
    • /gate help,h,? *[page] Display a help page
    • /gate create,new [id] Create a gate
    • /gate delete,del,remove [id] Delete a gate
    • /gate setfrom [id] Set “from” to your location.
    • /gate setto [id] Set “to” to your location.
    • /gate open [id] Open that gate
    • /gate close [id] Close that gate
    • /gate list,ls Display a list of the gates
    FAQ
    Why the name AncientGates?
    Because the purpose of this plugin that I envision is that players should not be able to create gates to other worlds themselves. The server operators build gates with cool ruins around them and in order to get to another world the players need to find one of those ruins.

    Who can create a gate?
    Only server operators! Not normal players. There is no suport for any permissions plugin.

    Who can destroy a gate?
    Anyone if you do not use a third-party protection plugin like Factions.

    Are there IConnomy integration, Features for user to dial other gates etc?
    Nope. This plugin is very minimalistic and plain. Server operators manage the portals players use them any time they are open.

    Installing
    1. Download the latest release: https://github.com/bladedpenguin/minecraft-ancient-gates/raw/master/AncientGates.jar
    2. Put AncientGates.jar in the plugins folder.
    ToDo
    • Find a way to inexpensively protect gates.
    Changelog
    Version 1.0.2
    • Fix seldomly occuring error on teleportation.
    Version 1.0.1
    • Fixed compatibility with half blocks.
     
  2. Offline

    bocaj812

    Can you add permissions? and does this support minecarts teleporting through the gate?
     
  3. Offline

    Bronski

  4. Offline

    locutus

    Yeah, I think so. I'll try to fix any bugs, but this plugin serves my purposes very well as it is. I'm keeping it updated to the latest craftbukkit, no more.

    If I have any free time, I'll probably figure out minecart support and an option to replace purple portal with water. I'm far more likely, however, to do development work that actually applies to my own server.

    I invite anyone with the time and inclination to add any features they want. I will help you debug and maintain.
     
  5. Offline

    rmb938

    When I delete a gate

    Code:
    11:01:00 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'gate' in plugin AncientGates v1.0.1
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:338)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:727)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:691)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:684)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:87)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
            at org.mcteam.ancientgates.Gate.close(Gate.java:87)
            at org.mcteam.ancientgates.commands.CommandDelete.perform(CommandDelete.java:18)
            at org.mcteam.ancientgates.commands.BaseCommand.execute(BaseCommand.java:56)
            at org.mcteam.ancientgates.Plugin.handleCommand(Plugin.java:125)
            at org.mcteam.ancientgates.Plugin.onCommand(Plugin.java:110)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    
     
  6. Offline

    locutus

    I'll take a look at it
     
  7. Offline

    BlueGhostHD

    Same thing here.
    Code:
    17:07:29 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'gate' in plugin AncientGates v1.0.1
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
    at org.mcteam.ancientgates.Gate.close(Gate.java:87)
    at org.mcteam.ancientgates.commands.CommandDelete.perform(CommandDelete.java:18)
    at org.mcteam.ancientgates.commands.BaseCommand.execute(BaseCommand.java:56)
    at org.mcteam.ancientgates.Plugin.handleCommand(Plugin.java:125)
    at org.mcteam.ancientgates.Plugin.onCommand(Plugin.java:110)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
     
  8. Offline

    gebuswon

    Hey, i have a problem..

    when i do in-world tp's, the server kicks me and says that im "moving to quickly :( Hacking"
    Any Ideas how to disable this?
     
  9. Offline

    MABonnici

    Hi, I've been using this plugin for a long time now, I can still use gates I've already created but now whenever I try to open a gate I get "An internal error occurred" ingame and the following error in the consle:

    Code:
    2011-08-18 14:18:54 [INFO] MABonnici used command "/gate open otherworldb"
    2011-08-18 14:18:54 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'gate' in plugin AncientGates v1.0.1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:352)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:737)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:435)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.StackOverflowError
        at java.util.concurrent.atomic.AtomicReferenceArray.<init>(Unknown Source)
        at com.google.common.collect.CustomConcurrentHashMap$Impl$Segment.newEntryArray(CustomConcurrentHashMap.java:769)
        at com.google.common.collect.CustomConcurrentHashMap$Impl$Segment.expand(CustomConcurrentHashMap.java:994)
        at com.google.common.collect.CustomConcurrentHashMap$Impl$Segment.put(CustomConcurrentHashMap.java:930)
        at com.google.common.collect.CustomConcurrentHashMap$Impl.put(CustomConcurrentHashMap.java:1438)
        at org.getspout.spout.block.SpoutCraftChunk.getBlock(SpoutCraftChunk.java:48)
        at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:64)
        at org.bukkit.craftbukkit.block.CraftBlock.getRelative(CraftBlock.java:121)
        at org.getspout.spout.block.SpoutCraftBlock.getRelative(SpoutCraftBlock.java:106)
        at org.getspout.spout.block.SpoutCraftBlock.getFace(SpoutCraftBlock.java:101)
        at org.getspout.spout.block.SpoutCraftBlock.getFace(SpoutCraftBlock.java:96)
        at org.getspout.spout.block.SpoutCraftBlock.getFace(SpoutCraftBlock.java:16)
        at org.mcteam.ancientgates.util.FloodUtil.getAirFloodBlocks(FloodUtil.java:71)
            ...1000 more
    I noticed that it mentioned spout so I tried again with spout disabled and got this error:

    Code:
    2011-08-18 14:42:13 [INFO] MABonnici used command "/gate open otherworldb"
    2011-08-18 14:42:13 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'gate' in plugin AncientGates v1.0.1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:352)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:737)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.StackOverflowError
        at java.util.zip.Inflater.<init>(Unknown Source)
        at java.util.zip.Inflater.<init>(Unknown Source)
        at java.util.zip.InflaterInputStream.<init>(Unknown Source)
        at net.minecraft.server.RegionFile.a(SourceFile:226)
        at net.minecraft.server.RegionFileCache.c(SourceFile:89)
        at net.minecraft.server.ChunkRegionLoader.a(SourceFile:25)
        at net.minecraft.server.ChunkProviderServer.loadChunk(ChunkProviderServer.java:136)
        at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:65)
        at org.bukkit.craftbukkit.CraftWorld.getChunkAt(CraftWorld.java:96)
        at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:64)
        at org.bukkit.craftbukkit.block.CraftBlock.getRelative(CraftBlock.java:121)
        at org.bukkit.craftbukkit.block.CraftBlock.getRelative(CraftBlock.java:129)
        at org.bukkit.craftbukkit.block.CraftBlock.getFace(CraftBlock.java:113)
        at org.mcteam.ancientgates.util.FloodUtil.getAirFloodBlocks(FloodUtil.java:71)
        ...1000 more
    This happens no matter what I call the gate, I just happen to use the same name in the examples above.

    Using: Craftbukkit #1060
    Ancient Gates: Latest Download, Reported version: v1.0.1

    Any help would be appreciated.
    Thanx
     
  10. Offline

    Kolkanki

    I got kicked for too fast moving everytime i use portal
     
  11. Offline

    briman0094

    So is this plugin really dead? I would like the gates to teleport item drops as well as players, but if the plugin is dead that is obviously not going to happen. If there really will be no more updates, could you release the source so I (or another plugin developer) can update it from now on?
     
  12. Offline

    laserlemons

    hey all of my portals use to work but now they just act like nether portals
    edit: nevermind i'm dumb and forgot that i deleted the jar meaning to update it
     
  13. source is most likely inside not sure but maybe it is :p
     
  14. Offline

    Eyden

    If you do that, you're officially my god.

    Make water instead of portal block please...
     
  15. Offline

    briman0094

    If I get the source, I will make this an option. I prefer portal blocks, but they are noisy so I understand your dislike to them :D. If worst comes to worst and nobody can get me source, I'll decompile it and message the original author :p.
     
  16. Offline

    TehMushy

    I have a portal setup that goes to a town away from spawn, when I go though it, it kicks me and gives me an error that I moved too quickly?

    The portal goes to and from the same world, my bukkit build is 1000.
     
  17. Offline

    Eyden

    Hope you make it quickly, i'm waiting some modifications since 2 or 3 months...
    Some optionnal features in my brain for this plugin :
    -MAKE PERMISSIONS !
    -Make an options in the config.yml to choose portal blok or water.
    -Make an pre-existing item (book/feather/slimeball/wooden stick...) allow ops to know the of the gate just right cliking on a gate.)

    Right now you just have to harass Olof Larsson and/or locutus to get the source code ;)

    You're my Half-God right now dude !!
     
  18. Offline

    locutus

    The Source is on Github. The link is on the OP. You are free to take up this plugin and update it and add the features you'd like. I'm just keeping it from going inactive and working on bugs. I'm happy with it
     
  19. Offline

    Eyden

    briman0094, hope you make our dream !
     
  20. Offline

    Ketrel

    It's not working.... using a portal makes me DC for moving to fast.
    Has there been any fix for this yet?
     
  21. Offline

    locutus

    yes. allow_flight or whatever in server.properties
     
  22. Offline

    Ketrel

    Well that's the thing, I didn't have to do this with the older one, nor do I have to for any other teleportation plugin.
    (And I don't want to allow flight)
     
  23. Offline

    locutus

    Use Nocheat to disallow flight. Or modify this plugin for allow_flight compliance. I'm sure Olaf Larsson will be happy to have the update. If you need a pointer, I believe it has something to do with using outdated methods for relocating the player.

    I'm only keeping this plugin functional. I'm not adding additional features unless I get bored, and I'm not going to get bored. My server, KotH, Transparisteel, and Backstab are my priorities, in that order. Not to mention gallivanting about my country(and sometimes outside it) as an Audiovisual Engineer, and two rather daunting personal projects.

    Sorry.

    Please note: I am still looking into the bug with closing gates. I haven't forgotten about you.
     
  24. Offline

    briman0094

    briman0094 is to the rescue!

    Now that the source is up (yay!), I'll take over this plugin (with due credit, of course :D) and maintain it. My programming life is getting very busy, though, with two plugins, a mod, and two more plugins in development :p.
     
  25. Offline

    locutus

    The source has been up longer than I have been aware of the existence of this plugin.

    Congrats. I hope you have more time than I. I'm sure I don't need to tell you to ask the blessing of the plugin's owner.
     
  26. Offline

    briman0094

    Umm...oh...I didn't notice...lol. Well then, I'll make sure this plugin stays at least as awesome as it is right now :D.
     
  27. Offline

    Eyden

    Love you dude <3
     
  28. Offline

    Ketrel

    I'm not asking you to add any features, but the old one still works in 1000 without causing the disconnect, wouldn't that mean something has changed between his and this, or would that just be from recompiling against the current source?
     
  29. Offline

    locutus

    Hey thats wierd. Now that you mention that, I notice that the source is a version behind the latest jar. Olaf must have fixed it and forgotten to push or something, which caused me to be a version behind when I recompiled. Maybe. I dunno. Good Luck!
     
  30. Offline

    Ketrel

    Yeah, his last source is April 7, but the last jar is April 16.

    Wonder if I can get the updated source somehow.
     
  31. Offline

    Sadra

    Hey ive been looking everywhere for a portal plugin, and this is the best one ive found, well in terms of how complicated it is... Just a suggestion..but i was think for the portals instead of having like a block of nether, have it just air, or have that as an option? Thanks that would help my server alot!
     

Share This Page