[INACTIVE][MECH] Trampolin v0.6 - Jump higher with a Trampolin [953]

Discussion in 'Inactive/Unsupported Plugins' started by Thomas Bucher, Apr 16, 2011.

  1. Offline

    Thomas Bucher

    Trampolin - Jump higher with a Trampolin:

    Version: v0.6

    You can Jump High or even Higher with this Plugin and a Stoneplate and a Block under it.

    Features:
    • Use Ironblock to Jump "High"
    • Use Goldblock to Jump "even Higher"
    • Use ... Block to Whatever
    • Keep bouncing if you stay on
    • Now Configurable which Block which Height
    • No Falldamage for a amount of time (configurable)
    • Command to Adjust Block boost (temporary for testing)
    • Boosts Minecarts
    Download The Plugin

    Source Code is n the Jar

    Video of Usage..

    Vertical and Horizontal Boosts Video


    Sponsored by iffa ;-)

    Usage:
    • Place a Gold or a Ironblock or any Block configured..
    • Place a Stoneplate on the Block
    • Walk over the Block and get a Heightboost
    • You can use /trampolin if enabled in config to test block adjustment
    Code:
    
    useredtorch: false
    nodamagetimeout: 3000
    nodamage: true
    boosts:
    - 41,75,0
    - 42,50,0
    - 49,120,60
    playeronly: false
    usecmd: false
    boostminecarts: true
    
    useredtorch is not yet implemented.. ignore.

    boosts:
    Each line contains: Block,Boost,Verticalboost
    See the Example, which is the Default.
    If boosts is not in the Configfile, it uses internal Defaults.
    nodamagetimeout: time where player receive no fall damage after usage of the Trampolin (in Miliseconds)
    playeronly: if set to true, only player gets boosted, if false all Entites will jump and bump

    For Vertical boosts try something like:
    - 48,0,2000
    With a Mossystone under the Pressureplate.. ;-)

    usecmd: This enables ingame command /trampolin
    /trampolin blockid boost verticalboost

    This is temporary, you can test values.. if you find the values needed, enter them in the config.

    Todo:
    • Add Permissionsupport (use / build)
    Ideas:
    • Alternate way to Trigger Jump..
    • speedboost linked to the redstone
    • Minecart Jumps?
    Changelog:
    Version 0.6
    • Boosts Minecarts now..

    Version 0.5c
    • Added Command /trampolin and usecmd ind config File
    Version 0.5b

    • Optimized, who is lifted / jumps by the triggers.. (small fix)
    Version 0.5a

    • Add other entities than players to get speed as well..
    Version 0.5

    • No Falldamage from Trampolin (Falldamage Timeout after usage..)
    Version 0.4

    • Fully Configurable Blocks!!
    Version 0.3

    • Keep Bouncing if you stay on it
    • Added Vertical Booster
    • Fixed a small bug
    Version 0.1

    • Releasing of the Plugin
    Special Thanks to Thomas Müller for this Idea



    [​IMG]
     
    redf1sh, WooJoo and kahlilnc like this.
  2. Offline

    Thomas Bucher

    Here another Video of both..
    With this Config.

    Code:
    useredtorch: false
    nodamagetimeout: 3000
    nodamage: true
    boosts:
    - 41,75,0
    - 42,50,0
    - 49,120,0
    - 48,0,2000
    playeronly: false
    
     
  3. Offline

    iffa

    Thanks - I made a demonstration video, uploading to YouTube later...


    Here is the small demonstration I made earlier... :)

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

    Thomas Bucher

    May i link this onto Post 1 ?

    Its very nice ;-)

    Greetings Thomas
     
  5. Offline

    iffa

    Go on :!

    Just wondering, can you make the config editable in-game? I don't feel like reloading all the time when I test the changes.:confused:

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

    Thomas Bucher

    It is possible.. For that i have to add Permissionsupport and a Playerlistener. Also i would have to change the way i read and write the yml, because windows will suck with the Filelocks.

    One thing i can make easy, would be to add a command, witch is disabled per default, to change the values of a predefined block ingame to see what happens.
    If you then have the values you need, you can enter it in the config. How would that be ?

    Greeting Thomas
     
  7. Offline

    GmK

    Thomas, we are starting to add your plugins one by one to our Event Server, they are just PERFECT for a little fun inbetween! Thank you :)
     
    Thomas Bucher likes this.
  8. Offline

    iffa

    That would be great!
     
  9. Offline

    jascotty2

    you don't need a player listener.
    if you look in the JavaPlugin class, there's an overridable function "onCommand" that is called when a command listed in the plugin.yml is used

    as for yaml read/write: bukkit has a configuration class that works for me (see my signrotater source)
     
  10. Offline

    Thomas Bucher

    Dindnt know that ;-)
    I will give that one a try. Thnx
    This is what i use. After write the Config, i am not able to Delete the File or rewrite it. (Just under Windows) the File keeps busy somehow. Thats what codes some Problems in my other Plugin GeoCacher.
    I know, i dont have to delete it anyhow. But i like to keep this Plugin permission free and as simple as possible..

    Sincerely
    Thomas

    All right, its in. 0.5c has a config var called usecmd
    set this to true and ingame you can
    /trampolin blockid boost vboost

    Sincerely Thomas
    Hope you like it.

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

    iffa

    Thanks for another update, I got a zombie on my trampoline! :D


    Had to reupload...

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

    Kainzo

    any possibility for Permissions?
     
  13. Offline

    Thomas Bucher

    You like a private trampolin ?? I mean is there any reason to have permission ?

    Sincerely Thomas
     
  14. Offline

    Kainzo

    well not so much a private trampoline .... more or less a means to have only ops.txt make the jump style blocks - and if this was already possible I misread it
     
  15. Offline

    Thomas Bucher

    You can use Blocks only available to Ops (like sponge).
    If you really need permission support for building, i can add it. So i just cancel place the plate, if it would create a trampolin.

    I start a Poll about that ;-)

    Write +1 for Adding Permission
    Write -1 for No need to add Permission
    Vote Ends 30.4


    Sincerely Thomas
     
  16. Offline

    sepehrnoor

  17. Offline

    iffa

    I'm going with +1. Also, once I have time, I'll make a real quick "easy editor" for this plugin... (web based, PHP)
     
  18. Offline

    Kainzo

    The sponge method would work actually - up to you to put them in or not.
     
  19. Offline

    kahlilnc

    I think your plugins just might be the best!
     
  20. Offline

    Aggroweedman

    This might be difficult, but would it be possibly to have this launch minecarts too? Could make some amazing rides with that... Fun mod though!
     
  21. Offline

    Thomas Bucher

    I will Check, what i can do for you :)

    Greetings Thomas
     
  22. Offline

    Elvis

    Man is there anything coding cant do your nice for taking requests
     
  23. Offline

    Aggroweedman

    thanks for adding minecarts! I found though the vertical part works perfect, but if you alter the horizontal boost on any blocks, you do a 90 degree turn instead. Still very fun!
     
  24. Offline

    Thomas Bucher

    Horizontal Boosts work as expected. They allways boost you in the direction you are looking.
    So if you look to the right in your minecart while cross a horizontal boost, you will be "doomed" to the right.
    I think there are enought "boosts" Plugins for minecarts, so the only usable thing left with this is the jump ;-)

    But i was able to jump over a lavariver easy.

    Happy Jumping
    Thomas
     
  25. Offline

    cidiantoby

    Great mod.. Although i am mostly using it as its unintended do to the horizontal boost. Put - 4,0,2000 in the config file and you can make some great hassle-free cobblestone roads.
     
    Thomas Bucher likes this.
  26. Offline

    LlmDl

    Can anyone confirm this works with 818?
     
  27. Offline

    Thomas Bucher

    It does

    Sincerely Thomas
     
    LlmDl likes this.
  28. Offline

    LlmDl

    Thanks! I may have posted this already but here it is again: Your plugin, along with a bit of craftbook has made the Fight! arena on my server awesome.
     
  29. Offline

    jascotty2

    amusing bug i've found: if another player is standing near a trampoline (2 block radius), and it is activated (entity/player), they are also launched
     
  30. Offline

    Thomas Bucher

    Works as designed ;P
    If you jump near a person on a trampolin, it will boost both..

    Sincerely Thomas
     
  31. Offline

    Joy

    Any chance for Permissions support? :)
     

Share This Page