promotional bannermobile promotional banner

WhoWasOn?

A simple plugin to determine the last time someone was on your server.
Showing off the basic functionality of v0.2.0

The commands that were run to get this output are as follows:
/getplayerhistory Jiloacom
/getplayerhistory obsidionportal

Showing off the basic functionality of v0.2.0 The commands that were run to get this output are as follows: /getplayerhistory Jiloacom /getplayerhistory obsidionportal

Description

This plugin only works for people who join the server after it's been installed for the first time. If you try to look up someone before then, they will not be in the logs.

(This description is for v0.2.1, and may not apply to older versions.) 

 

Who was on your server last? When did they get on your server? When was the first time they joined your server? How frequently do they join your server? These are the kinds of questions that this plugin aims to answer! Created over the span of about three days by a beginner in Java, this plugin is fairly small and should run on almost any modern version of Bukkit. If you have any questions, comments, or concerns, please let me know in the comments below! (Hey, that rhymed!)

 

Commands


Arguments in < > are required for the command. Arguments in [ ] are optional. 

 

/who getplayer <player> [modifier]

This command allows you to see the last time someone was on the server, in the format of either:

  • Minutes, if the player was last online in the past 0 - 60 minutes,
  • Hours, if the player was last online in the past 1 - 24 hours,
  • Days, if the player was last online in the past 1 - 7 days, or,
  • Weeks, if the player has not been online for over a week,
  • or Onlineif you try to use it on someone who's currently on the server.

 

Command Modifiers

Some commands allow you to modify them in order to produce information that's not normally available from that command. All modifiers start with a dash (-), and will not work if you forget it. Below is a list of modifiers, what they do, and what commands you can use them on:

The Exact Modifier:  -e

This modifier allows you to get exact values from a command, for example, instead of getting 3 days as the response from a command, you would get 3 days, 12 hours and 37 minutes. The following commands that support this modifier are:

  • /who getplayer

 

Permissions


 

whowason.* | Gives access to all permission nodes for the plugin.

whowason.getplayerhistory | Allows access to the /who getplayer command

 

* These permission nodes are turned on for all players by default.

The WhoWasOn? Team

profile avatar
  • 1
    Projects
  • 615
    Downloads