Filled /Chest & /Chest2 Plugin

Discussion in 'Plugin Requests' started by AlwaysAllstar, Apr 13, 2020.

Thread Status:
Not open for further replies.
  1. Offline

    AlwaysAllstar

    Plugin category: Storage

    Minecraft version: 1.14.4

    Suggested name: PortableChests

    What I want:
    I apologize if I'm missing a plugin. I thought this would be extremely easy to find, but I can't seem to find any updated ones or ones that have the features I need.

    I need a simple plugin where players with permission can do '/chest' to open a large, personal chest for storage. Same thing goes for '/chest2', but they must have both permissions for each. The chests' contents will remain on death.

    Admins must also be able to do the command listed below ('/chestsee <player>' and '/chest2see <player>') to see and edit all the contents of a player's chest, just like '/invsee'. That is if they have the permission node 'PortableChests.admin' of course.

    If a player does not have permission to do a command it should display this message: "&4You do not have access to that command." This is in dark red because of the '&4'.

    It may be easier to just assign every player two chests, and then either allow or block their access to them through the commands with the permission nodes. Or maybe generate and save the player's chest's contents once they run the command and open their chest for the first time, that's up to you.

    The title of the first chest should be "Chest One" and the title of the second chest should be "Chest Two".

    Ideas for commands:
    /chest - Opens chest 1 for that player
    /chest2 - Opens chest 2 for that player
    /chestsee <player> - Opens chest 1 for that player.
    /chest2see <player> - Opens chest 2 for that player.

    Ideas for permissions:
    PortableChests.chest - Allows a player to do /chest.
    PortableChests.chest2 - Allows a player to do /chest2.
    PortableChests.admin - Allows access to the chestsee commands.


    When I'd like it by: As soon as time allows. :)
     
  2. Offline

    ExiFlame

    I can take a stab at this for you, and I will let you know when done. :)
     
  3. Offline

    johnny boy

    how's the progress going?
     
  4. Offline

    ExiFlame

    Finished the hard staff, just need to basically configure permissions and get everything hooked together!

    It's done! I've uploaded it here: https://www.spigotmc.org/resources/portablechests.77408/, but will upload it to Bukkit most likely tomorrow. You can configure the size of the chest in the config.yml. Please let me know if you run into any problems or errors, and leave a rating if you wouldn't mind. :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Apr 14, 2020
  5. Offline

    AlwaysAllstar

    Thank you so much! The plugin works perfectly with no bugs. I left a rating on your spigot page as well. :D
     
Thread Status:
Not open for further replies.

Share This Page