SimpleSprint
Features:
Allows players with the right permission to sprint faster, jump higher, and *hit harder* than normal players.
(More planned, also leave idea's in the comments!)
Installation:
Drop the .jar into your plugins folder
Restart your server
Enjoy!
Commands:
None! :D
Permissions:
sprint.fast - Gives the player the boosted sprint effect.
sprint.jump - Gives the player the jump effect.
sprint.protection - Gives the player the protection effect.
Upcoming features:
I'm out of ideas for the plugin, post ideas below and they will be considered.
Although I'm not currently adding things to the plugin, i WILL update to the latest recommended builds.
Changelog
Version 1.0
First version!
Version 2.0
Added permission support!
Version 2.1
Added 2 more effects:
Jump boost, when crouching - needs permission "sprint.jump"
Protection boost, when blocking - needs permission "sprint.protection"
Added 2 permissions:
sprint.jump - Needed for the jump boost
sprint.protect - Needed for the protection boost
Version 2.2
Cleaned up code:
Only one file now, instead of 4.
Updated to latest bukkit build: CB 1.2.5-R5.0
Version 2.3
Updated to 1.3.1 Dev build
Version 2.4
Cleaned up code - some more.
Updated to latest bukkit build: CB 1.3.1-R1.0
Version 2.5
Bug fix: Now when flying down you don't receive the "high jump" effect. :D
Added permissions:
sprint.protection - give this to players to enable the protection boost.
sprint.jump - give this to players to enable the jump boost.
Credits for plugin:
@WarmakerT: Helped me a LOT with making this, deserves all the cookies.
@zAsbo: The original idea.
Big thanks to danderman69 for the logo/signature!
@USM666
your report on this situation is SO BAD that i don't care about you. kthxbai
this plugin sucks,it was was SO BAD that it crashed my server and had to do a rollback. Waste of time.
@ThisUsernameIsMine
Sorry for the slow responce & failing to spot these bugs - :(
@AsboTehG
Working again, ty :-)
Ugh sorry guys, i moved the protect folder and everything fuqed up so i re-wrote it late at night, sorry :'(
I'll upload a new version in a sec.
@Willbbz
Yes but i found the file inside \me\asbo\SSprint\ and tried to fix it by moving it back to the root folder, but it resulted in even more errors :-/
@ThisUsernameIsMine
Judging by the error he just left out the plugin.yml in this release
Heh I've often done that ^_^
@Willbbz
Same here @ CraftBukkit :-/
Got this on startup but I am using Craftbukkit plus plus
[SEVERE] Could not load 'plugins/SimpleSprint.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:198)
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:134)
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:331)
at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:307)
at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:50)
at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11)
at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:128)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:388)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
... 9 more
@weja93
(facepalm)
This is what happens when you test new things too late at night :)
fixed now though, sorry.
The newest update gives you "invisible" buff instead of running potion effect when sprinting o.O
Is there a way to configure the speed and jump? Would be good to use it to punish players by having negative values in speed and jump.
@JonasBauer
Give the group the right permissions:
sprint.fast
sprint.jump
sprint.protection
Now to use the boost(s) just sprint for the sprint boost.
or crouch and jump at the same time for the jump boost.
and for the protection boost just block with your sword.
(warning: the protection boost is overpowered)
Doesn't work for me (user in a group -> giving permissions to group) v1.3.1
Or do I have to do something else then run/jump?
@timesheep
Well i've got a config working but I'm acctualy unsure on how to get my config to read numbers, no errors, just loads of console spam D:, hopefully this will be in the next update unless there's a bug that needs immediate attention :D
For some weird reason this plugin breaks with Essentials /spawn /home /tpa and other teleporting commands.
I have 5 sec time that you have to wait before it teleports, but when 5 sec is done, it does not teleport. Does this plugin make the player drink potion all the time he is just online? That would stop the teleportation..
I am sure this plugin is conflicting, I checked with removing the plugin and then teleporting works fine.
EDIT: It was my mistake of some sort, and restart fixed it :D
@timesheep I've been wanting this too - i'll try it later today, but please bear with me i'm new to coding :D
@Mayhem777
Yep, should work fine with 1.3 and 1.2.5
Last ver is compatible with 1.2.5?
I will use this plugin to speed up my VIP/paying players to make the game a little less tiresome to walk around in, however I would also like to speed up my normal players, just not as much as the VIP players.
You should have a config file, optional probably, where the admin can set multipliers for each user rank/group, and then the players can set their speed with a command up to a maximum of the speed defined in the configuration.
Such a feature would be LOVELY <3
Thanks for the plugin, I looked quite a lot for something like this :)
For now I guess I will just set it as VIP/Mod/Admin only ^^
Maybe you can add a feature for when it snows or rains, the plugin doesent work. or make it health dependant, say if someone has low health he has a "adrenaline rush" making him run faster.