Insanity Run
Insanity Run is Temple Run for Minecraft
Do you like playing Temple Run on your iPhone or Android phone?
Well, here comes a plugin which does just that kinda thing! :)
It has many block types with different player effects and sound effects!
Now with a Scoreboard!!
Note: Time is in seconds as there's no way to do Strings for MM:SS
Note: If you wish to use this on Bukkit < 1.7.5 please use v2.8
Links to main pages
YouTube demo
YouTube video showing how to set up and play Insanity Run:
Video from VariationVault
Video from LtJim007
A run-through of a couple of runs
No pasting console errors to comments!!! Create a pastie or pastebin and link me! :)
Note that the config.yml file has the ability for you to add language translations. Currently supported: English. If you wish to translate as a favour, please get your updated config file to me! Leave the English in and just add your own fields. Pretty self explanatory if you look at the file.
Recent Changelog
v3.3
- Updated to Spigot 1.10.2
v3.4
- Tested with Vault and Essentials Economy successfully!
v3.5
- adj/adl commands fixed!
v3.6
- Changed to higher priority thread
- Changed sign yellow text to purple to make it easier to read
- Fixed mistaken sound effect
Filename is InsanityRun_3_6.jar so remember to delete the old version first!
InsanityRun is now Open Source GPL!
Please credit me as the original creator in your version.
I'm eager to see what new things you can create using my game! :)
If you like this plugin, please consider a Donation! :)
This plugin is feature complete!
I won't be doing any more updates unless it's to fix a major bug.
Thanks for all the support! :)
I get this when I type /irun join MiniRun
[[|Invalid Image<<code org.bukkit.command.CommandException: Unhandled exception executing command 'irun' in plugin InsanityRun v2.8 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:706) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:984) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:829) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:65) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:147) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.ServerConnection.c(ServerConnection.java:77) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:700) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:273) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:562) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] Caused by: java.lang.NullPointerException at com.obsidianloft.insanityrun.GameManager.joinGame(GameManager.java:66) [?:?] at com.obsidianloft.insanityrun.commands.CommandManager.onCommand(CommandManager.java:187) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] ... 13 more
<</code>>]]
@Zhenhui
Config page says Yes!
http://dev.bukkit.org/bukkit-plugins/insanity-run/pages/config-options/
I have question, does it teleport back to spawn if you stop running?
org.bukkit.plugin.InvalidPluginException java.lang.UnsupportedClassVersionError com/obsidianloft/insanityrun/InsanityRun : Unsupported major.minor version 51.0
This error means you are running a Java 6 instead of Java 7.
So, I installed Insanity Run on my server. You said it would run just fine on 1.7+
I think it does not :(
I'm running my server on Craftbukkit-1.7.2.RO.3
Here is the issue:
[17:57:07 ERROR]: Could not load 'plugins/InsanityRun_2_8.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException java.lang.UnsupportedClassVersionError com/obsidianloft/insanityrun/InsanityRun : Unsupported major.minor version 51.0
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:137) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:313) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:236) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:350) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.<init>(CraftServer.java:312) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.PlayerList.<init>(PlayerList.java:63) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:126) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
Caused by: java.lang.UnsupportedClassVersionError com/obsidianloft/insanityrun/InsanityRun : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.6.0_65]
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) ~[?:1.6.0_65]
at java.lang.ClassLoader.defineClass(ClassLoader.java:621) ~[?:1.6.0_65]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) ~[?:1.6.0_65]
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) ~[?:1.6.0_65]
at java.net.URLClassLoader.access$000(URLClassLoader.java:58) ~[?:1.6.0_65]
at java.net.URLClassLoader$1.run(URLClassLoader.java:197) ~[?:1.6.0_65]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.6.0_65]
at java.net.URLClassLoader.findClass(URLClassLoader.java:190) ~[?:1.6.0_65]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at java.lang.ClassLoader.loadClass(ClassLoader.java:306) ~[?:1.6.0_65]
at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ~[?:1.6.0_65]
at java.lang.Class.forName0(Native Method) ~[?:1.6.0_65]
at java.lang.Class.forName(Class.java:249) ~[?:1.6.0_65]
at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
... 9 more
Do you know my problem? Could you help to fix this? Please help!
Okay, party peoples!
It seems I have resolved the issue.. you can shower me with gifts any time ;)
The reason I didn't have this issue occur is I have 'Fastest Run' signs on all my arenas. You do not. My code should have picked this up but I had something mis-coded.
v2.8 should have you happy!
As for where Insanity Run will go from here... well now that UUIDs are the way to register player names ingame I'd have to recode it and you'd have to remake your Fastest Run signs. That'd be annoying so it will depend on how much free time I have in the future but am not planning on updating just yet. Everything will continue to work fine until at least Minecraft 1.8
@LavaGaming
I'm on right now!
@WauloK
OK then, GravityNetwork.tk:25635 then do /server minigames and tell me when you'll be on.
@LavaGaming
I seems like that this is the same error I get on my server!
If anyone have the same problem too, here is the ticket for it. http://dev.bukkit.org/bukkit-plugins/insanity-run/tickets/32-game-crash-after-walk-over-redstone/
Have any of you guys disabled fireworks on your server? The error line seems to be related to the plugin trying to fire off a firework when the player gets to the end.
Or stepping on ICE.
Does anyone have a server I can test on?
I run the latest version on my server with no issues whatsoever.
It's also running on around 120 servers with up to 415 players at a time. I need some help figuring why your server is different to all the other, working servers. Please raise a ticket and add your server address so I can join and paste your plugin config file somewhere. Cheers!
@WauloK
Ok, sorry. I changed it and the plugin still broadcasts -_-
Also, this error came up when I completed the course:
[10:33:38 ERROR]: Could not pass event PlayerMoveEvent to InsanityRun v2.7 00:00:00 org.bukkit.event.EventException 00:00:00 at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:294) [craftbukkit.jar:git-Spigot-1372] 00:00:00 at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [craftbukkit.jar:git-Spigot-1372] 00:00:00 at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) [craftbukkit.jar:git-Spigot-1372] 00:00:00 at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [craftbukkit.jar:git-Spigot-1372] 00:00:00 at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [craftbukkit.jar:git-Spigot-1372] 00:00:00 at net.minecraft.server.v1_7_R2.PlayerConnection.a(PlayerConnection.java:247) [craftbukkit.jar:git-Spigot-1372] 00:00:00 at net.minecraft.server.v1_7_R2.PacketPlayInFlying.a(SourceFile:137) [craftbukkit.jar:git-Spigot-1372] 00:00:00 at net.minecraft.server.v1_7_R2.PacketPlayInPositionLook.handle(SourceFile:20) [craftbukkit.jar:git-Spigot-1372] 00:00:00 at net.minecraft.server.v1_7_R2.NetworkManager.a(NetworkManager.java:148) [craftbukkit.jar:git-Spigot-1372] 00:00:00 at net.minecraft.server.v1_7_R2.ServerConnection.c(ServerConnection.java:77) [craftbukkit.jar:git-Spigot-1372] 00:00:00 at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:703) [craftbukkit.jar:git-Spigot-1372] 00:00:00 at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273) [craftbukkit.jar:git-Spigot-1372] 00:00:00 at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:566) [craftbukkit.jar:git-Spigot-1372] 00:00:00 at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:472) [craftbukkit.jar:git-Spigot-1372] 00:00:00 at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [craftbukkit.jar:git-Spigot-1372] 00:00:00 Caused by: java.lang.IllegalArgumentException: Name cannot be null 00:00:00 at org.apache.commons.lang.Validate.notNull(Validate.java:192) [craftbukkit.jar:git-Spigot-1372] 00:00:00 at org.bukkit.craftbukkit.v1_7_R2.CraftServer.getWorld(CraftServer.java:1058) [craftbukkit.jar:git-Spigot-1372] 00:00:00 at com.obsidianloft.insanityrun.events.PlayerListener.ScoresUpdate(PlayerListener.java:433) [?:?] 00:00:00 at com.obsidianloft.insanityrun.events.PlayerListener.endLevelOrGame(PlayerListener.java:325) [?:?] 00:00:00 at com.obsidianloft.insanityrun.events.PlayerListener.onPlayerMoveEvent(PlayerListener.java:155) [?:?] 00:00:00 at sun.reflect.GeneratedMethodAccessor352.invoke(Unknown Source) [?:?] 00:00:00 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_25] 00:00:00 at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_25] 00:00:00 at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) [craftbukkit.jar:git-Spigot-1372] 00:00:00 ... 14 more 00:00:00 >
@LavaGaming
SURE! How about this added in v1.6 many months ago???
broadcastWins : Default set to true. Broadcast run times.
@WauloK
Oh, it didn't work the version I had, I'll get the latest one. But can you add a possible way to turn the broadcasts off?
@LavaGaming
What would be the point? If you click a sign, you return to where the sign was when you finish your run. So, just do what I did on my server: Put all the signs together in the one room and it's the lobby now. People start there, click a sign, do the run and return to the same location. That is what a lobby is.
@WauloK
Please, please, PLEASE can you set a lobby? I've had to switch to Temple Run Reloaded (although, I might switch back if this is added) and I love this plugin more, being honest. I really would like to use this once /irun setlobby and in config: broadcast: off is added.
Ok, after my ticket/bug report was not read I post now here a link to it:
http://dev.bukkit.org/bukkit-plugins/insanity-run/tickets/32-game-crash-after-walk-over-redstone/
@iMilan
@GeekHellMinecraft
@isokissa3
Nope. Every time you either are kicked out or get to the end you will be teleported back to the starting location. I Just tested it again on my server. No problems.
Either there's a plugin preventing this or there's something funky in your config.
Maybe you set this to true?
noEndTeleport : Set true to stay at end and not teleport back to start.
Which server do you have this installed on and I can try it ?
Just like others said; After I complete the game, I do not get teleporter back to my sign?
I dont know if this is a problem or not but players can join the game even though they dont have the permission can i change this or what?
Make you need complete level in x secounds?