[MECH] GoldenSprint v1.2 - Configurable Sprint Plugin [1060]

Discussion in 'Inactive/Unsupported Plugins' started by Nate Wiebe, Apr 16, 2011.

  1. Offline

    Nate Wiebe

    GoldenSprint v1.2 - Simple sprint plugin:
    Version: Download v1.2

    Ever thought there was no use for Gold Boots? Well you're wrong. Put them on and you will be able to run like the wind. Only thing is you can get tired and will have to slow down back to a walk to regain your energy.

    Features:
    • Allows users to sprint with Gold Boots
    • Energy Meter
    • Permissions Support (Tested with v2.7)
    • Refresh Ability with a command or by eating food
    • Bonus speed and energy from Golden Apples
    • Toggle Unlimited Energy (Hulk Mode)
    • Configurable: sprint speed, regen/energy rates, bonus speed
    • Optional: Can choose what boots to use, and the normal/bonus speeds of each type. (barefoot, gold, iron, diamond, chainmail)
    How to use:
    • Put on Gold Boots
    • Use the sneak/crouch key to sprint (Default: Shift)
    • Eating a Golden Apple will boost and double the length of the sprint
    • /gsrefresh [player] to refresh a player's energy ([player] field is optional)
    • /gshulk [player] will give the player unlimited energy ([player] field is optional)
    Permissions:
    • gs.use.sprint - sprint ability
    • gs.use.goldenapple - golden apple ability
    • gs.use.regen.* - allows for all food types to refresh energy
      • gs.use.regen.apple
      • gs.use.regen.bread
      • gs.use.regen.cookedfish
      • gs.use.regen.cookie
      • gs.use.regen.grilledpork
      • gs.use.regen.mushroomsoup
      • gs.use.regen.rawpork
      • gs.use.regen.rawfish
    • gs.admin.refresh - /gsrefresh command
    • gs.admin.hulk - /gshulk command
    Installation:
    • Install PermissionsEx
    • Place .jar in plugins directory
    • Reload server
    Help:
    This plugin REQUIRES PermissionsEx.​
    To get assistance, please indicate which Bukkit build you are running on, and paste your GoldenSprint.properties file as well as any errors from the console here: http://www.pasteall.org/
    Changelog (open)

    Version 1.2
    • Moved dependency from Permissions to PermissionsEx
    • Updated for lastest Bukkit build
    Version 1.1
    • Fixed NPEs
    • When a user logs in, their energy is set to 0
    Version 1.0
    • Added chainmail to boot option
    • Fixed a stupid mistake
    Version 0.9
    • Fixed the bug that caused your bonus energy to be removed when eating food
    • Can now choose what boot (bare, gold, iron, diamond) will let you sprint and configure the normal and bonus speeds of each type.
    Version 0.8
    • Added Hulk mode (/gshulk) to give player unlimited energy
    • Cleaned up the code a bit
    Version 0.7
    • Fixed a bug with cake by removing cake from the energy list.
    • Fixed a bug where you could get energy by left clicking with food in your hand.
    • Added the ability to remove the energy bar and only get notifications when you had no energy and full energy.
    Version 0.6

    • fixed an exploit where sprinting could be abused by jumping or going into water, still not 100% perfect, but the best that can be done with what the API offers.
    Version 0.5

    • allows food to replenish energy
    • configurable to allow sprinting without boots
    Version 0.4


    • REQUIRES Permissions (Permissions is good to have, also cleans up the code)
    • Eating a Golden Apple will make the sprint last twice as long, as well as give a speed boost during the excess energy
    Version 0.3


    • Added a configuration file
    Version 0.2


    • Added Permissions Support
    • Changed the energy regen/use rate
    • Made regen more verbose
    • added a /gsrefresh [player] to refresh a player's energy
    Version 0.1


    • Initial Release
     
  2. Offline

    Nate Wiebe

    That actually got introduced from the test build. For now I will put energy to zero when a person logs in. I'm actually going to be putting both of my plugins into one massive plugin. Details to follow.

    Released v1.1
    • Last version
    • Fixed NPEs
    • User's speed is set to 0 when logging in

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

    Right-clicking with an energy-replenish item on a chest or other container, restores your energy, but does not consume the item :(
     
  4. Offline

    Nate Wiebe

    This should fix it: http://ubuntuone.com/p/v5G/
     
  5. Offline

    Maoman

    "This mod REQUIRES permissions"

    Instantly do not want.
     
  6. Offline

    Nate Wiebe

    Can't please everyone.

    Here is an explanation: The goal of this plugin is to be as configurable as possible. In order to turn features on and off for different users/groups you need to use Permissions. I chose Permissions because it is the standard. I could add support for vanilla servers but then there would have to be two checks for every server tick for every player. In high traffic servers, the sprint speed can be drastically reduced. If I were to add support for nonPermissions servers, the performance could drop to 50%. I would rather run the risk of not pleasing everybody, than having this plugin perform badly.
     
  7. Offline

    Maoman

    How about include a permissions .jar and a non-permissions .jar? Just because the large servers usually use permissions doesn't mean the hundreds (maybe thousands) of small servers like mine (which I only host so me, my Wife and my cousin can all play together) are pointless and beneath your attention.

    Using the excuse "Can't please everyone" is just that... an excuse. I know it's not that hard to include support for both.

    Now, I don't mean to say that you have to slave over your computer to try and please as many as possible - that's where the saying "can't please everyone" came from. Ultimately, what you do is volunteer work, unpaid, and entirely unnecessary, and I deeply appreciate that. Thus, I never demand that a developer change something - only suggest. However, it's disappointing when such a small change would allow so many more to use a plugin, but the developer refuses to make the change for, really, no reason.
     
  8. Offline

    Ranzear

    From a third party perspective you're greatly overblowing the work involved in setting up a permissions file with a default 'all permissions' group or what have you. If you can put the time into setting up CraftBukkit, keeping plugins up to date, and configuring said multitude of plugins, the five minutes it takes to set up Permissions should be trivial no matter how 'small time' or 'personal' your server is.
     
  9. Offline

    Reterg

    I agree. I only have me and my friend who play on my server and I use Permissions so that we can get use out of the many plugins that need it. It's really not hard at all. I thought it looked hard at first and did not want to try Permissions. But once I got in to it, I realised it was easy.
     
  10. Offline

    Nate Wiebe

    I would have to agree with the above two comments. It takes MUCH less time to install permissions, than for me to maintain the code. Permissions is a really good plugin to have, and my plugin is not the only one out there that requires it.

    On a side note, I'm hopefully going to have the initial release of my new plugin this weekend some time. (Replacing my old ones and adding more functionality.)
     
  11. Lol, if you're too lazy to configure Permissions, stick to plugins that don't require it. Don't waste valuable Developer time by asking them to add a feature that no serious admin will need.
     
  12. Offline

    Nate Wiebe

    BTW.. Any NPEs? and did the last build fix the issue with containers?
     
  13. I just noticed that build, will be loaded on next reload, ty :)
     
  14. On CB 818 this is once again going all:

    Code:
    19:32:40 [SEVERE] Could not pass event PLAYER_INTERACT to GoldenSprint
    java.lang.NullPointerException
            at com.natewiebe13.GoldenSprint.GSAppleListener.onPlayerInteract(GSAppleListener.java:19)
            at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:299)
            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:162)
            at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:64)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:459)
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Fix would be nice!
     
  15. Offline

    Nate Wiebe

    I'm making a new plugin to replace my old ones. Should be out this week some time.
     
  16. Offline

    Anoninator

    I'd LOVE to see this get updated :D Can't wait to see the new stuff.
     
  17. Offline

    dragonhib

    So good !! :D
     
  18. Offline

    kyfwana

    Is it possible to initiate a sprint with a combination of crouch + forward move? Or is there already some way to sneak normally without taking your boots off? Also, what about the idea of sprinting to the left, right, or backwards?
     
  19. Offline

    frog

    Really love the idea of this plugin. How are things going with the new version? Looking forward to trying it out. :)
     
  20. Offline

    LucidCraft

    Agreed. I've been checking the thread every day to see if you posted anything on progress or some information regarding the release. Thank you for your work on this! Would love to get some sort of hint on how its going!
     
    dragonhib likes this.
  21. Offline

    dragonhib

    idem.
    Please give us good news :)
     
  22. Offline

    rominos2

    Just a question :
    Does the boots take durability damage while sprinting ?
     
  23. Offline

    LucidCraft

    In the most recent version, they did not. However, the plugin is being revamped at the moment. Per previous posts, I believe the new plugin is being done with multiple types of boots configurable within one plugin, as they have a multi-jump boot plugin as well. But, of course, I couldn't say for sure. The jumping boots take all sorts of dmg though, as I found myself taking fall dmg often. lol.
     
  24. Offline

    lovelynoob

    Not working with 1.6.6?
     
  25. Offline

    n00balakis

    Hey, I love the idea of this plugin, its just could you make it so it is a configurable key to push instead of having to be sneak to use it? Because I have the plugin RocketBoots, and all the different kinds of boots have a sneak ability.
     
  26. Offline

    compgurusteve

    I think there should all just be one big boots plugin, where each type of boot does something different. :-p
     
  27. Offline

    Thebuilderdd

    Please make for 820 (Bukkit)
     
  28. Offline

    Deleted user

    Looks like a good plugin as well as your jump one.

    You said you were working on putting them together over a month ago.
    Seems to be no update since.

    Any word on that?
    If you're not going to then you should let someone else take over (or release the source) since there's no joy in letting good plugins die.
     
  29. Offline

    Flenix

    So i'm guessing this is pretty much inactive/dead?
     
  30. Offline

    Kane

    This is an amazing plugin. I wish I knew enough or id try to keep it going.
     

Share This Page