SpoutAFK
STATUS: Compatible with Spoutcraft/Minecraft 1.3.2
Info:
This is my first posted plugin to the bukkit website/devbukkit. It's a small little AFK plugin that uses the command /afk and /back. The reason it is spout compatible is because it sets the players Title to AFK and also sets the players List name to afk. The plugin also has an auto-afk feature and a onmove-unafk thing.
I'm going to be eventually porting this over to an actual Spout plugin, once the server reachs maturity that is.
REQUIRES SERVER HAS SPOUTPLUGIN.
REQUIRES USERS HAVE SPOUTCRAFT.
Commands:
/afk -go afk
/back -go un-afk
/reloadafk -reload spoutafk config
/forcecheck -force plugin afk check
/afktime [number] -temporarily change afk delay in milliseconds
/timertime [number] -temporarily change how often the plugin checks for afkness
Permissions:
spoutafk.* -for all commands
spoutafk.afk -for afk command
spoutafk.back -for back command
spoutafk.reloadafk -to reload config
spoutafk.forcecheck -for forcecheck command
spoutafk.afktime -for afktime command
spoutafk.timertime -for timertime command
Screenshots:
@yurikoma
I can get java 7 on my linux server. What do you mean you can't?
@bloodarowman
why would you do this, that makes it very hard for people like me using a Linux based server, especially when it won't let me install java 7
@Glorysaber
I'm using java 7 to compile this plugin, that error is stating your version it too low, so you probably have 6, I recommend updating to java 7. Or I could try compiling for 6, which I'm unlikely to do.
Please update to 1.3.1 my server needs this so bad I'm about to get a load of players..
Pls update
It gives me this error:
15:37:05 [SEVERE] Could not load 'plugins/SpoutAFK.jar' in folder 'plugins': java.lang.UnsupportedClassVersionError: me/bloodarowman/spoutafk/SpoutAFK : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:170) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:215) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:151) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:127) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
could you P L E A S E remove this moveX0 message in chat? :D It really destroys my logfiles
Otherwise awesome plugin!!!
Spout 644 Craftbukkit 1597, SpoutAFK current
2011-12-14 23:21:41 [SEVERE] Could not load 'plugins/SpoutAFK.jar' in folder 'plugins': java.lang.UnsupportedClassVersionError: me/bloodarowman/spoutafk/SpoutAFK : Unsupported major.minor version 51.0
Thanks @Folas1337
So can YOU give this plugin Essentials Support please?
@bloodarowman
Essentials HAS auto-afk and freezes you when afk. You also get god-mode and you won't hunger plus noone is able to push you. The only disadvantage of Essentials is that it has no visual effect, except you type /list. Just to make this right ;D
@QuantumSicarius
There is a /afk command in Essentials, but, it's not like this command, also, Essentials does not have an auto-afk feature (to my knowledge) and is not integrated with spout so you won't have the visual effects you have with this plugin if using SpoutCraft.
Is this integrated with Essentials?
@eddieash
I work on adding more customization, whenever I can get to it.
Is it possible to move the afk message to center screen? because i use mmoTarget
@SkeletonGamer
Oh spit, thanks for reminding me!
Edit:
Fixored
You don't have post nodes permissions ! xD