[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

    @Mamut218 Havent exactly dropped per say. Just been to busy to update it to latest Perms system.
     
  3. Offline

    SmashedUpTV

    Does tend to move in a very unpredictable manner. Still reasonably useful, will keep this plugin.
     
  4. Offline

    MiracleM4n

    @SmashedUpTV I will update SetSpeed to use Spout/SpoutCraft only. This will be the only way to get it to be smooth. Sorry for any inconveniences.
     
  5. Hmm... I guess this will have conflicts with NoCheat... How will spout help this plugin? Does it get rid of the "buggyness"
     
  6. Offline

    MiracleM4n

  7. Offline

    Chett

    Code:
    17:01:10 [SCHWERWIEGEND] Could not pass event PLAYER_CHANGED_WORLD to Seasons
    java.lang.NullPointerException
            at org.rominos2.Seasons.SeasonsDayListener.sendTexture(SeasonsDayListene
    r.java:175)
            at org.rominos2.Seasons.SeasonsPlayerListener.sendNewDatasToPlayer(Seaso
    nsPlayerListener.java:34)
            at org.rominos2.Seasons.SeasonsPlayerListener.onPlayerChangedWorld(Seaso
    nsPlayerListener.java:25)
            at org.bukkit.plugin.java.JavaPluginLoader$29.execute(JavaPluginLoader.j
    ava:456)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:339)
            at net.minecraft.server.ServerConfigurationManager.moveToWorld(ServerCon
    figurationManager.java:296)
            at org.bukkit.craftbukkit.entity.CraftPlayer.teleport(CraftPlayer.java:3
    27)
            at com.bergerkiller.bukkit.mw.Permission.handleTeleport(Permission.java:
    83)
            at com.bergerkiller.bukkit.mw.Permission.handleTeleport(Permission.java:
    64)
            at com.bergerkiller.bukkit.mw.Permission.handleTeleport(Permission.java:
    67)
            at com.bergerkiller.bukkit.mw.Portal$1.run(Portal.java:285)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(C
    raftScheduler.java:137)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    My Setup:
    Bukkit 1337
    Spout: 510
    Spoutcraft 718

    Bergekiller or you ? :p Using his Sign Portals from MyWorlds creates the above.

    Code:
    17:25:18 [SCHWERWIEGEND] Could not pass event PLAYER_CHANGED_WORLD to Seasons
    java.lang.NullPointerException
            at org.rominos2.Seasons.SeasonsDayListener.sendTexture(SeasonsDayListene
    r.java:175)
            at org.rominos2.Seasons.SeasonsPlayerListener.sendNewDatasToPlayer(Seaso
    nsPlayerListener.java:34)
            at org.rominos2.Seasons.SeasonsPlayerListener.onPlayerChangedWorld(Seaso
    nsPlayerListener.java:25)
            at org.bukkit.plugin.java.JavaPluginLoader$29.execute(JavaPluginLoader.j
    ava:456)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:339)
            at net.minecraft.server.ServerConfigurationManager.moveToWorld(ServerCon
    figurationManager.java:296)
            at org.bukkit.craftbukkit.entity.CraftPlayer.teleport(CraftPlayer.java:3
    27)
            at com.earth2me.essentials.Teleport.now(Teleport.java:227)
            at com.earth2me.essentials.Teleport.teleport(Teleport.java:205)
            at com.earth2me.essentials.Teleport.warp(Teleport.java:132)
            at com.earth2me.essentials.commands.Commandwarp.warpUser(Commandwarp.jav
    a:91)
            at com.earth2me.essentials.commands.Commandwarp.run(Commandwarp.java:73)
    
            at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsComm
    and.java:84)
            at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.jav
    a:445)
            at com.earth2me.essentials.Essentials.onCommand(Essentials.java:355)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    3)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    55)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:757)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :501)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    >
    Warping with Essentials up to date Version creates this above.

    If u need any other infos let me know, i run a ton of Plugins as well, but all up to date 1337 (only Mob Arena isnt).

    Thx for sharing your work with us.
     
  8. Offline

    paully104

    @MiracleM4n , nice plugin i maybe a demo video of it in use in a mobarena situation where the archer needs to be able to put some distance between him/herself in order to survive. In the video i used a setspeed of 2 for the ranger.
     
  9. Offline

    MiracleM4n

    @Chett That is from Seasons not SetSpeed

    @paully104 Thanks for the demo video glad you have found multiple uses for it :D
     
  10. Offline

    Chett

    Yea i know, sorry posted it here after checking tons of Pages and reported Console Errors. Messed it up to post in the right thread, sry. No clue how, but it happened :p
     
  11. Offline

    paully104

    @MiracleM4n after a player telports from multiworld or just doing /spawn to another planet. The speed gets messed up and the server kicks you. However if i teleport then do /setspeed 1 and wait a sec then im fine. I also believe if i stand still for a couple seconds it resolves itsel(edit it does not correct itself). Anyway to make it so you can teleport and walk and have no worry?
     
  12. Offline

    MiracleM4n

  13. Offline

    jycs

    When I hit torches, the setspeed turn off, and on, and off...
     
  14. Offline

    Smex

    Catch this NullPointer Exception ;):
    Code:
    2011-11-11 17:43:46 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'setspeed' in plugin SetSpeed v1.8.1_1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:501)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NullPointerException
        at net.D3GN.MiracleM4n.SetSpeed.SSCommandExecutor.checkSpeedVars(SSCommandExecutor.java:114)
        at net.D3GN.MiracleM4n.SetSpeed.SSCommandExecutor.onCommand(SSCommandExecutor.java:65)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 13 more
    Happens with /setspeed 2 all or world
     
  15. Offline

    MiracleM4n

    @Smex Thanks for reporting this. Please use /setspeed (With no arguments) to see what commands there are. I didnt do a check and that is why you are seeing this message. To set the speed of everyone in a world use /setspeed NUMBER -world WORLDNAME or /setspeed NUMBER -world -all.

    Build #2 pushed check the Jenkins for it.

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

    mikeyagoto

  17. Offline

    Hornik_Honza

    Hello,
    i would like ask one thing,
    would there be easy way to make it work only underwater? like player underwater is faster than on ground?
    thx
     
  18. Offline

    mooman219

  19. Offline

    mikeyagoto

  20. Offline

    KingWar92

    Can you update this please ?
     
  21. Offline

    vercuiel

    Update pls
     
  22. Offline

    iSullzZ

    doesn't work
     

Share This Page