Sueta

NameMe - Discover Username History

.31

Find out the username history of any username!

·Plugin

NameMe is a simple plugin which allows for you to review the username history of any valid given username.


To install this plugin, simply place the jar file into your plugins folder, and start your server.

  • View the username history of any valid given username passed into the command /name <username>.
  • Runs completely asynchronously, this means it won't slow down your server at all!
  • Customize how the history of usernames is sent to you in the config.yml
  • Customize the dating scheme used (middle/little-endian)
  • BungeeCord support


Below I have listed a copy of the config.yml and color coded it to make it easier to read.

config

####NameMe Config####

#This is the message that is sent for the original name of the users
original-name-message: "&aOriginal Name: &c(name)"

#This is the mesage that will be displayed for every time the person changed their name
changed-name-message: "&aBecame &c(name) &aon &c(date)"

####General####

#Message that is sent to the user when they don't have permission to use /name
permission-denied-message: "&cYou don't have permission to do this!"

#Message that is sent when mojang returns the username supplied is invalid
invalid-username-message: "&cPlease supply a valid username!"

#Message that is sent is there is more than one username supplied (e.g /name notch notch2)
invalid-arguments-message: "&cPlease supply only one username at a time!"

#The help message that will be sent when doing just /name
#You can extend this to be longer, if you so wish

help-message:
- "&2NameMe: &fHelp"
- "&f• &a/name <username> &f- check the username history for a given user."

###Cache###
#If you enable cache, if you try to look up the same username twice, it won't send a request (it will be lightning fast!)
cache-enabled: true

#How long to store the cache for
cache-retention: 10

####Other####

#By default the middle-endian dating system is used (month/day/year)
#If you want to switch it to the little-endian dating system (day/month/year) set this to true

little-endian-date: false


nameme.use : allow user to use /name <username>


Optimization
! Right now according to my estimates, the plugin uses on average 400kb of RAM, I feel that under the hood the code has room for improvements in terms of speed and neatness.

Thanks for checking out NameMe :)

Similar projects

Plugin →