NPC accounts are shown in {unique}
aeonlamb opened this issue ยท 2 comments
Kind of a nitpicky thing, but I like to have the variable {UNIQUE} used in my server's motd, so people can see the number of unique players that have joined the server. The problem is that {UNIQUE} lists all of the accounts essentials has saved, which includes accounts it recognizes as npcs. If it wouldn't be too much trouble it would be great if npc accounts could be excluded from this count. Thanks for all the hard work, it is really appreciated! ^^
A simple (but annoying) workaround which has worked for me is the following:
- Go to /plugins/Essentials/userdata/
- Sort by file size (ascending)
- Open the first few files and delete the ones only containing a 'lastlocation' value
- The number shown by {UNIQUE} should correct itself the next time the server is restarted