[1.8 - 1.12] HopeChest (aka CropHopper and MobHopper)
4.0 ALPHA 1Containers that automatically gather stuff from farms or when killing mobs! Assigned chest with GUI!
4.0 ALPHA 1latestComplete recode!Mar 4, 2018 This is a completely new recode of this plugin. Hopefully this will re-give this project new life. These builds are a pre-release, so they will release future changes that might break older alpha versions. The description has been fully updated. This plugin now requires my API, you can find it here on Spigot as a plugin. If you want faster updates, you could support me donating something.v2_1.0Crop bug fixed.Aug 21, 2017 I've fixed a bug regarding crops drop. Crops weren't dropping even if there was no chest in the chunk. Seems like this mob and crop drops does not work for many users (Especially 1.8). If you experience this issue, please send me a PM here with as MANY DETAILS as you can. Thank you!V2_0.9The unexpected recodeAug 16, 2017 This update will require you to update ALL CONFIG. FILE. Everything it's changed. It's almost a month I haven't updated this plugin and downloads are going up like crazy, thank you very much for all the appreciation. This update has no really much features in it but does announce V2 of the plugin. It has been completely recoded and now should (And HOPEFULLY will) be easier for me to work with, something I said also the last update but wasn't really true. · Before updating the plugin, beware that it hasn't been intensively tested, so report any bug you find, thank you. · This plugin now uses NBT Tags, so when updating be careful if your private inventory plugin (Such as PV's plugins) support them otherwise will break item. · Saved data are 100% compatible with V1_3.0 so they won't be lost. Instead, not placed chests or hoppers will. So, beware of this. · I've dropped support for StackMob, since the new version has not code I can work with yet. · I've dropped support for two CropChest type, the PistonCane and WaterCrop. I felt like they were useless if someone will need them, I'll add them back. · Removed spawnReason from mob config, pretty useless and buggy. · Now you can configure more both Mob and Crop conversion GUI · Every type of crop or mob now has its own configurable cost. · Permissions are changed, check the plugin description for them. · And more features have been added · This plugin now it's Open Sources! You can find its source code on my github. If anyone feels like to donate for this, you can >> click here << and throw some money at me, will make me a very happy developer.3.0Finally out of AlphaJul 11, 2017 This update is mainly for fixing a couple of bugs regarding StackMobs. I have to announce that the next big update will be a bit delayed, so just be patient and use this (Hopefully not any more buggy) plugin. · Fixed a Linkage Error with StackMob · Cleaned some code · Started working on the update for experience chest and auto killing hoppers. All the Alpha Download will be removed since buggy and not working.pre 3.0 (ALPHA7 Version)Still another changingJul 9, 2017 I've changed again the way I am handling chunks since the last one was more buggy than ever (Yep, I should not program when I am too sleepy). Hopefully (and finally) this should work fine. EDIT: Reupload, wrong version before.2.7.5Bug fixesJun 21, 2017 I've fixed a couple of dupe bugs and an NPE. Expect very very soon a rewrite of how the plugin handle chests, would also allow me further customization on this plugin.2.7.4Little bug fixes.Jun 19, 2017 Fixed the bug below also for crops. If you like the quick updates consider to donate something using the donate button in the plugin description, would help me a lot. Thank you2.7.3Bug fix. Configurable convertable typeJun 19, 2017 Unfortunately, this update require you to regenerate both your crop and mob file (Sorry for this) · Fixed a bug when a chest was full, but an item slot was not full (amount lower than 64) and the mob had more than one drops. Now, instead of dropping the extra item, the item will be sent to the next hopechest in the chunk. · Added an option for disabling players to convert chest to any hopechest without disabling at all that type. Added also an option for the all in one chest.2.7.2Sellable heads!Jun 19, 2017 This update requires you to regenerate your mob.yml In this update, I've added a couple more features. If you have any suggestion, leave them in the discussion. Thank you · You can now sell heads for a configurable price. Can be changed in the mob.yml file. I've decided to not add a GUI, since it would only make the whole thing more complicated. When right clicking air with a head in the hand, you'll sell all the heads of the same type in your inventory. · Added an option for disabling the head selling · Added an option for allowing mobs to drop their heads even if their drop is not gathered by a mobchest. · Add the headSell language to the config.yml .SpoilerTarget">Spoiler: config.yml Code (Text): mobInventoryName: '&7Choose the mob! Cost:&2%cost%' cropInventoryName: '&7Choose the crop! Cost:&2%cost%' #For this features to work you'll need Vault installed! conversionCost: true cropCost: 100 mobCost: 100 #Should players be able to assigned chest already being assigned? #For this to work, you need to enable canNamedChestBeConverted onlyAlreadyAssigned: false #How many chest can be converted per time? conversionLimit: 1 #MC 1.8 sounds http://docs.codelanx.com/Bukkit/1.8/org/bukkit/Sound.html #MC1.9 + sounds https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound… # <soundName>#<volume>#<pitch> #sound: ENTITY_EXPERIENCE_ORB_PICKUP#1#2.5 #Allows player to convert named chest in hopechest canNamedChestBeConverted: false cropEnabled: true mobEnabled: true #If you want a message to not be sent, just set it as '' Language: chunkLimit: '&cChunk limit reached!' alreadyNamed: '&cThat chest cannot be used as a &6HopeChest!' wrongItem: '&cWrong item' onConversion: '&7%item% converted to a &6HopeChest&7!' reload: '&cPlugin reloaded!' playerNotFound: '&cThat player is not online!' notANumber: '&cThat is not a number!' whenReceivedItem: '&cYou received a &6%item% x %amount%!' itemOnGround: '&c%item% is on the ground!' onlyPlayer: 'The command can be only executed by players!' noPermission: '&cNope' notEnoughMoney: '&cYou don''t have enough money to convert the chest!' onBlockBreak: '&cYou just broke a %type%Chest' #ADD THIS onHeadSell: '&cYou sold %amount% head for %total%' #ADD THIS #If a player don't have the permission, won't see the help command listCommand: '&7/chest list - &2Get a list of name of item' mobCommand: '&7/chest mob - &2Transform the container into a MobChest' cropCommand: '&7/chest crop - &2Trasform the container into a CropChest' giveCommand: '&7/chest give <mob/farm type> <playerName> <quantity>' giveallCommand: '&7/chest giveall <mob/farm type> <quantity>' reloadCommand: '&7/chest reload - &2Reload the plugin'2.7.1Lower version support for specific mob!Jun 18, 2017 I've added support for versions lower that 1.11 for mob subtypes. I've already uncommented the safe for version 1.8, uncomment them based on your server version. Squished a tiny bug. If you like the quick update consider to donate something using the donate button in the plugin description, would help me a lot. Thank you2.7Partial recode.Jun 18, 2017 Well, I've done some recode to the plugin, changed some internal thing and fixed some more bugs. Really few features are implemented here. · Remove the reload permission. Now it's all under the .admin permission · Add some aliases for the command aliases: [hpc,ch,assignchest] · Fixed a duplication bug with StackedMob · Now, when the item in the GUI are generated, they will follow the order you gave them in the file configuration (Both for crop and mob chest) · Hopefully fixed the randomly picked chest in the chunk when a mob is killed (Should be always the same chest)2.6.1Droppable mob heads!Jun 7, 2017 Mob.yml file is changed, regenerate of check below what's changed This update I've mainly added (configurable) mob head drop. · Added mob head drops! Now mobchest can also gather the mob head when a mob is killed (Needed one in the same chunk). You can also configure name and lore or the head · Fixed a little bug within mobchest canBeDoubled · Performance fix with mobchest when more mobchest in the same chunk I've marked what needed to be added in within ##ADD THIS comments .SpoilerTarget">Spoiler: mob.yml Code (Text): #You can choose between CHEST. TRAPPED_CHEST, HOPPER, DISPENSER ,DROPPER #When using trapped chests, remember that you actually need to have a #trapped chest to covert it material: CHEST Chest: name: '&6MobChest' lore: - '&7This is a MobChest' - '&7Everytime a mob is killed near it' - '&7it will teleport all the loot inside it!' #For an AssignedChest to work must have the %mob% tag in the name AssignedChest: name: '&6MobChest - %mob%' lore: - '&7This is a MobChest' - '&7Everytime a mob is killed near it' - '&7it will teleport all the loot inside it!' #You can change for which spawn reason the chest works #https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/CreatureSpawnEvent.SpawnReason.html spawnReason: - SPAWNER - SPAWNER_EGG #Should it works with stacked mobs of StackMob? #https://www.spigotmc.org/resources/stackmob.29999/ stackMob: true #Limit of MobChest per chunk perChunk: 1 #Can MobChest be a double chest? canBeDoubled: false ##ADD THIS #Should mob head be gathered when a mobchest get the loot from a mob? #Won't make drop mobs drops their head normally headDrop: false Head: name: '%mob% &7head' lore: - '&7This is a %mob%&7 head' ##ADD THIS #Should player in creative mode be able to drop and get experiance from mobs? creativeDrop: true #You can add any item you don't want to be dropped by mob and go inside the chest #You can remove it if you don't want all the drops from mobs #https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html blacklist: - red_rose #If you don't want players to be able to assing the chest to a specific mob #Just remove it from the list below #(Mob not supported from MC1.8-1.10 are already disabled) Mob: BAT: '&7Bat' PIG: '&7Pig' OCELOT: '&7Ocelot' COW: '&7Cow' MUSHROOM_COW: '&7Mushroom Cow' CHICKEN: '&7Chicken' HORSE: '&7Horse' # SKELETON_HORSE: '&7Skeleton Horse' # ZOMBIE_HORSE: '&7Zombie Horse' DONKEY: '&7Donkey' LLAMA: '&7Llama' MULE: '&7Mule' RABBIT: '&7Rabbit' SHEEP: '&7Sheep' SQUID: '&7Squid' WOLF: '&3Wolf' VILLAGER: '&3Villager' # POLAR_BEAR: '&3Polar Bear' # SHULKER: '&3Shulker' SLIME: '&3Slime' SNOWMAN: '&3Snowman' SPIDER: '&2Spider' CAVE_SPIDER: '&2Cave Spider' SILVERFISH: '&2Silverfish' SKELETON: '&2Skeleton' # STRAY: '&2Stray' # WITHER_SKELETON: '&2Wither Skeleton' ZOMBIE: '&2Zombie' # HUSK: '&2Husk' ZOMBIE_VILLAGER: '&2Zombie Villager' CREEPER: '&2Creeper' # VINDICATOR: '&2Vindicator' # EVOKER: '&2Evoker' # VEX: '&2Vex' WITCH: '&6Witch' IRON_GOLEM: '&6Iron Golem' MAGMA_CUBE: '&6Magma Cube' PIG_ZOMBIE: '&6Pig Zombie' GHAST: '&6Ghast' BLAZE: '&6Blaze' # ELDER_GUARDIAN: '&6Elder Guardian' GUARDIAN: '&6Guardian' GIANT: '&bGiant' ENDERMAN: '&bEnderman' ENDERMITE: '&bEndermite' ENDER_DRAGON: '&bEnder Dragon' WITHER: '&bWither' If you find any bug, please report them in the discussion. Thank you2.6 [STABLE]Specific mob headJun 7, 2017 No config changes This is a very small update (Nothing really new in it) · Added specific mob head (Like skeleton horse) on mc 1.11. I am no more using player heads, so could be interesting in what I could do with heads now. · Added support for 1.12 mobs · Adjusted a thing Expect soon an update for allowing mobchest to also gather mob head2.5.6A quick hotfixMay 31, 2017 No config changes today, you're saved (this time ) This is another hotfix. A stable version will come out very soon (Report any bug you find, THANK YOU ) · Fixed a bug regarding beetroots · Fixed wheat being affected by Fortune enchantment · Added poisonous potato as rare loot of potato (I forgot that) · Some code cleanup and minor performance upgrade I want to give special thanks to @ nitewing76 who helped me a lot with last updates finding bugs and leaving suggestions. Thank you2.5.5Hotfix and SoundsMay 29, 2017 No need to regenerate config This is just a quick update. · Fixed a bug when disabling both crop or mob chest · Added sound when converting a chest. For using them, check the default config in the plugin description (Or regenerate the config file, your choice). Remember that MC1.8 has different sounds than MC1.9+, there's a list for both anyway Remember to report any bug you find and hopefully, a stable version can be released soon2.5.4.1I am dumbMay 29, 2017 I forgot some debug code in it (again), I am sorry (This is because I am too sleepy )2.5.4A pletora of bugfixes! Cocoa supportMay 29, 2017 No configs has been changed This is another update that fixes load of bugs and adds some small thing · Fixed a couple of bugs related to item conversion · Better handling of item conversion · Added support for cocoa with both crop type and watercrop type (Might add it also with piston) · Now drops from crops are more vanilla like · Fixed a bug with Vault integration when disabled · Some code cleanup and performance improvement We are going near to a stable version that can be used (Hopefully) without bugs and safely2.5.3Another bug fixMay 28, 2017 No configs changes This should be the last update for today. Next few update, I'll just do bugfixes (and little changes), so I can mark version 2.6 as stable. · Fixed a bug regarding the all-in-one cropchest when the farm path was empty · Added auto size adjustment of mob and crop selecting GUI2.5.2BugsMay 28, 2017 No config changed this time This is just a small update to fix a couple of bugs · Fixed a bug regarding cactus · You can now just set (In both mob and crop file) list of assigned chest names to farm: and mob: to allow only the all-in-one chest to work2.5.1Ops!May 28, 2017 I forgot some debug code in the plugin, sorry for this wrong update!2.5New (Unexpected) Update!May 28, 2017 Regenerate both your config and crop file I did not plan this update, but since I had some free time, I've done it anyway · Added support for only sugar cane to not grow and be directly gathered by a cropchest (Farm with piston still works) · Added the crop type to cropchest. This chest will gather everything when directly broken and support Fortune enchantment · Fixed a bug where Nether warts was not added at all (Should work on both crop and watercrop) · Added a message when a hopechest is broken · Added the possibility to remove message to be sent, just set them as '' · Fixed a couple of bugs (Hopefully) · Unfortunately, seems like both potato and carrot does not work on MC 1.8. I won't add support for them, I am sorry If you find any bug, please report them in the discussion, thank you You can always donate something if you like my work2.4A couple more features!May 27, 2017 I am sorry about this, but you'll need to regenerate your config.yml again, sorry :S This should be the last update of today and there won't be any features full update in the near future. · Vault integration added. Now you can add a cost when converting a chest. · Added an option for converting only already converted chest · Added a converting limit, so when a player is holding a stack, he will convert max the value you set! · Added %item% placeholder in onConversion language string · Added the possibility to add %farm% and %mob% also in item lore of the chest · Added an assignchest alias (Instead of chest) And this is it, if you find any bug, please report them in the discussion tab, thank you : D If you want to support my work, feel free to donate something, would help me a lot2.3Fixed a bugMay 27, 2017 I've changed once again the mob.yml, check the plugin description for the change (or regenerate it), sorry for this! The second update today, enjoy! · Fixed a bug regarding stacked mob not working · Added an option for removing drops from mob if the player is in creative mode (The items won't drop anyway) · I forgot some debug code in the plugin, sorry · Fixed a typo in the config · Now when both carrot and potato are gathered by the crop chest, a random value between 1 and 4 will be added to the chest (As works in Minecraft)2.2Pumpkin and Melon support. Mob item blacklistMay 27, 2017 EDIT: I forgot to say that you'll need to regenerate your configs, or check in the plugin description what changed A couple new features added in! · Added support for both pumpkin and melon. Instead of growing now, they will be instantly put inside the chest (1 pumpkin for pumpkin stem, from 3 to 7 melons from melon stem) · Added an option for both pumpkin and melon to not grow even if not cropchest in the chunk · Added an item blacklist for mobs. Any item in this blacklist won't be gathered from mob drops and will be removed (For example, for removing iron golem from dropping puppy) If you find any bug, please report them in the discussion. Thank you!2.1Assigned Chest!May 23, 2017 It needed more time than expected to work on this update, but came out better than expected. · You can now assign chest to a specific mob (for mobchest) or to a specific farm (for cropchest)!. · Readded the cactusBreakAnyway option · Now, when you use the command for converting, a GUI will open up in which you can choose the type of the chest, there is still an option for the all in one chest. · Take in mind that now, when giving chest using command, you need to specify the type of chest. · Added a list command · Completely reworked command executor · Removed both give and giveall permission and added a common one (Too many useless permission node) --> hopechest.admin I won't add support for specific mobs (Like skeleton horse or wither skeleton) for MC versions lower than 1.11. All mob supported in MC1.11 are marked as comment in the mob.yml, just add them again for usage THIS UPDATE REQUIRE A COMPLETE REGENERATION OF ALL YOUR CONFIG. FILE (all are changed) If you find any bug or have any suggestion, use the discussion tab. Thank you!2.0 - RECODED! (BETA)Recode update!May 15, 2017 So, some time has passed since the last update came out and a lot of things has changed (Especially my coding experience ) This is now completely recoded and need Java 8 to run. What's new? · You can now change the container type to chest, hopper, dropper or dispenser · You can now add lore to the item · Better performance All the config has been changed, so regenerate ALL YOU CONFIG, or the plugin might not work properly. This release is a BETA and might contain bugs. If you find and, report them via PM or using the Discussion Tab, thank you1.11.8 CompatibilityApr 27, 2017 Now the plugin should work also on MC 1.8 to MC 1.11. (I won't add 1.7 compatibility) Also, add some options for disabling specific farm in the crop chest THIS MIGHT CONTAIN BUGS, since i've not tested it a lot. Report anything you find. Sorry if i am not updating this plugin, i am getting busy with my other plugin and others project.1.0A couple more commandApr 17, 2017 This should be the complete release of the plugin. I've tested a bit more and i found no bug or whatsoever (Tested on Spigot 1.11.2) · Added a give command · Added a giveall command Also added a couple more Language configuration, add this in the Language section in the config: Code (Text): whenReceivedItem: '&cYou received a &6%item% x %amount%!' itemOnGround: '&c%item% is on the ground!' giveCommand: '&7/chest give <chestName> <playerName> <quantity>' giveallCommand: '&7/chest giveall <chestName> <quantity>' If you find any bug, please report the in the discussion TAB. Thanks you0.9(BETA)Apr 16, 2017
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
26.2MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.9MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
4.7MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta