HomeJavaModsAFK Hub
AFK Hub
[​IMG]
This is my first public skript release.

Requirements:
Skript (Latest Version)


Want a custom Skript for your server? Click on this link to find out more.

Spoiler: Configuration Options
options:
#This will appear before AFK Hub messages
tag: &f[&4&lAFK Hub&f]

#These are the permission nodes for setup (If you would like seperate permission nodes for set up of hub and afk location please pm me or do so your self)
afkhubadmin: afkhub.admin

#Permission node to go to the hub
afkhubplayer: afkhub.player

#Set incorrect permission message
noperm: &cYou do not have the required permissions to execute this command.

#Set afk time here
afktime: 300

#Automatically make player run /hub on join
autohub: True

#Clear player's inventory on /hub?
hubclear: True
hubclearbypass: afkhub.clearbypass

#AFK Bypass
afkbypass: afkhub.afkbypass

#AFK Message
afkmessage: &c&lYOU ARE IN THE AFK HUB
afksubtext: &7&lType /hub to go back to the hub!

Feature List

-- Usage --
/afkhub <set/clear> <hub/afk>
/hub


With this skript you able to set up a hub location as well as a afk location, after the set configured time if the player has not moved from their previous location (they are afk) they will be automatically teleported to the set location and given a custom title message.

There are more options you can set, such as automatically clearing the players inventory on /hub, check out the config spoiler for more.

Feedback is welcomed! (Also please tell me if im using api in any of my skripts, it is hard to keep track of which skripts use which api, post skript error messages exactly as they are if possible)

[This skript is in conjunction with my public skript releases, if you would like to see the list of my public free skripts check this link by clicking here]
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

AFK Hub is a free Minecraft Java mod. Compatible with Minecraft 1.8. Downloaded 648 times (via Spigot). Download it and open it directly in the game.

Explore more