[TP] Creative Gates [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by Olof Larsson, Jun 23, 2011.

  1. Offline

    Olof Larsson

  2. Offline

    Spartan3399

    How do i install the latest because its all .classes : /
     
  3. Offline

    Jacek

    Wow.

    Code:
    if (event.getFrom().getBlock().equals(event.getTo().getBlock())) return;
    Thanks you :D

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

    Spartan3399

    Sorry i'm new to this kind of stuff. : / yes i'm a noob.

    Oops i didn't mean to reply to both of your things.

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

    Jacek

    Okay... don't open the .jar file just put it in your plugins folder.
     
  6. Offline

    shamonj03

    Pretty sure the soft depend needs to be changed from MultiVerse to MultiVerse-Core.

    Probably a problem more with multi verse then your plugin, but when I reload the plugins this exception is thrown and I have to reset all the portals.

    PHP:
    2011-08-25 19:42:14 [SEVERECould not pass event PLAYER_TELEPORT to Multiverse-Core
    java
    .lang.NullPointerException
        at org
    .anjocaido.groupmanager.permissions.NijikoPermissionsProxy.permission(NijikoPermissionsProxy.java:242)
        
    at org.anjocaido.groupmanager.permissions.NijikoPermissionsProxy.has(NijikoPermissionsProxy.java:225)
        
    at com.onarandombox.MultiverseCore.MVPermissions.hasPermission(MVPermissions.java:122)
        
    at com.onarandombox.MultiverseCore.MVPermissions.canEnterWorld(MVPermissions.java:71)
        
    at com.onarandombox.MultiverseCore.listeners.MVPlayerListener.onPlayerTeleport(MVPlayerListener.java:108)
        
    at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:300)
        
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:373)
        
    at org.getspout.spout.player.SpoutCraftPlayer.updateNetServerHandler(SpoutCraftPlayer.java:642)
        
    at org.getspout.spout.Spout.onEnable(Spout.java:147)
        
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
        
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
        
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
        
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:452)
        
    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
        
    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:436)
        
    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)
     
  7. Offline

    Spartan3399

    All i see are class files.

    *When i unzip*

    com folder
    Meta-Inf
    Plugin.yml

    *When i open com*
    massivecraft>Creativegates

    Just .classes
     
  8. Offline

    Ketrel

    The instructions say "Build a cool frame in any material(s) you like.", but if I use more than one material, the gate isn't opening.
     
  9. Offline

    Koltrast

    Don't open/unzip or do anything with the .jar file, just put it in your plugins folder.
     
  10. Offline

    Caid

    Such a beautiful plugin.
     
    Olof Larsson likes this.
  11. Offline

    Olof Larsson

    I can NOT recreate that bug. For me it works with different materials.
     
  12. Offline

    Ketrel

    Multiple materials in the same gate?

    I can make two gates with different materials and they'll both open, but I was trying to make gates out of all mossy cobblestone, with a block of Lapis on both sides.


    EDIT: nevermind, it's working now after I reloaded, must have been a 1 time thing then.
     
  13. Offline

    Xmillsa

    How are gates saved now?
    I ask because mine aren't being saved, all gates have to be remade after every server restart or use of the /reload command and it's quite annoying...

    I have these files in the "CreativeGates" folder:
    conf.json
    lang.json
    tags.json

    I can make gates, they work fine, there are no errors in console, the only problem is the gates aren't being saved.
     
  14. Offline

    Ayaron

    Hmm. Yes. Could you put a warning like that in the Change Log in future, please? I didn't notice till quite a while later...

    :O)
     
  15. Offline

    Koltrast

    I have the same problem.
     
  16. Offline

    Spartan3399

    All i see is a zip so i just drag that in?
     
  17. Offline

    Ketrel

    Depending on your operating system a .jar might show up as a archive file (like a zip) because it technically is. Are you positive you're seeing a file ending in .zip and not .jar?
     
  18. Offline

    Olof Larsson

    This is very strange. My gates are saved as they should. There is a gate.json file that contains all the gates. It should be created automatically.
     
  19. Offline

    Spartan3399

    Its a .zip
     
  20. Offline

    Koltrast

    It isn't, only conf.json, lang.json, tags.json.
     
  21. Offline

    Denney

    I'm having the same issue. My gates aren't being save anymore. There is a gates.json file but it's always empty.

    Edit: If I delete the gates.json file, it isn't recreated when the server is started. Also, I'm using WorldManager if that has any effect (doubt it though).
     
  22. Offline

    Toro

    Same here.
    The gates.json is always empty and I have to reinitiate all the gates at every reload or startup.
    I use DimensionDoor to manage the worlds and have Craftbukkit 1060.

    Can you give us an example of a gates.json with 3 doors so we can hardwrite it till the bug is gone ?
     
  23. Mark up another person who was having these issues. In my case, I was using different colours of wool, but once I changed the gates to all one block (glowstone), they started working.

    And I also have the occasional leak. Usually I have to break the gate and recreate it to get the water to stop flowing all over the place.
     
  24. Just kind of a quick note as I'm running out the door, but lately I keep getting the following traceback on startup:
    Traceback (open)
    Code:
    [SEVERE] Error occurred while enabling CreativeGates v1.2 (Is it up to date?): null
    java.lang.NullPointerException
            at com.massivecraft.creativegates.Gate.open(Gate.java:59)
            at com.massivecraft.creativegates.Gates.openAllOrDetach(Gates.java:118)
            at com.massivecraft.creativegates.CreativeGates.onEnable(CreativeGates.java:40)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Plugins (open)
    Code:
    AutoRepair               CreativeGates.jar      MeasuringTape              SortInventory          dynmap
    AutoRepair.jar           CreeperHeal            MeasuringTape.jar          SortInventory.jar      dynmap.jar
    BananaCakeTown.jar       CreeperHeal.jar        MineBackup                 SphereWorld            egtCaelumProcurator
    BananaGen.jar            DimensionDoor          MineBackup.jar             SphereWorld-953-5.jar  egtCaelumProcurator.jar
    BananaImageToMap         DimensionDoor.jar      MinecraftRKitPlugin.jar    Spout                  getID
    BananaImageToMap.jar     DisableIt              MobileAdmin                Spout.jar              getID.jar
    Blink                    DisableIt.jar          MobileAdmin.jar            SpoutCast              iMOTD
    Blink.jar                Glowstone Lanterns     MultiHome                  TextureSpout           iMOTD.jar
    BlocksOnGlass            GlowstoneLanterns.jar  MultiHome.jar              TexturedSpout.jar      milkAdmin
    BlocksOnGlass.jar        Help                   NaturalGiants              Vanilla                milkAdmin.jar
    Cenotaph                 Help.jar               NaturalGiants.jar          Vanilla.jar            obuJustShutTheHellUp.jar
    Cenotaph.jar             Help.txt               ObuShutTheHellUp           WorldEdit              planetoids.jar
    CleanroomGenerator.jar   LagMeter               PermissionsBukkit          WorldEdit.jar
    CraftBukkitUpToDate      LagMeter.jar           PermissionsBukkit-1.1.jar  WorldGuard
    CraftBukkitUpToDate.jar  Landmarks              Planetoids                 WorldGuard.jar
    CreativeGates            Landmarks.jar          PortalLink.jar             craftscripts
    conf.json (open)
    Code:
    {
      "wand": 347,
      "block": 57,
      "maxarea": 200
    }
    gate.json (open)
    Code:
    {
      "3": {
        "sourceCoord": {
          "worldName": "mikesworld",
          "x": -1,
          "y": 63,
          "z": 19
        }
      },
      "2": {
        "sourceCoord": {
          "worldName": "thecake",
          "x": -80,
          "y": 89,
          "z": 25
        }
      },
      "1": {
        "sourceCoord": {
          "worldName": "thecake",
          "x": -57,
          "y": 96,
          "z": -42
        }
      },
      "7": {
        "sourceCoord": {
          "worldName": "thecake",
          "x": -7,
          "y": 94,
          "z": 79
        }
      },
      "5": {
        "sourceCoord": {
          "worldName": "Planetoids",
          "x": 7,
          "y": 73,
          "z": 10
        }
      },
      "4": {
        "sourceCoord": {
          "worldName": "sphere",
          "x": 3,
          "y": 86,
          "z": -1
        }
      }
    }
    

    Not really sure if you need anything else, but I can clean this up when I get home later and hopefully I'm not faceplanting on an obvious and/or reported issue. Sorry for the mess, I just kinda wanted to actually get it posted up.
     
  25. Offline

    Ayaron

    Also having problems I've afraid. Using DimensionDoor on Bukkit 1060. Last time server restarted none of the gates worked and water flowed all over the floor. Couldn't reactivate them either. Plugin wasn't working. Restarted the server and CreativeGates was working again so just had to clean up the water and re-activate.

    I've gone back to the previous version (luckily I didn't delete any of the old style data files so most of the gates on the server were already there) until this gets sorted.

    I wonder whether there's an instability in this MassiveCraftCore thing you're using now?

    Hope you sort it soon becuase my players love this plugin. But no rush, as we're happy enough using the 1.1.4 version.

    :O)
     
  26. Offline

    jintarokee

    Show Spoiler

    10:48:54 [INFO] [CreativeGates v1.2] === ENABLE START ===
    10:48:54 [INFO] [CreativeGates v1.2] No permission plugin detected. Defaulting to native bukkit permissions.
    10:48:54 [INFO] [CreativeGates v1.2] === ENABLE DONE (Took 47ms) ===

    Doesn't work with bPermissions
     
  27. Offline

    M4xwellou

    Hey man !
    First of all thanks a lot for this, I've been using it for quite a while now and that's just perfect :D
    Great work !

    I'd like to offer you a suggestion that could make it just WONDERFUL (if nobody already suggest that):

    Could you add the possibility of making a gate, private ?
    For example, you create your first gate out of Cobble, and then you have two choices:
    Left click (with the clock by default) => normal gate
    Right click (with the clock by default) => private gate

    Not finished ! :p
    Then you create your second gate out of cobble and there again you have the same choice !
    That means, if you made the second NOT private, people could take the second gate but can't come back from the first !
    And if you make the second private, only YOU can use these two portals !
    And to finish, when someone try to use a private gate it pops up a message like "This gate is private !"

    That's it :p
    Thanks again for this plug in!
     
  28. Offline

    TheMaa

    Nice plugin! :D
    But when I destroy one of the frame block, the portal won't disable.
     
  29. Offline

    Olof Larsson

    What is bPermissions? A plugin? You have to give much more info please.
     
  30. Offline

    jintarokee

  31. Offline

    Ayaron

    Make sure you aren't using SuperPickaxe or any other insta-destroy plugins. Need to mine it away the old fashioned way. ...which means, never make a gate out of Bedrock!
     

Share This Page