1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Inventory Reset on server restart

Discussion in 'Requests' started by CodeRed2019, May 22, 2017.

  1. CodeRed2019

    CodeRed2019 Spider

    Messages:
    8
    GitHub:
    codered2019
    Can someone make a plugin where every time your server restarts everyone's inventories gets reset, empty.

    Why? I am an owner of a UHC server and my staff and I get tired of clearing everyone's inventories every time they join.
     
  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Quick workaround until the plugin is done: Just delete the players folder (this will also delete the players position where they logged off and any other vanilla player data)
     
    jasonwynn10 and corytortoise like this.
  3. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10

    This plugin script should be what you're looking for. just put the .php file in your plugins folder ;)
     
    CodeRed2019 likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.