AFK Safe Zone
AFK Safe Zone - Now for 1.7.X!
This plugin is simple enough. A Moderator sets up an AFK spawn point, and when people type in /afk they are teleported to that point. You can choose whether or not the players will be able move once they go AFK and many other things in the config file. The only permission this uses is for the /setafkspawn and you must have the permission node "afk.setafkspawn". The commands are below. The plugin is pretty self explanatory.
Tutorial Videos
Features
- After a set amount of time, or after the player types /afk, the player will be teleported to a designated location, or if no spot is set, the world's spawn
- Fully compatible with Essentials' afk feature
- Ability to restrict movement while afk (they must type /afk again to return from being afk)
- Ability to disable a player from taking damage while afk
- Ability to restrict a player from dealing damage while afk
- Ability to disable a player from building while afk
- Configurable cool-down period to restrict the use of going afk with a command
Usage
- /setafkspawn This is used to set the location of where to go when typing /afk. Requires permissions "afk.setafkspawn"
- /afk Toggles AFK on or off for the player who uses it. Requires permission "afk.allow"
- /afk list This is used to show who all is AFK at the moment
Config
AFK: #allow players to take damage while afk allow-take-damage: false #allow players to deal damage while afk allow-deal-damage: false #allow players to place or remove blocks while afk allow-build: false #amount of time in seconds between being able to use /afk to go afk cooldown-time: 60 #DO NOT USE THESE SETTINGS IF YOU USE ESSENTIALS, USE THE ESSENTIALS config.yml INSTEAD only-use-these-settings-if-you-dont-have-Essentials: auto-afk: 180 allow-movement: false #Don't alter anything below this line #It is here to save the previous location of AFK people Player-returns:
Why does the plugin spam 'TEST' in the chat and 'Ess' in the console? Like the concept of this plugin and hope this gets resolved. Thanks.
when i try to download your plugin, this is what I get http://gyazo.com/aac8b325d1a36421cd0bc8dbdd9312fe try it yourself, u can not dl this plugin
1.7.2 was simple enough. 1.6.4 version works on a 1.7.2 server. I uploaded it twice to avoid confusion and let everyone know it works for both!
Updated to 1.6.4 just waiting for file approval. 1.7.2 is next.
Please update this so it teleports players. Thanks!
Hi,
i've downloaded the Plugin today but after a few tries I noticed that the teleport funktion isn't working. Like Leo_Verto said i have used the "/eafk" command and it just displays the afk-message.
If you can fix that it would be really nice! =)
@Leo_Verto
It doesn't teleport you then?
@Tstop
/eafk is an alias for Essential's /afk command, using it just displays the afk message.
Sorry I have been inactive lately. I have been busy with school and now busy with graduation, I will soon be busy with college. I have not abandoned Bukkit Plugin development but Android Apps development will take priority because I can actually make money with that. I have read that some people get a message that say's "try using /eafk". Nobody has told me what happens when you use /eafk though. It is supposed to say that. Does it still not work when you type /eafk? Anyway I will try to update this within a few weeks.
Thank you,
Troy
I'm using AFK Safe Zone 1.3.1 and Essentials Pre2.11.1.2. When I execute the /afk command, it says "Try using /eafk" and I am not teleported anywhere, I used /setafkspawn so I have no idea what could be wrong.
hey i jsut loaded this onto my server, and noone is tping to my set spot, the server is 1.5.2, would that be why?
Hey is anybody experiencing an error with people not going auto-afk or being able to move when going afk (not once they log off but just right away when going afk)?
The bug where people get stuck in AFK spot should be fixed. Let me know if it still has bugs. I have uploaded the new file and it is just awaiting approval before it is available.
@Tstop
Thanks for looking into it. One player on my server reminded of related event, that also when he logout from server when /afk, he'll also remain there when coming back online, with control enabled.
But we do have decent /warp and /home commands so it's not the end of the world :) Still would be nice fix.
@Tstop
Ahh, i didn't do /setafkspawn only used /afk =)
@Jaadis
To be honest I never really thought of that happening. But I do know why its happening and will certainly have a fix out by, lets say this Friday at the latest.
There seems to be issue where players are AFK when server shutdown/restarts. They remain in AFK zone but in full control of their actions.
@ThisUsernameIsMine
Did u use /setafkspawn? Cuz if you hadn't set the spawn yet and went AFK it may give you those errors. If that's the case I will have this fixed shortly.
@Tstop
sh!t happens ;)
Tested 1.3 on an empty server and this is what happened:
- http://dev.bukkit.org/paste/7335/
Sorry it took so long for the update. I've been busy setting up my new 500Gb SSD and I also forgot my password for BukkitDev and the thing they emailed to reset it gave me a 400 Error. HaHa. But here it is. AFK 1.3 (1.2 existed, but never went public due to a lot of bugs). You now can also follow me on twitter @TstopDev for updates and news.