ModsJava
AfkTitle
Java mod listed for Minecraft 1.15. Downloads from the MC Java Mods app on Android.
⬇ Download on Spigot
AfkTitle is a simple plugin to send a title to a player when they go Away From Keyboard. You can configure these titles and change the time before going AFK. This plugin also comes with a small API
First, put the plugin in the plugins folder in your server. Then start your server. The default config has default settings. You can configure these like this:
Code (YAML):
// config.yml
afk-time : 180 // the time before a player goes afk in seconds
welcome-back-main : '&cExample' // the title sent when a player comes back
welcome-back-sub : '&7Example subtitle' // the subtitle sent when a player comes back
// titles.yml
titles :
example : // just the id, just don't clone it
main : '&eThe main title'
sub : '&7The subtitle'
To make your life a bit easier, we also provide an API for developers. It doesn't contain much currently, but this is it for now:
Code (Java):
AfkUtil. isPlayerAfk ( Player player ) // returns a boolean telling if the player is AFK or not
AfkUtil. resetPlayer ( Player player ) // stop a player from being AFK
AfkUtil. getAfkPlayers ( ) // returns a list of players that are AFK
// PlayerAfkEvent
getPlayer ( ) // get the player who went AFK
setCancelled ( ) // set if the event is cancelled
isCancelled ( ) // returns if the event is cancelled
You can find support for this plugin on our Discord ( https://discord.gg/R6M7mAr ) or go to the discussion page of this plugin
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.15
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
AfkTitle is a free Minecraft Java mod. Compatible with Minecraft 1.15. Downloaded 157 times (via Spigot). Download it and open it directly in the game.