[MECH] SetSpeed v1.8.1 - Set Your Speed [1597][Spout]

Discussion in 'Inactive/Unsupported Plugins' started by MiracleM4n, May 16, 2011.

  1. Offline

    MiracleM4n

    Version: 1.8.1 (Versioning = MC Version 1.8 Release 1) (Oct 26/11)

    Features:
    • A command that allows you to set your speed (/setspeed).
    • 2 commands so you dont have to crouch (/speedon /speedoff)
    • Configurable item that will trigger /speedon /speedoff events.
    • Wearing items will make you faster
    • 4 Hardcoded Permission nodes.
    • 2 Custom Permission nodes.
    • Hard cap at 50.
    • Self-Updating Config File.
    Spout/SpoutCraft Only
    Download


    Source

    Other Stuff:
    [​IMG] Please donate to help support me :D

    If you don't have permissions the "setspeed.admin" flag setting will default on the OP system (in theory). The "setspeed.mod" flag will default to all players so choose settings wisely. The "setspeed.#.#" flags will allow the player to use /setspeed #.# (Ie. "setspeed.4.0" will allow said player to use /setspeed 4 or /setspeed 4.0). "setspeed.setothers" will allow you to set others speed, "setspeed.setworlds" will allow you to set either all players in all worlds or all players in defined worlds speed.

    Allows players to set their speed using the /setspeed command. It is fully configurable. Uses permissions, if you dont have permissions it defaults to OP and non-OP (read above). To use set your speed using the command above, than hold shift while moving. Commands /speedon /speedoff allow non-crouched speed adjustments (need to use /setspeed first). Configurable item that will activate speed on left click (default torch). Worn items can now be used to activate speed value (Check config)....+More

    Commands: (open)

    /setspeed # -Sets your speed by multiple.
    /sespeed # PLAYERNAME - Sets players speed by that multiple
    /setspeed # -world WORLDNAME -Sets all players in that world to that multiple
    /setspeed # -world -all - Sets all players speed in all worlds to that multiple
    /speedon -Activates speed mode (Dont need to crouch)
    /speedoff -Deactivates speed mode

    Permissions: (open)

    "- setspeed.admin" -Allows use of the configurable speed setting tied to this (or OPS)
    "- setspeed.mod" -Allows use of the configurable speed setting tied to this (or All players)
    "- setspeed.#.#" - Allows player to use /setspeed #.#
    "- setspeed.perm.#" -Will set players crouch speed permanently to that number
    "- setspeed.setothers" -Will allow player to set others speed.
    "- setspeed.setworlds" - Will allow player to set all players in certain/all worlds speed.


    To-Do:
    • Look for input.
    Changelog:
    Version 1.8.1 (Oct 26/11)
    • Updated to Spout. Which removes all buggyness of the previous version.
    • Updated to 1.8
    • Removed onPlayerMove.
    Older Changelog (open)

    Version 1.7.1 (July 10/11)
    • Added a self-updating config file
    Version 1.5.5
    • Fixed /speedon/off making all players stop/start.
    • Moar permission nodes.
    • Added ability to setother's speed and set all in world/s speed.
    • Added 2 configurable speed max values (for others and worlds).
    Version 1.5.4_1
    • Fixed all players getting Speed.
    Version 1.5.4
    • Added another custom Permissions node.
    • Fixed speed items.
    • Added Enabling/Disabling sneak speed.
    Version 1.5.3
    • Added custom Permissions node.
    • Added speed items.
    • Added default speed value.
    • Maybe more..... I think I forgot something...
    Version 1.5.2
    • Added 2 commands
    • Added configurable speedon/off item.
    • Cleaned code a bit
    Version 1.5.1
    • Released.
     
    MaFiMa, Taranis01 and RaverGames like this.
  2. Offline

    MiracleM4n

    I will most likely do /setspeed [amount] [player] As there is going to be a very useful feature creep that will also be in the next release (Thats why it is taking so long)

    Update done. Take a look :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  3. Offline

    brymaster

    Just installed and am having issues.

    Once I set a speed and start walking, I'll continue to walk automatically in any direction I point my mouse.

    Also, shift does not always work as expected.
     
  4. Offline

    MiracleM4n

    Ill take a look at this. I have not 100% tested it since the update as I have been really busy with work and the GF.

    Just thoroughly tested everything. Can you show me what your config.yml looks like?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  5. Offline

    Taranis01

    just as i told. i really hope Miracle will find a way to fix that - at time SetSpeed is not usable for me
     
  6. Offline

    MiracleM4n

    I will again try to fix this. I think it know how to. Give me until the end of tonight to fix this.
     
  7. Offline

    brymaster

    I used the default config (first time install) and did not make any changes. Should also note that I am not using the Permissions mod.
     
  8. Offline

    MiracleM4n

    Hmm. I will take a look at the non-permissions support
     
  9. Offline

    Taranis01

    but i have the same problem and i'm using permissions! ^^
     
  10. Offline

    MiracleM4n

    Try it on a local server. Tell me if it works than, As this plugin will generally cause more RAM to be used (More chunks being loaded in a quicker sequence) it is not recommended to use this on a production server with less that the recommended dedicated RAM (1024 MB).
     
  11. Offline

    Taranis01

    i have a >2GB RAM server, that should not be the problem.
    you only need to walk 1 meter or without "start walking", just look around and u will start walking automatically.
    i dont think that have something to do with Chunk-loading?

    i just tried SetSpeed again and got this error:
    Code:
    2011-05-26 22:20:46 [SEVERE] Could not pass event PLAYER_INTERACT to SetSpeed
    java.lang.NullPointerException
    at net.D3GN.MiracleM4n.SetSpeed.SSPlayerListener.onPlayerInteract(SSPlayerListener.java:95)
    at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:280)
     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
     at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:64)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:438)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    oh wtf, at the same time i got a OutOfMemoryError error! Maybe SetSpeed is too much for the server...
     
  12. Offline

    MiracleM4n

    Silent update to fix NullPointer errors (Should also fix OutOfMemoryError's as well). Just redownload and should work nicely.
     
  13. Offline

    Conmiro

    Hey remember me, I tested this on my server with you :D
     
  14. Offline

    MiracleM4n

    Yes I do :D
     
  15. Offline

    Taranis01

    Code:
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:200)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:581)
    at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:115)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.java:238)
    at net.D3GN.MiracleM4n.SetSpeed.SSPlayerListener.onPlayerQuit(SSPlayerListener.java:131)
    java.lang.NullPointerException
    > 19:02:55 [SEVERE] Could not pass event PLAYER_QUIT to SetSpeed 
    new NullPointerException
     
  16. Offline

    MiracleM4n

    What Bukkit version are you using?

    I see what I did wrong.

    Another silent update to fix yet another NullPointer... (Done)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  17. Offline

    MojoManagement

    Nullpointer again... still SSPlayerListener ... playerMove..
     
  18. Offline

    MiracleM4n

    Need the error message...and CB build...
     
  19. Offline

    mpas

    CB version 828

    2011-06-18 16:25:56 [SEVERE] Could not pass event PLAYER_MOVE to SetSpeed
    java.lang.NullPointerException
    at net.D3GN.MiracleM4n.SetSpeed.SSPlayerListener.onPlayerMove(SSPlayerListener.java:50)
    at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:285)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:140)
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:223)
    ....

    or this error

    2011-06-18 17:10:47 [SEVERE] Could not pass event PLAYER_INTERACT to SetSpeed
    java.lang.NullPointerException
    at net.D3GN.MiracleM4n.SetSpeed.SSPlayerListener.onPlayerInteract(SSPlayerListener.java:99)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:306)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:166)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:137)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:520)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    ...
     
  20. Offline

    MiracleM4n

    *Silent Update* Fixed NPE's again.
     
  21. Offline

    Dominic

    Sweet! I'm gonna give this a try!
     
  22. Offline

    MiracleM4n

    Tell me how it works for you.
     
  23. Offline

    MiracleM4n

    Updated to 1.7
     
  24. Offline

    hobnobzz239

    What do i drag into my Plugin Folder? i dont get it
     
  25. Offline

    MrMontor

    You put the .jar - file in the download into your plugin folder.
    After restarting the server this should work.

    AND: It doesn't work for me - i can type whatever i want, im just always moving at the same speed...
     
  26. Offline

    MiracleM4n

    I will once again look at SetSpeed. Lots of onMove has changed so I will have to do a lot of code rewrite.
     
    iPhysX likes this.
  27. Offline

    MrMontor

    thx - i hope this will work again =)
     
  28. Offline

    alfskan

    inactive with cb1060?
     
  29. Offline

    MiracleM4n

    @alfskan No it is not. i am just in the process of cleaning up code and fixing onMove. As SetSpeed was the most advanced plugin i had when i created it a lot of the coding is really messy. I will hopefully complete it tonight after work.
     
  30. Offline

    alfskan

    I cant wait!:)
     
  31. Offline

    Mamut218

    Hi, your plugin is great but, can you do to turn on and turn off speed of crouching? It will be very useful because i'm using HeroSneak and i can't turn on speed multiplier ;/
    I know that you dropped this plugin but please do that ;)
     

Share This Page