• Guest, we are doing a new map (refresh) for Herocraft. Gather your friends and get ready! Coming next Friday, 06/28/24 @ 7PM CT play.hc.to
    Read up on the guides and new systems! Here.
    View the LIVE Map here @ hc.to/map
    Stuck or have a problem? use "/pe create" to to open a ticket with staff (There are some known issues and other hotfixes we will be pushing asap)
  • Guest, Make sure to use our LAUNCHER! Read more here!

[Heroes Plugin] Would like a new feature

Ginzuishou

Legacy Supporter 3
Joined
Apr 29, 2011
Location
British Columbia, Canada
I was wondering if it would be possible within the coding of Heroes, to add a feature to the /hero who <playername> where if the player is not online, the same command could give you the time and day of when they were last online.

Reason I ask about this is, as being the acting SiC of a town, I'm not on when every one of my townies is, and there are some members who are listed on our cit list and I've only seen them once and have no clue if they even still play. I would like to know this information without having to wait for the next audit, and each subsequent one after, that if possible.
 

MattMellander

Legacy Supporter 3
Joined
Jan 14, 2011
lol, i think coding how long since someones been on will be easy for them, after everything else theyve done
 

richfish57

Legacy Supporter 6
Joined
Aug 1, 2011
Location
UK
A simpler might be to tell members to make sure to log into the forum. You can see when people were last online and this doesnt add to the coding jobs which i'm sure is already extensive
 

Ginzuishou

Legacy Supporter 3
Joined
Apr 29, 2011
Location
British Columbia, Canada
A simpler might be to tell members to make sure to log into the forum. You can see when people were last online and this doesnt add to the coding jobs which i'm sure is already extensive

Uh, yeah about that, just because you ask someone to do something doesn't mean it is going to happen. A lot of people only go to the forums if it serves their needs. There is no way in hell I would ever be able to get all of the players in my town to log into the forums every time they log into the server. I can't even get 3/4 of them to pay their taxes on time. Other than waiting for an audit, having it built into game will be the most reliable.
 

Ginzuishou

Legacy Supporter 3
Joined
Apr 29, 2011
Location
British Columbia, Canada
Oh wow, I think a way for players to check when another player was last online, regardless of it being a Heroes command, is a badass idea!

It would also give Staff an easier way to check inactivity when we prune Citizens lists, etc!

Yeah, because audits are too far and few between. Last audit was 3 weeks ago, and we're really in need of a new one, unless we can get this first.
 

Brutalacerate

AdministRaper
Joined
Jan 12, 2011
Location
Bakersfield, CA USA
Whoa. This is a awesome idea! The only question would be storing the data of the player.
Yes, that would be an issue. I know how, and where, the player's data file is stored and we would have to find a way of updating ?once per week? to an alternate source other than the actual server's directory/s.
 

tips48

Gold
Joined
Aug 20, 2011
Yes, that would be an issue. I know how, and where, the player's data file is stored and we would have to find a way of updating ?once per week? to an alternate source other than the actual server's directory/s.
Talking about it in irc. I will likely make a seperate plugin for this. What would the command be, though?

EDIT:
Kainzo says /lastlogin <playername>
 
Top