[INFO] ItemLogger v1.031 - Logs death cause and items dropped [1000] (No longer supported)

Discussion in 'Inactive/Unsupported Plugins' started by Pandemoneus, Jul 8, 2011.

  1. Offline

    Pandemoneus

    Sorry to announce this, but I decided to drop the support for this plug-in. There will be no further updates from me for this, so please do not request anything anymore.

    ItemLogger by Pandemoneus
    Version 1.031

    Simple logging tool that logs all dropped items on death aswell as the cause of the death and the time at which the event happened. All log files are easy-to-access *.txt files.

    Features:
    • Logs all items dropped when a player dies on the server
    • Also mentions nearby players
    • One file per player
    Requirements:
    • MySQL or SQLite (optional)
    Downloads:
    Configuration:
    UseFlatFile: [true, false] - determines whether a regular flat file(*.txt) should be used, if true, the plugin will not use MySQL or SQLite
    MySQL.enabled: [true, false] - determines whether mySQL should be used (if UseFlatFile = false), if false, SQLite will be used
    MySQL.host: [string] - insert the name of your host here
    MySQL.username: [string] - insert your username here
    MySQL.password: [string] - insert your password here
    MySQL.database: [string] - determine the used database here

    To sum it up:
    If you want
    - Flat files: UseFlatFile = true
    - MySQL: UseFlatFile = false, MySQL.enabled = true
    - SQLite: UseFlatFile = false, MYSQL.enabled = false

    When using flat files:
    All logs are saved under /plugins/ItemLogger/Logs/(Playername).txt

    Example log:
    pandemoneus.txt
    Code:
    09-Jul-11, 00:59:51 AM
    At: X=23 Z=-93 Y= 63
    Died because of: TNT
    Nearby players: Bob, Alice
    ----------------------
    ARROW x 2 (ID=262)
    BONE x 2 (ID=352)
    COBBLESTONE x 29 (ID=4)
    DIAMOND_AXE x 1 (ID=279)
    DIAMOND_PICKAXE x 1 (ID=278)
    DIRT x 54 (ID=3)
    DIRT x 64 (ID=3)
    DIRT x 64 (ID=3)
    GENERIC LEAVES x 64 (ID=18:0)
    IRON_BLOCK x 61 (ID=42
    IRON_INGOT x 57 (ID=265)
    IRON_SPADE x 1 (ID=256)
    LEATHER x 4 (ID=334)
    NETHERRACK x 53 (ID=87)
    NETHERRACK x 64 (ID=87)
    OBSIDIAN x 41 (ID=49)
    PORK x 1 (ID=319)
    PORK x 1 (ID=319)
    RED DYE x 2 (ID=351:1)
    RED WOOL x 1 (ID=35:14)
    REDWOOD LEAVES x 28 (ID=18:1)
    REDWOOD LEAVES x 64 (ID=18:1)
    REDWOOD LOG x 58 (ID=17:1)
    SAND x 63 (ID=12)
    SANDSTONE x 7 (ID=24)
    SHEARS x 1 (ID=359)
    STRING x 8 (ID=287)
    TORCH x 8 (ID=50)
    WHITE WOOL x 3 (ID=35:0)
    WOOD x 7 (ID=5)
    
    09-Jul-11, 01:08:54 AM
    Died because of: Lava
    ----------------------
    
    09-Jul-11, 01:09:58 AM
    Died because of: Falling
    ----------------------
    
    Permission Nodes:
    Commands:
    (OP only if Permissions are not enabled)
    • itemlogger (alias: il) - shows the help
    • itemlogger clearlogs (alias: il cl) - deletes all logs
    • itemlogger deletelog [player] (alias: il dl [player]) - deletes the log of the [player]
    Donations:

    [​IMG]

    Credits:
    Thanks to LaLa for code structure. ;)

    Changelog:
    Version 1.031
    • Added death location to logs
    Version 1.03
    • Added MySQL and SQLite support
    Version 1.02
    • Added nearby (cuboid with radius 10) players to log
    Version 1.01
    • Added Permissions support
    • Added command aliases
    • Increased maintainability
    Version 1.00
    • Initial release
     
  2. Offline

    Ratchet

    this is neat, any chance of mysql support?

    if someone dies due to say, being set on fire by someone, will it say who did it?
     
  3. Offline

    Pandemoneus

    I don't know MySQL, I would have to look at it first.
    About the second thing: Bukkit doesn't support that, so no.

    I will upload an update tomorrow that implements Permissions and easier Commands.
     
  4. Offline

    nicquehen

    it works great !

    for information i use :
    Bukkit : 953

    LWC 3.2
    Bigbrother 1.9 (#552]
    Landmarks 0.2 + Dynmap 0.19.1
    Essential 2.4 (chat/protect/spawn)
    Permission 3.1.6
    iConomy 5.01
    iConomyChestShop 2.75
    iZone 6.3
    World Border 1.2
    WorldGuard 5.1.1
    WorldEdit 4.6
    MagicCarpet 1.5.6
    NoSpawn 1.5.3
    Multiverse 1.7.2
    ScrollingMenuSign 0.4
    Tetris 0.4
    OpenInv 1.3.1
    MCDocs v10
    BuyAbilities 0.9.2
    MobBounty 4.05
    HeroicDeath 1.8.1
    Jail 1.2.2
    Wormhole X-Treme Stargate 0.905


    No conflict

    :)
     
  5. Offline

    Pandemoneus

    Updated!
    Version 1.01
    • Added Permissions support
    • Added command aliases
    • Increased maintainability
     
  6. Offline

    Ratchet

    ok so it doesn't log who set them on fire, how about logging the players within X distance of the person when they die? would that be possible?
     
  7. Offline

    Pandemoneus

    Yes, that's possible and I can add that.

    Version 1.02:
    • Added nearby (cuboid with radius 10) players to log

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  8. Offline

    Ratchet

    cool thanks!
     
  9. Offline

    morizuki

    I tried this with the EndofStream issue(died and pressing title menu) and with DeathControl plugin(DeathControl will return ur items when u die in anyway) but in DeathControl there's no fix in Endofstream issue, and if u accidentally press title menu ur items will drop after 5-10seconds.. but ItemLogs didn't log the dropped items.. i was hoping it would log the items when I tried the EndofStream issue..
     
  10. Offline

    Ratchet

    have you had a look at mysql? it would be really useful if it could store the data in a DB so I could give moderators a page to check deaths on.
     
  11. Offline

    Pandemoneus

    Version 1.03
    • Added MySQL and SQLite support
    Consult the ReadMe for more info!

    Version 1.031
    • Added death location to logs
     
  12. Offline

    Ratchet

    you sure about this? I just realised that LogBlock logs who killed who and with what weapon exactly, could you try and add that?
     
  13. Offline

    Pandemoneus

    But LogBlock doesn't log what items were dropped, that's because LogBlock uses OnEntityDamage instead of OnEntityDeath. Sorry, but OnEntityDamage doesn't support dropped items on death, so I am not gonna add it.
     
  14. Offline

    Pandemoneus

    Sorry to announce this, but I decided to drop the support for this plug-in. There will be no further updates from me for this, so please do not request anything anymore.
     
  15. Offline

    Ratchet

    aw :( there isn't really anything else like it
     
  16. Offline

    nicquehen

    This plugin is not died ! it work great in 1.0.

    I need a new functionnality "log the level of the player or the amount of the xp before he died"
     
  17. Offline

    nicquehen

    Need an update for enchant item.
     

Share This Page