RestoreUponDeath

Moved

Total Downloads: 1,396 - First Release: Apr 21, 2016 - Last Update: Jun 11, 2018

5/5, 12 likes
  1. k1lly0u submitted a new resource:

    Restore Upon Death - Restore player inventorys on death and remove the items from their corpse. Configurable loss amount

    Read more about this resource...
     
  2. Wow!!! Thanks! :)
    I'm going to test! :)

    And will be oxide permissions?
    Example:
    For group 'player' 50% drop.
    For group 'premium' 10% drop.

    (?) And message what items were lost?
     
    Last edited by a moderator: Apr 21, 2016
  3. conflict with the plugin Kits. does not give autokit after death
     
  4. k1lly0u updated Restore Upon Death with a new update entry:

    0.1.1


    [DOUBLEPOST=1461308315][/DOUBLEPOST]
    Not much I can do about that other then issuing the autokit after restoring the inventory. Seems a bit pointless giving auto kits if players are receiving their gear back though
     
  5. Item icon do not disappear from the corpse if the loot dropped %.
     

    Attached Files:

    • d.png
      d.png
      File size:
      339.8 KB
      Views:
      76
  6. Was you using a permission based percentage?
     
  7. Using 25% for all.
    And using 0% for premium.
    Permissions works.
    But problem in unloading item icon in corpse inventory.
    [DOUBLEPOST=1461313847][/DOUBLEPOST]The same loot. I moved Ak47 from the corpse in my inventory.
    Icons remained in corpse.
     

    Attached Files:

    • l.png
      l.png
      File size:
      212.5 KB
      Views:
      70
    Last edited by a moderator: Apr 22, 2016
  8. Yes. I have also
     
  9. I hope @k1lly0u fix a bug, or it is not usebility. :(
     
  10. if a percentage "0" there are no problems
     
  11. Yes I see what you mean. It must bug out somehow when adding items to a corpse. Ill reverse the process and only take items
     
  12. would be cool if you combine that with economys to "buy" the items back fo a speciffic amount of money
     
  13. Fix for glitched items - OK
    But in new update, if percent=0, player whatever loss 5-10% loot. :(
     
  14. I noticed if "0"% returns not all of the items. Before the death of my inventory was full. After the death of lacking 3 items.
    Code:
    {
      "PercentageOfItemsLost": 0
    }
     

    Attached Files:

  15. Yes... 1 item anyway dropped of wear, belt and main.
     
  16. can you add an option to get the plugin permissons for new players on a server ? like new players restore their inventory first 24hour so they can accommodate the game ?
     
  17. Try the attached file

    I may look at doing something like that in the future

    Its a good idea but wouldn't really work because it would take time for the player to buy back the items. The items are saved directly from the corpse between death and respawn. If someone is standing next to the victim when they die and starts looting straight away the items wouldn't be there to buy back
     

    Attached Files:

  18. all the same at 0% does not return all the items
     
  19. Same... :(