[TP] Creative Gates [BukkitDev]

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

  1. Offline

    Olof Larsson

  2. Offline


    I have a Question, and a Suggestion that's based on an error I've been getting.

    Question: Do you plan on moving this pproject over to dev.bukkit.org anytime soon?

    Suggestion: I'll get an error when for some reason the gate-block (diamond block usually) is "missing" when CreativeGates tries to load on server startup. At this point, CreativeGates will not fully load and break. My suggestion is: Stop/fix the breakage, 'mark' the 'broken gate' and display the broken gate's coords to the server Ops so they can go and fix it. This would make this plugin just that much better IMO.
  3. Offline


    Not trying to sound bad or anything, I love the plugin and it's heavily used on my server, but I'm still running 1.1.4 since it seems to save the gates regardless of whether I wait an hour or not.
    Is there any chance of making the gates save like it does in 1.1.4? (not sure how they're saved in 1.1.4 but it "seems" different/better in my opinion)
    Possibly even save on creation/destruction of a gate?
  4. Offline


    HOw do i install it? its a zip file conating a bunch of classes and folders, there is no .jar

  5. What?

    Download the .zip from github (CreativeGates 1.3.0.zip), unzip that into your bukkit plugins/ directory. It should have a .jar (which may LOOK like a .zip file to you) and a folder (called CreativeGates).

    Reload the server. Right now the plugin seems to take around an hour to save your gates. That'll be probably be fixed in a future version. For now just keep it in mind that if you don't wait an hour after making a gate your gate won't be saved.
  6. Offline


    This looks awesome. Certainly going to try it out.
  7. Offline


    Nope, it just downloads the .zip file, i open it, and i comes out as a folder name CreativeGates and theres just abunch of .class files in it

    oh and im on a mac :)
  8. Offline


    It does not save in onDisable() (or atleast it never gets the chance to).

    You override onDisable() in (CreativeGates [extends MPlugin]) but you never call the base onDisable() so gates are never saved outside of the timer. (The code is there; it's just never called.)

    Add super.onDisable(); to the overridden onDisable() in CreativeGates.java

    Sent a pull request on github
    Drei Gyuu and Olof Larsson like this.
  9. Offline


    Awesome plugin.
    iConomy support would be really appreciated !
  10. Working on migrating my server to 1.8.1, installed the latest version and it picked up my old config from 1.1.4 just fine. So far, so good.

    One problem. I'm using this to warp players from survival to a creative world. With the new built-in creative, instamine is turned on, which keeps me from creating any new gates (hold watch, hit diamond block, see block get destroyed).

    Right clicking on the block doesn't do the trick either. Any suggestions on how to turn off instamine, or have the plugin work with either left/right clicks on the 'keystone' block?
  11. Offline


    This plugin is exactly what I need, however MyMcAdmin won't recognise it when I scan for plugins. Any idea how I can get it to work?
  12. Offline

    Olof Larsson

    Awesome. Thanks. :)
  13. Offline


    Were is the Gates File xD
    when you will fix it ?
  14. Offline


    Yes where is it lol?
  15. Offline


    its a nice Plugin, but when i restard / reload the server the gates closed thats not funny when i have 50 gates...
  16. Offline


  17. Offline


    ive installed it and it still doesnt work, any ideas?
  18. Offline


    I'm sure you've heard this 100 times, but iConomy support?
  19. None without more info.

    Define "doesn't work". What have you tried? Do you see anything in the console like this:
    2011-09-22 21:15:18 [INFO] [CreativeGates v1.1.4] ===== ENABLE START
    2011-09-22 21:15:18 [INFO] [CreativeGates v1.1.4] Loading conf.txt ...
    2011-09-22 21:15:18 [INFO] [CreativeGates v1.1.4] Wand: Watch
    2011-09-22 21:15:18 [INFO] [CreativeGates v1.1.4] Block: Diamond block
    2011-09-22 21:15:18 [INFO] [CreativeGates v1.1.4] Max Area: 200
    2011-09-22 21:15:18 [INFO] [CreativeGates v1.1.4] Found and will use plugin Permissions v2.7.7
    2011-09-22 21:15:18 [INFO] [CreativeGates v1.1.4] ===== ENABLE END
  20. Offline


    @Olof Larsson

    I have been using these Creative Gates on my server for awhile now. The server's players think they are godlike because of the vanilla feel and look. Plus the ease of use is a bonus.

    I would like to know where I can donate.
    Olof Larsson likes this.
  21. Ok, looks like the 'gate settings are not sticking' bug is hitting me as well.

    It was working. Then I did some map editing and the gate position in one of the worlds changed. When I recreated the gate, the gates.json did not update to match. I tried to manually update it, but it still kept shitting down the gate claiming the diamond block was missing from the frame (which is expected as the plugin doesn't seem to want to update it's config and look at the correct area).
  22. Offline


    hi, creative portal doesn't work on my server for some reason.
    do i need some other plugins, or does it have a conflict with some plugins?
    here is the screenshot of the gate http://cl.ly/ARBV
  23. Offline


    Thank you so much Olof for creating this plugin, I LOVE IT. It is the only Gate-Plugin I use on my server. It is just awesome. Thanks alot.
    Just one quick question: Would it be possible to add a feature that, if the diamond block gets powered by redstone, the gate would activate too? I hope you know what I intend to to if you would implement this feature. :-D Since there are pistons and redstone...hm Stargate DHD :-D

    Keep it up! Thanks again, thanks for keeping it up to date!
  24. Offline

    Ronny Lawson

    Permissions don't seem to be working with 1185 and PermissionsBukkit. Either everyone seems to get all abilities, or no one gets any abilities. Despite that admins have creativegates.*: true, they still cannot create gates. I have also tried a number of combinations, including not using the * and just using the child nodes, but here are my current permissions settings:

                commandbook.motd: true
                commandbook.msg: true
                commandbook.rules: true
                creativegates.create: false
                creativegates.destroy: false
                creativegates.use: true
                herospawn.use: true
                permissions.build: true
                OpenInv.*: true
                OpenInv.openinv: true
                herospawn.*: true
                herospawn.set: true
                creativegates.*: true
                permissions.*: true
  25. Offline


    Agreed. Minecraft is still not the most stable of programs, so severe crashes and restarts are not uncommon. I have had a number of cases of players stranded due to their gates not being saved. Saving on creation and destruction seems to make more sense. The key block is rare enough that it's not like there's going to be hundreds of gates made daily. Also, having a timer means there must be a process continuously running and checking the time. This seems like an un-needed complication and a drain on resources (even if only a slight one).
  26. Offline


    Do we expect any update? I really don't want to abandon this plugin because it's the best but every single gate is completely down on our server and it's a big deal.

  27. Offline

    Olof Larsson

    Hi everyone :) Sorry for beeing a little abcent. The very bleeding edge version have supposedly solved the issue with gates not beeing saved. I got a pullreqest from someone who found the typo. It is really a shme that I have not published a bugfixrelease yet. I have just started studying at university :-P so thre is a lot to do. I am typing this on my phone on my way to school. I will publish the bugfix when I get home today.

    Ohh and by the way I love pull requests :) Anyone who feel like joining me in the development? Do a few awesome pull requests any I will give you direct push access to the github repo.

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



    Speaking of bleeding edge, why does the plugin.yml (on GitHub) show version 1.2?
  29. I have had CG running fine on my server... (Very nice plugin btw)
    But yesterdeay it stopped loading.

    I'm running bukkit build #1185, PermissionsEX 1.14

    I don't know what happened I haven't added/removed plugins since it worked....

    Heres the error:

    [SEVERE] Error occurred while enabling CreativeGates v1.3.0 (Is it up to date?): null
            at com.massivecraft.creativegates.Gate.open(Gate.java:59)
            at com.massivecraft.creativegates.Gates.openAllOrDetach(Gates.java:120)
            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:920)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
            at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:410)
            at org.bukkit.Bukkit.reload(Bukkit.java:173)
            at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:349)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:499)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:478)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
  30. Offline


    I'm really sorry, but after reading some of the post I realised I might still have this problem, I'm running the 1185 build, 1.8.1 minecraft and the 1.3.0 version of Creative Gates, but I still seem to have the problem where one of my gates in another world seem to "unload", everytime I reload all my server plugins. I have a gate in another world that works no matter how many times I reload the server, and I wish the other gates would do the same. Will you please, look at this again?, because I really like this plugin and it fits my server perfectly!

    Regards, Kevin.
  31. Offline


    I've got a minor problem, nothign that can't be fixed temporarily... When i create more than 2 gates of the same material, they do not go in the order of creation, but instead in some weird order, because the gate the "main" gate goes to is the one furthest away, which makes no sense. Have i missed something, because reading it, i was under the impression it uses the gates creation order, but obviously not (for me), or is this a bug? Sorry if i really have missed something, i skim read without realising and always make myself look like an idiot

Share This Page