[TP] Creative Gates [BukkitDev]

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

  1. Offline

    Olof Larsson

  2. Offline

    buscommando

    Ok, so naturally I used the superpickaxe to dismantle some of my gates.
    Nobody told me not to use the superpickaxe!

    How do i fix my gates now?
     
  3. Rebuild the gate around the portal and break it properly.
     
    buscommando likes this.
  4. Offline

    FRLanc

    But what about permissions? Can somebody show his permissions with creativegates?
     
  5. Offline

    lezyamin

    My gates still wont activate :(
     
  6. Offline

    loopyluke

    Are you able to add options to use a certain item as a ticket for travelling, such as 5 redstone to be taken from the player? If you can do that this plugin would be perfect for what our server needs :)
     
  7. Offline

    moselekm

    I would love if this came with a way to limit user-groups the amount of gates they could make.

    Either way, great work, but for now I am only allowing admin to use it.
     
  8. Offline

    Eddienator

    Hi, i got this to work, but im wondering 1 thing. How can i open the jar file? what programme do i need?
    If you can't open the jar-file, how do i give everyone permission to walk through gates? I have permissions.
    Thank you:)
     
  9. Don't open the .jar file. Put it into the plugins folder and run the server. Consult the Permissions page on how to add permissions, and add creativegates.use to everyones groups.
     
  10. Offline

    Technius

    I found that the best way is to break the diamond block at the bottom of each gate....

    And this plugin is very good! You should add some sort of economy support or add gates that only admins can use.

    example for economy: you also have to hit the top block (diamond) with the clock. When you use it you have to pay.

    example for admin-only: you have to hit the bottom diamond block with the clock and hit it again with a compass. When a non-admin tries to use the gate the use will get a message that says "You don't have to permissions to enter this gate"
     
  11. Offline

    Jacek

    I love how simple this is, and how it's not command based. There is one problem I have on my server though, I use this between worlds and when a user enters the portal that is not allowed to go to a certain world they get spammed with "you don't have permission" messages because the teleport event constantly fires when they move.

    So could you add a check in the onPlayerMove method to see if their block changed

    Code:
    if (event.getTo().getBlock() == event.getFrom().getBlock()){
        return;
    }
    Might add a bit more efficiency too :)
     
    Olof Larsson likes this.
  12. not working since bukkit 1060? please confirm
     
  13. Offline

    Jacek

    Working fine for me on 1060
     
  14. yes thanks since fixed, since updating to 1060 it had reset all the portals, had a small leak of water, but just had to re activate with clock
     
  15. Offline

    Jonchun

    Are permissions working for you? (I'm using 1000 but I'm asking anyways lol)

    For some reason, everyone on my server is able to use portals even without the .use node...
     
  16. Offline

    Jacek

    Sorry but I have everyone allowed to use portals so I can't really help there.
     
  17. Offline

    Jonchun

    ah i see. oh well
     
  18. It doesn't seems that the plugin detect color of wool... Could you please put it in your todo ?

    Thanks
     
  19. Offline

    weini37

    Now you can, sry it was my fault :)
     
  20. Offline

    HexedGoth

    does this work on CB 1060?
     
  21. so I am still getting this segment of error from creativegates.
    2011-08-11 01:05:37 [INFO] [CreativeGates v1.1.4] ===== ENABLE START
    2011-08-11 01:05:37 [INFO] [CreativeGates v1.1.4] Loading conf.txt ...
    2011-08-11 01:05:37 [INFO] [CreativeGates v1.1.4] Wand: Watch
    2011-08-11 01:05:37 [INFO] [CreativeGates v1.1.4] Block: Diamond block
    2011-08-11 01:05:37 [INFO] [CreativeGates v1.1.4] Max Area: 200
    2011-08-11 01:05:37 [SEVERE] Error occurred while enabling CreativeGates v1.1.4 (Is it up to date?): No enum const class org.bukkit.World$Environment.Region
    java.lang.IllegalArgumentException: No enum const class org.bukkit.World$Environment.Region
    at java.lang.Enum.valueOf(Unknown Source)
    at org.bukkit.World$Environment.valueOf(World.java:673)
    at com.massivecraft.creativegates.WorldEnv.load(WorldEnv.java:67)
    at com.massivecraft.creativegates.P.onEnable(P.java:43)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)


    Happens everytime I link gates up (same world or 2 worlds) and shut the server down then start it up again. Can anyone share any light on this matter?
     
  22. Offline

    xybre

    Gates stopped working and I started getting this error:

    Code:
    00:48:24 [SEVERE] Could not pass event BLOCK_PISTON_EXTEND to CreativeGates
    java.lang.ClassCastException: org.bukkit.material.MaterialData cannot be cast to org.bukkit.material.PistonBaseMaterial
            at org.bukkit.event.block.BlockPistonEvent.getDirection(BlockPistonEvent.java:41)
            at org.bukkit.event.block.BlockPistonExtendEvent.getBlocks(BlockPistonExtendEvent.java:37)
            at com.massivecraft.creativegates.listeners.PluginBlockListener.onBlockPistonExtend(PluginBlockListener.java:29)
            at org.bukkit.plugin.java.JavaPluginLoader$43.execute(JavaPluginLoader.java:540)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.BlockPiston.g(BlockPiston.java:70)
            at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
            at net.minecraft.server.World.k(World.java:459)
            at net.minecraft.server.World.applyPhysics(World.java:436)
            at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
            at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
            at net.minecraft.server.World.k(World.java:459)
            at net.minecraft.server.World.applyPhysics(World.java:435)
            at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
            at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
            at net.minecraft.server.World.k(World.java:459)
            at net.minecraft.server.World.applyPhysics(World.java:438)
            at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
            at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
            at net.minecraft.server.World.k(World.java:459)
            at net.minecraft.server.World.applyPhysics(World.java:434)
            at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
            at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
            at net.minecraft.server.World.k(World.java:459)
            at net.minecraft.server.World.applyPhysics(World.java:439)
            at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
            at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
            at net.minecraft.server.World.k(World.java:459)
            at net.minecraft.server.World.applyPhysics(World.java:435)
            at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
            at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
            at net.minecraft.server.World.k(World.java:459)
            at net.minecraft.server.World.applyPhysics(World.java:439)
            at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
            at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
            at net.minecraft.server.World.k(World.java:459)
            at net.minecraft.server.World.applyPhysics(World.java:439)
            at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
            at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
            at net.minecraft.server.World.k(World.java:459)
            at net.minecraft.server.World.applyPhysics(World.java:434)
            at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
            at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
            at net.minecraft.server.World.k(World.java:459)
            at net.minecraft.server.World.applyPhysics(World.java:434)
            at net.minecraft.server.BlockLever.interact(BlockLever.java:159)
            at net.minecraft.server.BlockLever.b(BlockLever.java:130)
            at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:76)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:478)
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            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)
    Here's my plugins:

    Code:
    ~/server/plugins$ ls
    bLog                 CraftBukkitUpToDate.jar  DelayedStop.jar       LWC.jar              MineBackup.jar   PermissionsPlus      VanishNoPickup      WhosThere.jar
    bLog.jar             CreativeGates            godPowers.jar         mChat                mInfo            PermissionsPlus.jar  VanishNoPickup.jar  WorldEdit
    ChangeDat.jar        CreativeGates.jar        godPowers.properties  mChatEssentials      mInfo.jar        SlowHealth           Vault.jar           WorldEdit.jar
    CommandBook          DeathNotifier            Help                  mChatEssentials.jar  p2aliases.jar    SlowHealth.jar       Waypoint            WorldGuard
    CommandBook.jar      DeathNotifier.jar        Help.jar              mChat.jar            Permissions      TntMiner             Waypoint.jar        WorldGuard.jar
    CraftBukkitUpToDate  DelayedStop              LWC                   MineBackup           Permissions.jar  TntMiner.jar         WhosThere
    Here's my CreativeGates/cont.txt:

    Code:
      1 wand: 347
      2 block: 57
      3 maxarea: 200

    Here's my CreativeGates/gates.txt:
    Code:
    world,-163,64,221
    world,-181,64,203
    world,-31,102,8
    world,-61,63,-388
    world,-70,70,1097
    world,-744,70,-849
    world,146,24,-553
    world,155,40,-630
    world,3,79,1
    world,31,62,72

    my CreativeGates/worldenv.txt:
    Code:
    world: NORMAL
    Here's my Bukkit version info:
    Code:
    01:05:02 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-980-g4ed23b1-b1060jnks (MC: 1.7.3)
    01:05:02 [INFO] This server is also sporting some funky dev build of Bukkit!
    Anything else I could provide to help track it down? I'm pretty sure its stopped working when I updated Bukkit.

    And I don't know why its talking about Pistons, there's no pistons within 5 blocks of the gate I was using.

    edit

    Also noticed this from CraftBukkitUpToDate:
    Code:
    01:13:51 [INFO] CButD: Plugin-Update-Check started
    01:13:54 [INFO] CreativeGates.jar changed, try to download the new
    01:13:54 [INFO] Not able to update CreativeGates.jar check if URL https://github.com/downloads/oloflarsson/CreativeGates/CreativeGates.jar correct. If not ask the Author to give me the new one
     
    Olof Larsson likes this.
  23. Offline

    lezyamin

    Somehow i can create gates but sometimes they do not teleport me anywhere and the water starts to drown me... I also cannot destroy gates
     
  24. Offline

    Olof Larsson

    Thanks for an excellent bug report :)
     
  25. Offline

    Jacek

    Any reason why this would not work ?
     
  26. Offline

    skocio

    These are the permissions:
    ?
    Where i need to put the permissions? help?

    Seriously, i don't know how to do that.


    @Please, help.

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

    Vettexl

    I was bored so I made a fan video, this is a simple plugin and I have to say I love it :)

     
    Olof Larsson likes this.
  28. Offline

    Arceuxx

    I have the same problem. Please Help ç_ç
     
  29. Offline

    BattleGroundxx

    Can you add signs so you add a gate to a network and you can choose what gate you want to go to on that network
     
  30. Offline

    Sket45

    Just Wondering but where do I find the Permissions for this Plugin so I can make sure even Builders can use the Gates?... This would be Great to know and Thanx for making such a Great Great Plugin!​
     
  31. Offline

    Olof Larsson

    I am working on an update right now that for example will improve permission support a bit.
    You find the permissions in the OP though. Did you event read the OP? :p
    Or did I missunderstand your question? :)

    I just released version 1.2.0 :)
    It might be worth mentioning that this update will break a little bit.
    The file format was changed so all your gates will be reset.

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

Share This Page