[REQ] Shift Sprint

Discussion in 'Archived: Plugin Requests' started by CrazymanJR, May 12, 2014.

  1. Offline

    CrazymanJR

    Plugin category: Fun

    Suggested name: Shift Sprint

    What I want: The point of this plugin is too allows players that are shifting to be also able to sprint. i have no idea if this is possible.


    Ideas for commands: /shift on, /shift off

    Ideas for permissions: shift.use

    When I'd like it by: Doesn't Matter
     
  2. xD doesn't look possible
     
  3. Offline

    tcvs

    someguyonthestreet This is possible. You would just increase the speed of the player.
     
  4. tcvs
    Oh xD but i have no idea how to code :p
     
  5. Offline

    Alster551

    au2001 might be able to make this :3
     
    au2001 likes this.
  6. Offline

    Onlineids

    Dang you have alot of requests xD
     
    au2001, ZodiacTheories and timtower like this.
  7. Offline

    au2001

    Alster551 <3
    CrazymanJR
    I could but I have a lot of requests right now...
    If this isn't done by the time I finish my plugins (maybe this weekend) I will sure do this :3

    For devs : just use PlayerToggleSprintEvent (or something like that...) and then do
    Code:java
    1. if (event.isSneaking()) {
    2. event.setSneaking(false);
    3. event.getPlayer().setSneaking(true);
    4. }


    I don't know if this will work but it should kinda work. If it does, adjust it to make it look better.
     
  8. Offline

    CrazymanJR

    au2001 likes this.
  9. au2001
    Can you possibly send me a tutorial or something on how to make a bukkit plugin so i can try and make it for crazy?
     
  10. Offline

    Garris0n

    Not possible.
     
  11. Offline

    Onlineids

    If you need a tutorial, you shouldn't be making it....
     
  12. Offline

    timtower Administrator Administrator Moderator

  13. Offline

    mactown21

    Soo, This plugin can be created maybe using C# thats a fact, Also is it possible to do this using Minecraft Key Codes? http://minecraft.gamepedia.com/Key_codes

    I want to figure out and see is keycodes possible to be used during making plugins, if it is, Please tagh me because im interested in knowing...
     
  14. Offline

    Garris0n

    What does C# have to do with this? And what do key codes have to do with it either?

    Are you on the wrong thread, or...
     
    Aengo likes this.
  15. Offline

    timtower Administrator Administrator Moderator

    mactown21 We can't check key presses with bukkit
     
    Commander9292 likes this.
  16. Offline

    au2001

    someguyonthestreet
    I'm really sorry but I can't really do that... :( :'(
    I'm like REALLY busy right now, got several mini-game plugins to make etc.

    timtower
    I think he was asking for a specific tutorial...
     
  17. Offline

    timtower Administrator Administrator Moderator

    There are none ( not that a dev can't find himself )
     
  18. Offline

    au2001

    timtower
    I think he wanted ME to make this...
     
  19. Offline

    timtower Administrator Administrator Moderator

    au2001
     
  20. Offline

    au2001

    timtower
    Then he wouldn't have tagged me
    And he would have said "can anyone..."
     
  21. Offline

    timtower Administrator Administrator Moderator

    Welcome to bukkit where you get random tags if you are a developer responding to a thread
     
  22. Offline

    au2001

    timtower
    Warning : This post is going to destroy the record of likes received in one message
     
  23. Offline

    CrazymanJR

    au2001 timtower
    Can we please get on topic? and i will be trying to make this plugin but i have no experience with coding etc
     
  24. Offline

    Commander9292

    CrazymanJR
    Good luck man, I suggest learning basic Java first instead of diving straight into Bukkit though.
     
    au2001 and timtower like this.
  25. Offline

    CrazymanJR

    Commander9292
    I actually just learned the basics of java last night from a friend but really basic like making a command and getting a reply.
     
  26. Offline

    Garris0n

    Just saying.
     
  27. Offline

    JuicyDev

    Garris0n
    I haven't tried yet but couldn't you listen for the toggle sneak event cancel it but send packets to other players so it looks like they are sneaking and add the player's UUID to an arraylist. Then they would be able to sprint like normal and if they were to toggle sneak again it would remove them from the list and stop the sneak packets.
     
  28. Offline

    Garris0n

    You could accomplish it in many ways on the server, but the client will never attempt to sneak and sprint at the same time no matter what you do.
     
  29. Offline

    JuicyDev

    I meant that you would tap the sneak key and it would toggle sneak packets for other players, but that your client wouldn't think you were sneaking. Thus allowing the client to sprint.
     
  30. Offline

    Garris0n

    Well there are already plugins that allow you to server-side sneak with a command, so if that's what he meant...
     

Share This Page