PlayerLog

PlayerLog 1.1

No permission to download
Fougerite Compatibility
1.0.5
Plugin's Engine
Jint2 (Jint)
This is an updated version of the PlayerLog plugin that is included with JintPlugin. It's actually a good example now, not a hastily thrown-together hack. The new version demonstrates the new Jint engine supporting Javascript semantics better than the one in Magma.

- a Javascript PlayerLogData object is defined in global and instanced inside a hook, passing a Player object and timestamp to initialize its properties.
- the object is converted to JSON and logged to file, or to Web.

JavaScript:
{"name":"MC MC","gid":"76561198027079365","ip":"75.83.221.187","loc":"(5691.5, 419.6, -4028.4)","ts":1412214100,"event":"connect","first":false,"camp":false}
{"name":"MC MC","gid":"76561198027079365","ip":"255.255.255.255","loc":"(-6903.5, 432.3, -295.5)","ts":1412223195,"event":"disconnect","first":false,"camp":false}
Author
mikec
Downloads
102
Views
1K
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from mikec

  • Sleepy TPMaster
    Sleepy TPMaster
    sleepy's TPMaster plugin for Magma, updated for Fougerite's MagmaPlugin
  • JZap
    JZap
    Zap all stuff owned by a player from the server with one hit.
  • DecayLog
    DecayLog
    Logs Decay events to verify decay settings work as intended
  • MagmaFires
    MagmaFires
    Light Furnaces and Campfires at night fall, automatically