[INACTIVE][FUN/TP] PressurePorts v1.3- Step on a Pressure Plate, Warp [818]]

Discussion in 'Inactive/Unsupported Plugins' started by Wurstfabrik, May 20, 2011.

  1. Offline

    Wurstfabrik

    Pressure Ports - Step on a Pressure Plate, Warp
    Version: 1.3

    Since i started working with java some days ago and announced this to my server users it didn't took long till the first requests came. One was simple enough for my skills and sounded funny (and it is, oh lol!), so i started working on the idea.

    It is simple: You step on a pressure plate and get teleported somewhere. Due to the mass of pressure plates on my server i decided to add a required block (lapis) under it. So here is how you set up the PressurePlate:

    Place a Lapis-BLock​
    Place a Stone Pressure Plate on it​
    Walk somewhere, enter /ppset​

    Now everybody can step on your awesome PressurePort and get ported to somewhere else :D

    For everyone who doesn't get the text, dubstein made a short but cool explanation video:

    (Thanks bro!)
    Please ignore the "kid", i am 23 years old. :D

    Features:
    Let's you create an automatic Warp system without using portals or commands for your users.

    Download:
    PressurePorts v 1.3
    Source Code is a mess at the moment, maybe i will make it public for later versions.

    Things to know (open)

    Config File:
    The config file is generated automaticly when running the plugin the first time. If you have any problems create a file called config.yml in the PressurePorts-Dir and fill it with the following text:

    Code:
    Layout:
        PlateType: STONE_PLATE
        BlockType: LAPIS_BLOCK
    TeleportEnabled:
        Player: true
        Mobs: true
        Minecarts: true
    Permissions:
        ShowErrors:
            Break: true
            Create: true
            Use: false
    
    Short explanation of the settings:
    PlateType MUST be STONE_PLATE or WOOD_PLATE, everything else will be overridden with STONE_PLATE by the plugin.
    BlockType MUST be a placeable block, everything else will be overridden with LAPIS_BLOCK by the plugin.

    Legal BlockTypes (open)

    You CAN NOT use Block-IDs as a BlockType. So using 42 for Iron Blocks for example will reset the config to LAPIS_BLOCK. Here is a list of what can be used as BlockType:

    WOOL
    WOOD
    WEB
    STONE
    SPONGE
    SOUL_SAND
    SNOW_BLOCK
    SANDSTONE
    SAND
    REDSONE_ORE
    OBSIDIAN
    NOTEBLOCK
    NETHERRACK
    MOSSY_COBBLESTONE
    MOB_SPAWNER
    LOG
    LEAVES
    LAPIS_ORE
    LAPIS_BLOCK
    JUKEBOX
    IRON_ORE
    IRON_BLOCK
    ICE
    GRAVEL
    GRASS
    GOLD_ORE
    GOLD_BLOCK
    GLOWSTONE
    GLASS
    FURNACE
    DOUBLE_STEP
    DISPENSER
    DIRT
    DIAMOND_ORE
    DIAMOND_BLOCK
    COAL ORE
    CLAY_BRICK
    CLAY
    CHEST
    CACTUS
    BOOKSHELF
    BEDROCK




    The ShowErrors decide wether or not there will be an error message shown if the user doesn't have the permission. I suggest to take the standard-settings, so your users can still use PressurePorts as regular Pressure Plates without being annoyd.

    Permission Nodes:
    I am now using the modern technology "permissions". Every player in the ops.txt can still perform every action, everybody else can be edited using the following permission nodes:

    Code:
    PressurePort.Use - Wether or not the player might use PressurePorts.
    PressurePort.Break - The user can Break PressurePorts.
    PressurePort.Build - The user can build and set PressurePorts.
    
    Since this is my first work with permissions and i felt a little bit lost during the process there might be bugs. I tested everthing that came to my mind and it all worked, but maybe you find something that shouldn't happen. Please excuse and report those bugs!



    Changelog:
    Version 1.3
    • Fixed a bug where PlateType: WOOD_PLATE would be treated as illegal config.
    • Fixed a bug where entering anything than a legit Material would crash the plugin
    • Fixed a bug where not using Permissions would crash the plugin.
    Version 1.2
    • Fixed a bug when that crashed the plugin when creating the config-file
    • Added support to warp mobs :D
    Version 1.1
    • Fixed a bug where people with PressurePort.Build couldn't use the command.
    • Fixed a bug where placing an illegal material in the config crashed the plugin.
    Version 1.05
    • Added configuration file
    • Added permission support
    • Added Multiworld support
    Version 1.0
    • Release, yeah!
    To come:
    • different store format
    • use exisiting warps from various warp-plugins as target
    • iConomy-Support (working on this)
    • Warp Minecarts & Mobs.
    • your suggestion here
    Known Problems:

    • When creating some plates in row, where you get ported from 1 to 2 to 3 and so on you might get kicked because of flying.
    • Sometimes, when warping away, the plate stays pressed. For me, this seems to be lagrelated, but i'm not sure.
    Support me:
    I am looking for the storeage-files for the following warp-plugins:
    • Warpz0r
    • Essentials Warp
    If you use one of them, please upload the file somewhere and message me or write in the thread. Also, if i'm missing some important warp-plugins, feel free to tell me!


    (BIG thanks to my awesome mate 4treyu who wasn't annoyed by my ton of java-related questions :D and to Leonlas for the idea)
     
    Leavy, MrTofuhero and kahlilnc like this.
  2. Offline

    Wurstfabrik

    Hey guys,

    i am back! Sadly, my whole minecraft-stuff including the sourcecode of this plugin vanished to an emergency-format c: :(
    Well, the good news: I am willing and interested in continuing this project. I need to start from zero, so it may take some time, but i liked this plugin and it will return! The bad news: I am in the middle of a new server start, which will take some time to organize and stuffs. This will take my time and clearly need much of my freetime.

    So i suggest you lean back for a while and wait. Spamming this thread won't make me work faster, so just don't do it please :p Just relax a bit, and in some weeks you will get this awesome plugin!
     
    VinnyMB25 and ACStache like this.
  3. Offline

    Snaipe

    Since you're making it from scratch, could you add BukkitPerms support ?
     
  4. Offline

    charlie k-j

    It doesn't seem to be working for me, I get the messages and everything of set, removed etc but they dont work mechanically.
     
  5. So, I realize this is a forum for server mods, but is there a way to install this and run it in Single Player? I don't run a server, but I am working an a huge project to create a 1:1 replica of Koholint Island from Legend of Zelda: Link's Awakening, and there are portals on the island that I would love to emulate and of all the various TP and Portal mods I've seen this one looks like it would do what I want the easiest and prettiest.
     
  6. Offline

    Inferno

    Can someone update this for 1.0.0 Support?
     
  7. Offline

    SamSam

    Hello,

    Can you update the plugin to 1.2.5 version ?
    This plugin it's everywhere on my server !

    Thanks,
     

Share This Page