Guarmanda / LootChest

Plugin to reload chest with hologram, particles, and editing menu
GNU General Public License v3.0
9 stars 21 forks source link

Build with maven (mvn package)

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

LootChest
Configurable chest reloader


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.19 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: valentin@girod.fr
Discord: Black_Eyes#5538
github on top of page
You can donate to me here https://www.paypal.com/paypalme/BlackEyes99 for all the hours I spent and will spend on this



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)