LootChest 2.1.3

Respawnable chests with particles, menu, hologram.

  1. Black_Eyes
    Native Minecraft Version:
    1.15
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Source Code:
    https://github.com/Guarmanda/LootChest
    Contributors:
    Black_Eyes
    Languages Supported:
    Editable language file
    LootChest
    Configurable chest reloader

    [​IMG]
    [​IMG]

    Features:
    - Set particles for each chest (35 particles supported) (can be disabled for each chest)
    - BungeeCord messages on chest respawn/take
    - Timer on chest's hologram (can be disabled)
    - Give a chest content to a player (it allow you to create a kind of kit, since essentials kits doesn't store nbt tags)
    - 1.7 to 1.15 support (No holograms in 1.7)

    - Menu to create or edit everything
    - Editable inventory for each chest
    - Editable item chance for each item in each chest (default: 100% (editable))
    - Editable respawn time for each chest
    - Editable hologram for each chest (can be disabled for each chest)
    - Chest is deleted when empty (but will still respawn at defined time) (can be disabled)
    - Editable lang file, editable menu names
    - Editable general particle's speed, number, spawn rate and radius (can be disabled)
    - Make a copy of another lootChest by creating a chest then selecting the chest to copy in the editing menu
    - Broadcast on chest respawn (can be disabled for each chest)
    - Change a chest's position
    - Automatic config and lang update , so that you don't have to delete anything when you update this plugin
    - Random spawn within a radius around location where chest was created, or around a random player (editable radius for each chest) (can be disabled)
    - Awesome fall effect (fully editable) (can be disabled for each chests)
    - Broadcast on chest taken (can be disabled for each chest)

    You can also look this awesome video made by MusicTechnician (English) or the one from Maxar628 (Spanish) to know everything about this plugin:​


    Commands:
    -/lc create <name> : Creates a chest and opens creating menu
    -/lc edit <name> : Open editing menu
    -/lc help : Guess it
    -/lc respawn <name> : respawn a chest
    -/lc respawnall : respawn all chests
    -/lc remove <name> : removes the given chest
    -/lc setholo <name> <text> : set hologram of given chest. Setting holo to "" or " " or null will delete the holo
    -/lc reload : reloads all chests
    -/lc list : well... sorry to not have added that earlier
    -/lc give <player> <chest> Allows u to give a chest's content to a player
    -/lc setpos <name> : changes the position of a chest
    -/lc settime <name> <seconds> : sets the respawn time of the chest without using the time menu
    -/lc randomspawn <name> <radius> : sets the respawn radius of a chest
    -/lc tp <name> : teleports you to a chest
    -/lc togglefall <name>: enable/disable fall effect
    -/lc getname : get name of targeted chest
    -/lc locate : gives locations of all chests that haves natural respawn message enabled

    Known bugs:

    - Creating a chest then emptying its inventory makes it really buguy, the only way to resolve it is to delete the bugued chest. I didn't handled this bug because I thought nobody would be enough stupid to create an empty chest with a plugin that aims to make respawnable chests x)

    -
    Holograms may not remove in some explosion or removal cases from other plugins, but I didn't experienced it since a while now


    Permissions:

    for all commands: lootchest.<command>
    for admins: lootchest.admin/lootchest.*


    More infos:
    Mail: [email protected]
    Discord: Black_Eyes#5538
    github on top of page
    This plugin is using InventiveTalent's ParticleAPI
    You can donate to me here https://www.paypal.com/paypalme/BlackEyes99 for all the hours I spent and will spend on this


    Config:
    Code (Text):

        #Checks for updates at plugin start
    CheckForUpdates: true
        #Info messages at plugin startup
    ConsoleMessages: true
        #Here are some options about particles
    Particles:
          #if you disable this, no matter what you but below^^
      enable: true
      default_particle: FLAME
          #10 of these particles spawn at the same time
      number: 10
          #They respawn all 5 ticks by default
      respawn_ticks: 5
          #The radius of spawning
      radius: 0.3
          #The speed of particles. A low speed is more smooth and good-looking. A speed of 1 is just insane.
      speed: 0.05
        #time is in minutes
    default_reset_time: 10
        #each item has a percentage of chance to spawn in a chest
    default_item_chance: 100
        #I think you know what it is:
    UseHologram: true
        #remove the chests if the player empty them (they still respawn and everything)
    RemoveEmptyChests: true
        #removes the chest when a player closes it, even if there's still items in it
    RemoveChestAfterFirstOpenning: false
        #Holograms doesn't act the same depending on server version, so here you can configure their height compared to the chest's height.
        #YOU CAN PUT A NEGATIVE NUMBER if the hologram is too high!
    Hologram_distance_to_chest: 1
        #It was reported that placing hoppers under loot chests allows to do infinite farming, because they can respawn at same place if u want^^
    PreventHopperPlacingUnderLootChest: true
        #Someone asked for this^^
    Minimum_Number_Of_Players_For_Natural_Spawning: 0
        #Here comes the funny part :)
    Fall_Effect:
          #the block is on an armorstand's head, so it would be 1 or 2 blocks above the chest, and not really on it
      Let_Block_Above_Chest_After_Fall: false
          #this option is for versions before 1.13: since 1.13, we have diferent material for each wool color, so we don't need this.
          #Colors are wrong, for example, PINK is CYAN and CYAN is PINK. Spigot bug, sorry.
      Optionnal_Color_If_Block_Is_Wool: CYAN
          #The block that falls. This block is on an armorstand's head
      Block: CHEST
          #The block will spawn 50 blocks above the chest then will fall to it
      Height: 50
          #You can still disable fall effect by default, and enable it for some chests only
      Enabled: true
          #Or you can let fall effect and remove fireworks
      Enable_Fireworks: true
          #0.8 is a good speed I think^^ But that's your config file x)
      Speed: 0.8


    #you can edit or disable all these messages
    respawn_notify:
          #should the message only appear in the world the chest is in?
      per_world_message: false
          #should a message appear when a player takes a chest?
      message_on_chest_take: true #this is a default value. You can enable or disable it for each chest
      natural_respawn:
        enabled: true #this is a default value. You can enable or disable it for each chest
        message: "&6The chest &b[Chest] &6has just respawned at [x], [y], [z]!"
      respawn_with_command:
        enabled: true #this is a default value. You can enable or disable it for each chest
        message: "&6The chest &b[Chest] &6has just respawned at [x], [y], [z]!"
      respawn_all_with_command:
        enabled: true
        message: "&6All chests where forced to respawn! Get them guys!"


     

    Code (Text):

    noPermission: '&6[&bLootChest&6] &cYou don''t have permission [Permission]'
    notAChest: '&cyou''re not looking a chest'
    chestIsEmpy: '&cThat chest is empty'
    chestDeleted: '&aThe chest [Chest] &awas deleted'
    chestSuccefulySaved: '&aThe chest [Chest] was succefuly created!'
    chestDoesntExist: '&cThe chest [Chest] &cdoesn''t exist!'
    chestAlreadyExist: '&cThe chest [Chest] &calready exists!'
    succesfulyRespawnedChest: '&aThe chest [Chest] &awas respawned!'
    AllChestsReloaded: '&aAll chests were respawned!'
    editedParticle: '&aEdited particle of chest &b[Chest]!'
    hologram_edited: '&aEdited hologram of chest &b[Chest]!'
    PluginReloaded: '&aConfig file, lang, and chest data were reloaded'
    ListCommand: '&aList of all chests: [List]'
    copiedChest: '&6You copied the chest &b[Chest1] &6into the chest &b[Chest2]'
    changedPosition: '&6You set the location of chest &b[Chest] &6to your location'
    settime: '&6You successfully set the time of the chest &b[Chest]'
    PlayerIsNotOnline: '&cThe player [Player] is not online'
    givefrom: '&aYou were given the &b[Chest] &achest by &b[Player]'
    giveto: '&aYou gave the chest &b[Chest] &ato player &b[Player]'
    chestRadiusSet: '&aYou defined a spawn radius for the chest &b[Chest]'
    teleportedToChest: '&aYou were teleported to chest &b[Chest]'
    enabledFallEffect: '&aYou enabled fall effect for chest &b[Chest]'
    disabledFallEffect: '&cYou disabled fall effect for chest &b[Chest]'
    playerTookChest: '&6Oh no! &b[Player] &6found the chest &b[Chest] &6and took everything in it!'
    disabledChestRadius: '&cYou disabled random spawn for chest [Chest]'
    commandGetName: '&6Your''e looking the chest &b[Chest]'


    Menu:
      particles:
        name: '&1Choose a chest particle!'
      copy:
        name: '&1Choose a chest to copy it'
        page: '&2---> Page &b[Number]'
      main:
        respawnTime: '&1Respawn time editing'
        content: '&1Chest content editing'
        chances: '&1Items chances editing'
        name: '&1Main editing menu'
        particles: '&1Particle choosing'
        copychest: '&1Copy settings from another chest'
        disable_fall: '&aFall effect is enabled. Click to &cDISABLE &ait'
        disable_respawn_natural: '&aNatural-respawn message is enabled. Click to &cDISABLE &ait'
        disable_respawn_cmd: '&aCommand-respawn message is enabled. Click to &cDISABLE &ait'
        disable_take_message: '&aMessage on chest take is enabled. Click to &cDISABLE &ait'
        enable_fall: '&cFall effect is disabled. Click to &aENABLE &cit'
        enable_respawn_natural: '&cNatural-respawn message is disabled. Click to &aENABLE &cit'
        enable_respawn_cmd: '&cCommand-respawn message is disabled. Click to &aENABLE &cit'
        enable_take_message:  '&cMessage on chest take is disabled. Click to &aENABLE &cit'
      chances:
        name: '&1Item chances of chest [Chest]'
        lore: '&aLeft click: +1; right: -1; shift+right: -10; shift+left: +10; tab+right: -50'
      items:
        name: '&1Items in chest [Chest]'
      time:
        infinite: '&6Deactivates the respawn time'
        name: '&1Temps de respawn'
        minutes: '&aMinutes'
        hours: '&aHours'
        days: '&aDays'
    help:
      - '&a -- Help for LootChest plugin --'
      - '&a(developped by Black_Eyes, idea of Ender_Griefeur99)'
      - '&a/lc create <name> &b: Creates a chest and opens creating menu'
      - '&a/lc edit <name> &b: Open editing menu'
      - '&a/lc help &b: Guess it'
      - '&a/lc respawn <name> &b: respawn a chest'
      - '&a/lc respawnall &b: respawn all chests'
      - '&a/lc remove <name> &b: removes the given chest'
      - '&a/lc setholo <name> <text> &b: set hologram of given chest'
      - '&a/lc reload &b: reloads the plugin'
      - '&a/lc list &b: list all chests'
      - '&a/lc setpos &b: edit the position of a chest'
      - '&a/lc give <name> <player>&b: gives the chest <name> to player <player>'
      - '&a/lc settime <name> &b: sets the respawn time of a chest in seconds'
      - '&a/lc randomspawn <name> <radius> &b: make a chest respawn randomly in the specified radius (0 to disable)'
      - '&a/lc tp <name> &b: teleports you to a chest'
      - '&a/lc togglefall <name> &b: enable/disable the fall effect for a chest'
      - '&a/lc getname &b: get the name of the targeted LootChest'


     




    Screens:
    All menu texts are editable
    [​IMG]
    [​IMG]
    upload_2019-1-22_11-32-24.png
    upload_2019-1-22_11-33-31.png
    upload_2019-1-26_11-55-6.png

    Using my code:
    Don't sell copy of this thing, it will always stay open source. You can still use my code if you want to edit this plugin for yourself, or someone in needs, or you can use some function for your own plugin^^ (the fall effect class could be useful to some, and there's many menu in this, and also some config file functions)

    Images

    1. upload_2019-1-22_11-29-25.png

Recent Reviews

  1. kelich
    kelich
    5/5,
    Version: 2.1.3
    Когда я пытаюсь создать сундук пишет, "произошла внутряняя ошибка", что делать помогите(. Я буду презнателен если поможете
    1. Black_Eyes
      Author's Response
      there's the forum for this, I can't help you without logs :/ thx for the vote anyway x)
  2. coolcat93
    coolcat93
    3/5,
    Version: 2.1.3
    Decent plugin. I really want to use it! I just have several problems with it that will turn me away from the plugin.. dont know if this has to do with it not being updated to 1.16.3: Holograms still exist once the chest is removed. Chest wont remove itself automatically once all items are out of it. Finally, there is no option (that I am aware of) that prevents chests from spawning in certain worlds. The last part is the most important. Please fix these things and I will happily change my review! :) Keep up the good work.
    1. Black_Eyes
      Author's Response
      Well...the last thing is useless since the chests will only spawn in the world you created them
  3. ___MrCrazy___
    ___MrCrazy___
    4/5,
    Version: 2.1.1
    yes plugin will not load using paper mc 1.16.2 and cant remove chest hologram name now i removed it from my server will run again when fixed but now have a chest in spawn with #lootchest1 above it breaking the chest wont remove the hologramname. pls fix & thanks for this plugin.
    1. Black_Eyes
      Author's Response
      The plugin now works in 1.16.2. For bugged holograms, use /killall named 5 (kills the holograms within 5 blocks) It's a command from Essentials.
  4. Andelsz
    Andelsz
    4/5,
    Version: 2.1.1
    Very good plugin,but doesn't work on version 1.16.2 ?-?
    Update please!(I don't use bangee)
    1. Black_Eyes
      Author's Response
      The plugin now works in 1.16.2. For bugged holograms, use /killall named 5 (kills the holograms within 5 blocks) It's a command from Essentials.
  5. Shayley
    Shayley
    5/5,
    Version: 2.1.1
    This plugin is very good! I have used it to spawn event chests. So far it is good but i have found a bug that another chest is on top of the chest i've spawned. The timers are also very useful, i am currently using it for a weekly loot chest in Factions for example!
  6. Swilt_
    Swilt_
    3/5,
    Version: 2.1.1
    A bug with the top, the chest are blocked with the invisble top for exemple.

    I have disable falleffect, etc. but the bug are the same and it's persist.

    Please fix that, good plugin.
    It's possible to add a timer for respawn all chest ?

    Thanks for your effort and your time.
  7. nine
    nine
    5/5,
    Version: 2.1.1
    Can you set the height at which the box is randomly spaced? I only want it to come from the basement, but get it up from the dungeon to the top of course.
    1. Black_Eyes
      Author's Response
      well it's already in config, it's called fall_effect_height I think
  8. Abble
    Abble
    4/5,
    Version: 2.1.1
    The plugin is very good, but can you please add the effect when the chest disabled (When the players get all the items in the chest)?
  9. Alessevan
    Alessevan
    5/5,
    Version: 2.1.0
    It's a good plugin made by someone who is very active. The support is pretty quick too. I recommend this plugin.
    1. Black_Eyes
  10. SpNova
    SpNova
    5/5,
    Version: 2.1.0
    Perfect plugin, but if random chest can spawn underground, its be more good, pls do this. I need it for my server
    1. Black_Eyes
      Author's Response
      mmmh I could do this^^ it would looks like terraria x)