[TP] KonseptGate v0.6.2 - Stone telepads [1.5.1-R0.2]

Discussion in 'Archived: Plugin Releases' started by DemmyDemon, Jul 12, 2011.

  1. Offline

    DemmyDemon

    Version v0.6.2

    Simplified/stripped-down teleport/gating plugin using stone pressure pads as telepads.

    Why pressure pads?
    Because it's a very easy event to detect without spending any resources listening for them.
    Why stone?
    Because wooden ones don't look as cool. No, really, it's because an item placed on a stone one won't press it down.
    Why at all?
    Ever since my favorite teleport plugin ever, EpicGates, went into inactivity and disrepair, I have wanted to provide a relatively similar mode of transportation as simple as possible.
    I built it for my own server over at minecraft.webkonsept.com, hence the odd name. "Konsept" is Norwegian, and means "Concept". As I've seen people lamenting the inactivity of EpicGates I decided to release KonseptGate to the general public.

    Features:
    • Simple, uncomplicated use.
    • Multiworld-capable (thanks to Bukkit being Multiworld-awesome!).
    • Each gate can have any number of sources, but just one target.
    • Relatively nice on the resources.
    • Origins and destinations easily recognizable as teleport pads, but do not take up a lot of room.
    • Automatically places a configurable block with a stone pressure pad on it for you.
    • Right-click the pressure pad to find out where it leads.
    • The telepad is protected against harm.
    Note that EpicGates does not, and probably never will, support gate "ownership" or restrictions.
    In stead, use something like SimpleChestLock to lock the origin pressure pad.

    Commands:
    /kg - Takes the selected action (see below) against the indicated gate(s)

    Actions with and their [required] and <optional> arguments. (open)

    create [name] <target gate name> <teleport command>
    Creates a KonseptGate with the name [name] that is optionally already linked to <target gate name>. The target gate does not have to exist yet.​
    Will create a glowstone block (unless otherwise configured) with a stone pressure plate on it.​
    It will also turn the two blocks directly ahead of you to air so that you won't suffocate when you emerge from the gate.​
    Be mindful of what way you are facing, as that is the way people will exit the gate when they arrive.​
    If the <target gate name> is not given, the gate will go to the default gate as set in the configuration file. If that configuration is blank, or that gate does not exist, the gate will inform any attempted user of this.​
    If you don't want a command to be executed by the player when he/she teleports, simply omit the <teleport command> part.​

    command [gate] [command]
    Executes that [command] as the teleporting user when he/she steps on [gate]​

    delete [name]
    Deletes the KonseptGate with the name [name], removes the pressure plate and tries to guess the correct block to have underneath.​

    move [name]
    Same as create in many ways, but the KonseptGate called [name] must already exist, and will be moved here.​
    Be mindful of what way you are facing, as that is the way people will exit the gate when they arrive.​

    link [origin] [destination]
    When people step on the gate at [origin] they will emerge at [destination]​
    Both gates must exist.​

    list <name piece|page>
    Shows a list of all the gates.​
    Give an additional argument to search for gates who's name contains that string.​
    For example "/kg list foo" will match the gates "food_room" and "kung_foo"​
    It matches against both source and destination.​
    If the argument is an integer, it will show the page of that number. For example, "/kg list 3" will show page 3.​

    reload
    Discards all the gates in memory, and loads a new set from gates.txt​
    This will also refresh all the teleport blocks (including the underblock and pressure pad), and clears out the emergence blocks, setting them to Air.​
    It will also reload the configuration.​
    This, of course, happens automagically when you start or reload the server.​

    jump [name]
    Jump to the KonseptGate called [name] right now.​
    Suggested use for this is for admins to quickly move around. It is not the intention of this plugin to become Yet Another Warping Plugin, so it's not intended for public use.​

    ignore
    Tells KonseptGate to ignore you when you step on a pressure plate. This allow you to step onto a pressure plate and use /move to change the direction of that KG, for example.​
    Lasts until the server is restarted, reloaded or you issue the command again.​

    Configuration:
    Example:
    Code:
    verbose: false
    underblockID: 89
    defaultTarget: 'warpzone'
    gatesPerPage:9
    verbose decides whether or not the plugin nags at you to try and turn you insane.
    underblockID is the ID number of the block you want below the stone pressure pad.
    defaultTarget is the name of the KonseptGate you want newly created gates to be linked to unless another name is given. You can say '' if you want it blank. When listing and giving a page number, gatesPerPage decides how many gates per page.

    Permissions:
    For simplicity, all the commands/actions use konseptgate.command.<commandname> permission.
    For example, if you want to /kg jump someGate you need the konseptgate.command.jump permission.
    To use a gate to teleport, you need the konseptgate.teleport permission.
    If you have the konseptgate.info permission, right-clicking a KG will tell you what it's called and where it leads (if linked). Note that if you lack the permission, it does nothing, so you can "hide" KonseptGates in between other blocks with stone plates on them...

    Download KonseptGate
    Source code

    Changelog:
    Version 0.6.2
    • Fixed wonky list output when /kg list-ing gates with no command.
    • Updated the missed deprecated async tasks and reverted the one I made synced to be async again. Makes no sense to sync it.
    • Thanks a bunch to guyag again for the work put in. Even if I didn't end up using his actual commits, it's still his code, pretty much.
    Version 0.6.1
    • Merged guyag's pull request, fixing NPEs when giving silly command arguments.
    • Updated use non-deprecated tasks (synced) to track who's considered "in transit".
    Version 0.6.0
    • Correct "northness", so you come out facing the right way again.
    • Added COMMANDS to gates.
    • Made the source code jump through hoops to get rid of some odd encoding issues.
    • Some minor performance tweaks.
    Version 0.5.3
    (0.5.2 never made it past beta)
    • Fixes the "plates don't pop up" issue by not having them be pressed down in the first place.
      NOTE: This breaks any redstone currents you're expecting from the plate!
    Version 0.5.1
    • Fixed tiiiny little plugin.yml problem that was conflicting with 1.1-R6
    • Tested and found working with 1.1-R6
    Version 0.5
    • Moved to new and improved Bukkit Events system
    • Much improved /kg list, with support for paging.
    Older releases (open)

    Version 0.4.1
    • Tells you why a gate doesn't work when the target world is not loaded. NPE fix.
    • Creates the teleporter after registering it, so the stone plate doesn't plop if it's on a block that doesn't "vanilla" support it, like glass or glowstone.
    Version 0.4
    • Loading or creating a KonseptGate is no longer as destructive to it's vicinity. Non-hindering blocks such as signs, grass, ladders and torches will be ignored and not considered in the way of teleportation.
    Version 0.3
    • Much improved gate protection. Protection against, for example, pistons.
    • Threw out obsolete Permissions support and moved to the new configuration API
    • Allows the underblock to be pretty much anything, even air, and makes it "physics proof" so it doesn't pop.
    • Improved gate file reading, lessening the chance of the gate file being corrupted/emptied.
    Version 0.2
    • Fixed where multiworld-support would be purely theoretical if a gate was loaded before the world it was in.
    Version 0.1
    • First public release
     
  2. Offline

    DemmyDemon

    Turns out KonseptGate wasn't the culprit.
    Nice server!
     
  3. Offline

    thecrzyguy

    Stupid question : how do I set where I would be teleported?
     
  4. Offline

    DemmyDemon

    You need TWO KonseptGates. One is the origin, the other is the destination.

    /kg create source destination
    /kg create destination source
    ...or...
    /kg create source
    /kg create destination
    /kg link source destination
    /kg link destination source

    Remember that a gate can have zero or one destinations, and that it can be the destination of zero to (as many as you want) gates linking to it.
     
  5. Offline

    BogLord

    Great plugin. Thank you for creating this.
     
  6. Offline

    DemmyDemon

    Thank you for your support. You're very welcome, and I hope it serves you well.
     
  7. Offline

    thom1231

    i love your plugin it works amazing !!!
     
  8. Offline

    DemmyDemon

    Thanks for your support! I hope KG continues to serve you well.
     
  9. Offline

    LHammonds

    I have just verified that KonseptGate 0.5.3 works with CraftBukkit 1.3.2-R0.1 on a Windows 7 (64-bit) PC with Java 1.7u7

    EDIT 2012-09-30: Works with CraftBukkit 1.3.2-R1.0 too!

    Thanks,
    LHammonds
     
  10. Offline

    DemmyDemon

    Thanks for the feedback!
     
  11. Offline

    themine12

    While updating my server to 1.4.6, I realised that it changes the direction you face when teleporting, thus removing the blocks surrounding the gate
     
  12. Offline

    DemmyDemon

    The latest KonseptGate Beta fixes this (and some other stuff).
    http://minecraft.webkonsept.com/plugins/beta/KonseptGate.jar
    With xmaz and all that I haven't had time to make a proper release, but the Beta is well tested and solid.
     
  13. Offline

    themine12

    Thanks! And please continue making this AMAZING plugin
     
  14. Offline

    DemmyDemon

    No problemo, and thank you for your support!
    I don't see this plugin going away until it gets re-implemented in the official API.
    As with all things Mojang, don't hold your breath waiting ;-)
     
  15. Offline

    Simo389

    +1 on that. :)

    Tried loads of other gate plugins, but this is BY FAR the most efficient and has the least issues.
     
  16. Offline

    DemmyDemon

    Thank you for your support!

    I'm polishing up the current Beta for release soon, so stay tuned!
     
  17. Offline

    themine12

    Just tested it. Working just fine with minecraft 1.5!
     
  18. Offline

    DemmyDemon

    Thanks for the feedback.
    I do have some updates coming for this, but it's sort of unstable right now... Hopefully I'll get them out before 1.6 :p
     
  19. Why Everytime Some One Teleports They Appear On Side Of The TelePad :/
     
  20. Offline

    DemmyDemon

    Because if they land ON the pad, they'd teleport back.
    Also, to make it in front of rather than on the side of, use the latest beta.
     
  21. DemmyDemon are you by any chance going to continue this plugin?

    Edit: Never mind, I read the other posts, sorry.
     
  22. Offline

    DemmyDemon

    Just in case anyone digs up this and wonders: Yes, it will be continued, but I'm hospitalized at the moment and unable to do any devwork.
     
  23. K Man Thx
     
  24. Offline

    DemmyDemon

    I'm out of the hospital for the weekend (going back in tomorrow for another treatment), but I hope to release a KG and an SCL update today.

    [edit]
    That didn't happen, as I didn't have time to properly test some stuff, but SCL is done now, and KG is next!
     
  25. Offline

    DemmyDemon

    Double posting as a shameless bump due to updated version released! Someone please get me off the Inactive list?
     
  26. Offline

    guyag

    Must say this is a nice plugin :) If there would be some way to continue having the redstone current be generated, that would be good. Also, if there was some way to have a specifiable permission node for a KG? So you need the node to be able to go to a node.
     
  27. Offline

    DemmyDemon

    Thanks!

    I'd love to do that, really, but that means "KG pad stuck down" bug returns. I'll continue to try and get it working, of course, but don't hold your breath.

    The way I recommend solving this is to use something like SimpleChestLock to lock the telepad. This keeps the plugin slightly simpler and saves people from learning yet another way of shaping permissions.
     
  28. Offline

    themine12

    Is there any way that this plugin could have bungeecord support (teleports you between servers)? Im looking to get bungee and if you could do that it would be AWESOME
     
  29. Offline

    DemmyDemon

    Never used it, no idea how, and no time to implement.
    Sorry.
     
  30. Offline

    LHammonds

    KonseptGate 0.6.2 works on CraftBukkit 1.7.2-R0.1 (Build 2952) with Java 1.7.0_45 (64-bit) and PermissionsEx 1.20.4

    Thanks,

    LHammonds
     
  31. Offline

    DemmyDemon

    Thanks for letting everyone know.
     

Share This Page