Inactive [FUN/MECH] SuperJump v0.8 - Launch Users [1.2.5-R3.0]

Discussion in 'Inactive/Unsupported Plugins' started by Bubby4j, Mar 10, 2011.

  1. Offline

    Bubby4j

    [​IMG]
    Version: v0.8

    BukkitDev

    This plugin will allow you to make blocks that when walked over, will launch a player in any direction you wish! Even above the clouds!

    Usage:
    Place a sign with (without the quotes):
    '[Jump]' on the first line (case doesn't matter)
    The launch speed X on the second line
    The launch speed Y on the second line
    The launch speed Z on the second line

    The sign must be directly below the block you want people to launch when stepped on.

    If you want to test it, put in plugins folder, start server, and have the following text on a sign:
    [Jump]
    2
    0.5
    0.2

    Config File:
    Code:
    onlyOpPlace: 'true' # Choose if only ops can create jump signs.
    timeout: '0.5' # Choose timeout, to prevent users from getting launched twice, or to place a limit on how often they can use it, in seconds, -1 for no timeout
    [​IMG] [​IMG] [​IMG][​IMG]





    Features:
    * Launches users that walk over particular blocks
    * Useful for a base with a cool entrance
    * isOp option to only let ops create jump signs
    * Timeout config option to choose how often users can use it

    Planned:
    * Let users select options
    * Mob Launching
    * Minecart Launching
    * Boat Launching (Should work in water!)

    Download latest on BukkitDev!
    Old versions:
    <Edit by Moderator: Redacted mediafire url>
    <Edit by Moderator: Redacted mediafire url>
    <Edit by Moderator: Redacted mediafire url>
    <Edit by Moderator: Redacted mediafire url>
    <Edit by Moderator: Redacted mediafire url>
    <Edit by Moderator: Redacted mediafire url>

    Source
    Licence:

    Show Spoiler
    You are allowed to use my plugin, and view source code, under the following conditions:
    You do not claim you made it
    If someone asks, you must tell them that I made it
    Do not use large portions of my code
    You may modify it for your own use, but not distribute the modified version of it



    Changelog:
    Version 0.8
    * Updated for latest bukkit

    Version 0.7
    * Fixed some performance issues

    Version 0.6
    * Fixed issues where people wouldn't land in the same spot

    Version 0.5
    * Added config file and option to only let ops create the jump signs

    Version 0.4
    * Updated Plugin to recommended build.

    Version 0.3
    * Fixed a bug where numbers can't be too long

    Version 0.2
    * Changes the way it flings the user, to help prevent inconstancies

    Version 0.1
    * Releasing my awesome plugin
     

    Attached Files:

    Last edited by a moderator: Dec 14, 2016
    vphonem, GreyBishop, Bronski and 2 others like this.
  2. Offline

    arishoham

    Haha this looks really fun but could be abused very easily. as soon as you add permissions i will add it to my server
     
  3. Offline

    Bubby4j

    Yeah, I need to add options and permissions support, coming in the next version!
     
  4. Offline

    anon

    Your plugins are the coolest I have seem. Cant wait for permission suport!

    Also, what if players walks over the block with a minecart/boat/pig? will he be launched too? What about mobs, if a mob walks over the block, will it be launched?

    EDIT:
    Also, could u put a reasanoble speed for me to test? Dont want to crash my server putting a too big speed :D
     
  5. Offline

    pixartist

    Does not seem to work. I placed a sign reading
    [Jump]
    10
    10
    10

    ... nothing happened
     
  6. Offline

    Bubby4j

    @pixartist What version of server are you running? What other plugins? If you want I'll come to your server and take a look.

    @anon, it won't crash no matter what, I have protections put in. You might want to try (2,0.3,2), it's in meters per second I believe, I might change it to meters per hour. If you want I'll come to your server and take a look.
     
  7. Offline

    pixartist

    09:34:17 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-516-gdf87bb3-b531jnks (MC: 1.3)

    I'm also running essentials

    server ip: 46.163.65.145
     
  8. Offline

    Bubby4j

    If anyone is wondering, I got pixartist working, he wasn't putting the sign under the block.
     
  9. Offline

    pixartist

    Please fix the inconstancy issues :/
     
    DeLux likes this.
  10. Offline

    Juze

    [​IMG] Wow! This makes good fall traps [​IMG]
     
  11. Offline

    Codex Arcanum

    How can you make a player fly in a negative direction on the z axis? Negative speed doesn't work...
     
  12. Offline

    Bubby4j

    Negative speed works for me, I'll come to your server and help if you want.
     
  13. Offline

    Codex Arcanum

    It's mysteriously working this morning. Must have been something I did wrong, sorry to bother you, great plugin.
     
  14. Offline

    riuthamus

    needs permission support, or at least lock this to OP only in a config file, otherwise I would load it up right now!
     
  15. Offline

    mustadont

    Very good plugin.
    Thank you.


     
  16. Offline

    Kainzo

    Very awesome demo of it - just need permissions support and we're in business!
     
  17. Offline

    Bubby4j

    Yeah I really want to get permissions working! I'm working on it. In the next release I'll add options (maybe) and definitely permissions.
     
  18. Offline

    Kainzo

    I'd also be happy to lock this down to ops.txt
     
  19. Offline

    Canadadiablo

    Doesnt seem to work Running the Supported Version, placed the sign under the block and everything.
     
  20. Offline

    Bubby4j

    You probably aren't using it correctly, may I come to your server and try?
     
  21. Offline

    Toasted

    its fun but it always seems to launch in a direction that I dont entirely want. Perhaps you could have the angle of launch match the angle of the sign?
     
  22. Offline

    Bubby4j

    You change the angle of launch by the values, x,y,z. Press F3 to see which direction you want people to go in. It's simple!
     
  23. Offline

    Kainzo

    I have this in as an easter egg at the moment - but I would really love to restriction creation to ops or admins - where did you come up with this idea btw?
     
  24. Offline

    Toasted

    Oh, hahaha. sorry bout that.
     
  25. Offline

    Bubby4j

    Yeah, I've almost got the op thing set up, but not quite there. As for where I got the idea, I was just thinking what I could make and was looking around at methods in the player, and I saw "setvelocity" and I thought... I wonder if it works? So I tested it. IT WORKED! I thought that it was a really cool thing and that I could use signs to do it, and I thought, I might as well make it public. And it's a hit. Over 110 downloads so far.
     
    thecoolwolf likes this.
  26. Offline

    Kainzo

    Just a head's up - this is conflicting with IconomyChestShop - (it uses signs above chests) for whatever reason - it doesnt seem to work and causes IconomyChestShop to throw this error

    12:13:24 [SEVERE] Could not pass event SIGN_CHANGE to iConomyChestShop
    java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlockState cannot be cast to org.bukkit.block.Sign
    at com.Acrobot.iConomyChestShop.iConomyChestShopBlockListener.onSignChange(iConomyChestShopBlockListener.java:607)
    at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:289)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:851)
    at net.minecraft.server.Packet130UpdateSign.a(SourceFile:39)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)


    I've reported it to chestShop dev as well
     
  27. Ok Bubby4j, this is an awesome mod and very fun! Thanks for making it!

    I had a BIG easter egg saved up for my players, a new idea which I think will be awesome but our coder got bored and vanished :( But I happen to know that you would only need to tweak your code to create what I had in mind for my server, and you're welcome to if you like the idea!

    Your code already checks the block 2 below the player, and reads the sign, and gives the user a velocity. Thats more than whats needed for the.. Corum Lagfree Easy Fast Transit System (CLEFTS).
    1)check block directly under player. if its NOT LightStone (configurable?) exit plugin. No need for lag.
    2)check block 2 under player (where the sign would be).
    If its 3 (dirt) apply vector -2,0,0 to player (move north)
    If its 4 (cobble) apply vector 0,0,-2 to player (move east)
    If its 12 (sand) apply vector 2,0,0 to player (move south)
    If its 13 (gravel) apply vector 0,0,2 to player (move west)

    Thats All! You have now replaced the important part of MineCart Mania and have no need for carts or anything server-lagging! Admins make glowing walkways and players step on them and get taken to where they lead, and can step on or off at any point! Players will never collide or get stranded, carts will never pile up and lag the server, mobs won't stop people in their tracks (for long anyway).

    - If people choose tracks as the top block instead of lightstone, it will look like a railway system
    - If lightstone(etc) happens to be used elsewhere its unlikely to result in anything really bad
    - Downhill walkways should work without any changes
    - If you added 4 more blocks that had direction +0,1,0 it would let people add little jumps for uphill parts
    - If you let people choose which blocks did what then admins like Kainzo would have a lot of control over who could make them, for example using 15,16,62,73 etc his server could only have moving tracks placed by admins. Or even 7 as the top track. Or you could choose railtracks and player-placed blocks to allow all players to make walkways!
    - No need to learn or implement Permissions. No need for server admins to even *have* any other plugins.
    - If you added a "Speed" parameter in a config file it could replace all the "2"s in the example above and admins could choose how fast the walkways were - easily!

    I hope you like the idea. I've been sitting on it for a month and I don't think my coder player is coming back so you're welcome to the idea for the good of the community if you want it. I know you already wrote the code you need to make it work, in fact this would be simpler to do than your mod, and allow admins more control too.

    Take Care, and Best Regards,
    CorumAnime
    Tanelorn PvP Roleplaying Server.
     
  28. Offline

    Bubby4j

    That is a awesome idea. I will make it ASAP!
     
  29. Yay! Also to help Kainzo and other admins who dont want their servers becoming chaos, add an option to superjump for what block has to be under the sign so Kainzo can choose bedrock and thus be the only one to make jumps... I'd like that option too so my players don't make traps to kill unwary passers-by...

    btw I use Kainzo's name as my example of server admins because he's so active in the community and he lets his coders release their mods for everyone else to benefit from also - so its meant as a compliment.

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

    Bubby4j

    Ok cool.
     

Share This Page