WhosAFK

Summary

There are some plugins that broadcast when a player has gone AFK. That's fine, but if a player joins after the broadcast, how is that player going to know that the first player is AFK? This plugin solves that problem.

When a player goes AFK, the plugin will turn their player's name blue and will put the characters "(AFK)" at the end of their name in the tab list. Other players will know this player is going AFK because the server broadcasts that the player is AFK, and players who miss the broadcast simply have to hold down tab to view those who are AFK.

Permissions & Commands

There exist no permissions in this plugin, only commands.

  • /afk: This is the main command which will broadcast that the player who executed the command is AFK. An operator can set another player's status to AFK by adding the other player's username as an argument to the command.

Configuration File

This plugin had a configuration file while in Beta-1.0, but since then the configuration file is not used anymore.

Other Info

This plugin uses the scoreboard's teams. When the plugin is enabled, the plugin will create the team called "afkers" if it doesn't exist already. It will set the team color to blue and set the team suffix to " (AFK)" if the team is created. When players type /afk, they will be put into the "afkers". Once they type /afk again, or somehow else leave AFK mode, they will be taken out of the "afkers" team, and will not be in a team afterward.

Source Code

I have finally gotten around to putting the code up on GItHub. Click here to view on GitHub.


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    86908
  • Created
    Nov 22, 2014
  • Last Released File
    Never
  • Total Downloads
    1,369
  • License

Categories

Members

Recent Files