CybertownRevival / ctr

Full source code for the Cybertown Revival project
18 stars 8 forks source link

Added users last access to homes #289

Closed buddysal closed 3 months ago

buddysal commented 3 months ago

Added users last access date to homes and removed the commented section that was a place holder.

buddysal commented 3 months ago

I updated my PR and fork to the changes you suggested. Hopefully this is more along the lines of how you were talking about doing it. I changed it in a way that hopefully is easier to expand on in future by adding a canStaff area to member services, so that can admin and can staff will be their own entity (and prevent possible overlap and wrong access going to wrong things). I also changed the watch to the username instead.

I may need to change the method name from canStaff to isStaff, but the method isn't really a bool, so I don't know which name structure would make more sense in this context