1. How can i remove items from a players corpse once they die?
     
  2. Get the corpse by monitoring OnEntitySpawned and checking for a corpse (BaseCorpse or possibly even LootableCorpse)
    The loot is a ItemContainer[] called "containers" in the LootableCorpse component
    Then you can do what ever you wish with the items

    You can see further information by checking out Restore Upon Death for Rust | Oxide