[REQ] Clear and undo clear for inventory

Discussion in 'Archived: Plugin Requests' started by VirtualNick, Apr 23, 2012.

  1. Offline

    VirtualNick

    Hey,
    I need a plugin that can clear a player's entire inventory (hotbar, items, armor) and then have the ability to undo this inventory clear! The ClearInv plugin nearly does it, but /clear and /clear armor are different commands, and /clear undo does not have the ability to undo armor clears.

    wwsean08 has posted the source code for his ClearInv plugin, which I will link to here: https://github.com/wwsean08/ClearInv

    Thanks for the help!
     
  2. I'll give it a shot.
     
  3. Offline

    VirtualNick

    Thanks man :)
     
  4. Alright, seems like I've done what you asked for. If it turns out you're satisfied, please give me a like. (Also, check out my youtube channel - it's on my profile ;))

    If not, I will assist you in this thread, to the best of my ability!

    Name: SClear
    Version: 0.1a (Tested in 1.2.5)
    Author: TheSommer

    Permissions:
    - 'sclear.clear'
    - 'sclear.undo'
    (or OP ofcourse)

    Usage:
    /sclear TheSommer
    /sundo TheSommer

    Download:
    http://sommersblog.com/files/SClear/01/SClear.jar
     

Share This Page