Inactive [ADMN/MECH] RecipeManager - Add/edit/remove recipes and fuels [1.2.5-R4.0]

Discussion in 'Inactive/Unsupported Plugins' started by Digi, Oct 6, 2011.

  1. Offline

    JaxFromHell

    Damn, i need this feature. You can use Spout to make a Recipe List Panel with keybind.

    Anyway, this plugin is amazing for a first plugin release. I'm waiting for the updates =)
     
  2. Offline

    ShadowDrakken

    It slows the server down significantly, especially the netcomm. I don't know why, but if you search around it's a common complaint. And I run mine on a RAMdrive so it takes a lot to slow it down.
     
  3. Offline

    MonsieurApple

    Please update to latest RB
     
  4. I will once I finish v1.1, which is in fact built on the latest RB :}
     
  5. Offline

    RonanZer0

    sorry this post is pointless, but shouldnt your status be plugin developer?
     
  6. Offline

    resba

    Approved. Moved.
     
  7. v1.1 released built and tested on #1337

    See bukkitdev link for download and configuration changes.
     
  8. Offline

    JaxFromHell

    Can't find the download link for v1.1

    Edit: Thanks for the Fix.
     
  9. Minor version released:
     
  10. Offline

    watamacha

    ok i get it but wen i tried to make a recipe it idnt work i wanted to make it so that if coal is surrounded by lava buckets it becomes diamond please reply to this with recipe so i can see it
     
  11. recipe for the latest version:
    Code:
    shaped
    lava_bucket + lava_bucket + lava_bucket
    lava_bucket + coal + lava_bucket
    lava_bucket + lava_bucket + lava_bucket
    = diamond
    The game will also return your empty buckets by default.
     
  12. New minor version:
    I didn't have time to fully test this, I just ran the server and it seems it creates the configs and all that.
    Also, I won't update verry soon since, like I said, I don't really have the time, and there's that missing brewing API that I need to make custom potions, until then, there won't be any next version probably, only fixes and stuff.
     
  13. Offline

    Kozzy68

    I like to oweride MC recepies is it possible ? it does not seems to work for me.
    example bone to 7 bonemerals:
    UNSHAPED
    352:0:1
    = 351:15:7
     
  14. You can't change the result of an already existing recipe in this version, maybe in future ones... until then, you could add 2 bones resulting in 14 bonemeal :}
     
  15. Offline

    Kirbyarm

    Hello, I'm having trouble with your plugin.

    I got pretty much all recipes to work... that is, except for bedrock as the product.

    I have:

    3 gold blocks
    spawner goldenapple spawner
    3 diamond blocks

    For 1 bedrock... and it shows it crafting in the product window, but when you pull it out the bedrock disappears, the ingredients return, and it says "this recipe is restricted"

    Could you please tell me how I can make bedrock or what I could be doing wrong? A few of my custom recipes rely on bedrock as the ingredient.
     
  16. There could be something interfeering with that recipe that makes it act as restricted...
     
  17. Offline

    Kirbyarm

    Think it's the golden apple? Please tell me if you are able to create bedrock on your server?
     
  18. I will be able to because I don't have your banned recipes list, the plugin doesn't ban recipes on it's own but it *could* screw up some banned recipes.

    Anyway, this plugin is secondary in the priority list tough, I think it'll take some time until I get to fixing the issues with it :}
     
  19. Offline

    Kirbyarm

    I have only banned one recipe.. 8 gold blocks + apple = golden apple.

    I added a recipe, 8 gold ingots + apple = golden apple.

    And the recipe I'm using for bedrock has a golden apple in it. Would that be the issue? All furnace and other recipes work fine, except I can't use any unshaped recipes.. they just don't do anything in the crafting table in game.

    Example, seed + pumpkin seed = melon seed. <------- Does not work. I'll have to force it to be shaped with either 20 combinations or only in the bottom corner. If you can suggest something better, I'm all for it.

    I'd paste my configs if my retardedly unreliable hoster weren't down yet again, disabling FPT and the like.
     
  20. Offline

    phanaticd

    i really like this plugin but since installing it i get these errors. from what I can tell they are from the skyblock plugin, lockette, and nolagg? any help/info would be appreciated, gameplay doesnt seem to be affected but yea would like these to be fixed
    peopl are bypassing lockette occasionally




    Code:
    15:56:55 [SEVERE] Could not pass event CHUNK_LOAD to RecipeManager
    java.lang.ClassCastException: net.minecraft.server.TileEntitySign cannot be cast to net.minecra
    ft.server.TileEntityChest
            at org.bukkit.craftbukkit.block.CraftChest.<init>(CraftChest.java:18)
            at org.bukkit.craftbukkit.block.CraftBlock.getState(CraftBlock.java:205)
            at org.bukkit.craftbukkit.CraftChunk.getTileEntities(CraftChunk.java:98)
            at digi.recipeManager.events.WorldEvents.chunkFurnaces(WorldEvents.java:54)
            at digi.recipeManager.events.WorldEvents.onChunkLoad(WorldEvents.java:35)
            at org.bukkit.plugin.java.JavaPluginLoader$52.execute(JavaPluginLoader.java:628)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:340)
            at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:92)
            at net.minecraft.server.ChunkProviderServer.getOrCreateChunk(ChunkProviderServer.java:1
    06)
            at net.minecraft.server.World.getChunkAt(World.java:333)
            at net.minecraft.server.World.getTypeId(World.java:280)
            at org.bukkit.craftbukkit.PortalTravelAgent.findPortal(PortalTravelAgent.java:91)
            at org.bukkit.craftbukkit.PortalTravelAgent.findOrCreate(PortalTravelAgent.java:29)
            at net.minecraft.server.ServerConfigurationManager.changeDimension(ServerConfigurationM
    anager.java:344)
            at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:283)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:307)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    
    Code:
    java.lang.ClassCastException: net.minecraft.server.TileEntityChest cannot be cast to net.minecr
    aft.server.TileEntitySign
            at org.bukkit.craftbukkit.block.CraftSign.<init>(CraftSign.java:16)
            at org.bukkit.craftbukkit.block.CraftBlock.getState(CraftBlock.java:203)
            at org.bukkit.craftbukkit.CraftChunk.getTileEntities(CraftChunk.java:98)
            at digi.recipeManager.events.WorldEvents.chunkFurnaces(WorldEvents.java:54)
            at digi.recipeManager.events.WorldEvents.onChunkUnload(WorldEvents.java:41)
            at org.bukkit.plugin.java.JavaPluginLoader$54.execute(JavaPluginLoader.java:642)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:340)
            at net.minecraft.server.ChunkProviderServer.unloadChunks(ChunkProviderServer.java:231)
            at net.minecraft.server.World.doTick(World.java:1725)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:514)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    
    Code:
    15:49:01 [SEVERE] Could not pass event BLOCK_PLACE to Lockette
    java.lang.NullPointerException
            at org.bukkit.craftbukkit.block.CraftSign.getLine(CraftSign.java:24)
            at org.yi.acru.bukkit.Lockette.Lockette.findBlockOwnerBase(Lockette.java:1138)
            at org.yi.acru.bukkit.Lockette.Lockette.findBlockOwner(Lockette.java:966)
            at org.yi.acru.bukkit.Lockette.Lockette.findBlockOwner(Lockette.java:865)
            at org.yi.acru.bukkit.Lockette.Lockette.isProtected(Lockette.java:615)
            at org.yi.acru.bukkit.Lockette.LocketteBlockListener.onBlockPlace(LocketteBlockListener
    .java:388)
            at org.bukkit.plugin.java.JavaPluginLoader$32.execute(JavaPluginLoader.java:486)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:340)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory
    .java:100)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory
    .java:84)
            at net.minecraft.server.ItemBlock.a(ItemBlock.java:97)
            at net.minecraft.server.ItemStack.placeItem(ItemStack.java:83)
            at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:288)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:593)
            at net.minecraft.server.Packet15Place.a(SourceFile:39)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    
    Code:
    16:04:41 [SEVERE] java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlockState ca
    nnot be cast to org.bukkit.block.Chest
    16:04:41 [SEVERE]       at de.qgel.skySMP.CreateIslandCommand.generateIslandBlocks(CreateIsland
    Command.java:142)
    16:04:41 [SEVERE]       at de.qgel.skySMP.CreateIslandCommand.createIsland(CreateIslandCommand.
    java:88)
    16:04:41 [SEVERE]       at de.qgel.skySMP.CreateIslandCommand.onCommand(CreateIslandCommand.jav
    a:64)
    16:04:41 [SEVERE]       at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    16:04:41 [SEVERE]       at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:1
    68)
    16:04:41 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:
    378)
    16:04:41 [SEVERE]       at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler
    .java:758)
    16:04:41 [SEVERE]       at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:723
    )
    16:04:41 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:716)
    16:04:41 [SEVERE]       at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    16:04:41 [SEVERE]       at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    16:04:41 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
    16:04:41 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    16:04:41 [SEVERE]       at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    16:04:41 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    16:04:41 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
     
  21. Wow :confused:
    I dunno, this is line 54 in my plugin:
    Code:
    final BlockState titleEnts[] = chunk.getTileEntities();
    And the method is called when a chunk is loaded... the event can't be cancelled because it doesn't have the "isCancelled()" and "setCancelled()" mehods... but I dunno even if this is my plugin's fault xD
    I see that the last error is triggered when the skySMP plugin makes a new island... ? I *could* ignore new chunks since furnaces aren't likely to generate in those...

    I've uploaded a test version for you to try, it's ignoring new chunks and I've surrounded that method with try-catch and a little message to see if it's still failing.
     
  22. Offline

    phanaticd

    ok i will try it later

    nope whatever u gave me didnt work, ugh i think my world might be a lil corrupted...


    this is what always ends up crashing the server and i usually have to reboot my machine to do anything

    Code:
    2012-01-12 23:31:41 [SEVERE] java.lang.NullPointerException
    2012-01-12 23:31:41 [SEVERE]     at org.bukkit.craftbukkit.block.CraftSign.update(CraftSign.java:36)
    2012-01-12 23:31:41 [SEVERE]     at net.minecraft.server.WorldGenTaiga2.generate(WorldGenTaiga2.java:145)
    2012-01-12 23:31:41 [SEVERE]     at net.minecraft.server.BlockSapling.b(BlockSapling.java:57)
    2012-01-12 23:31:41 [SEVERE]     at net.minecraft.server.BlockSapling.a(BlockSapling.java:32)
    2012-01-12 23:31:41 [SEVERE]     at net.minecraft.server.World.k(World.java:1990)
    2012-01-12 23:31:41 [SEVERE]     at net.minecraft.server.World.doTick(World.java:1742)
    2012-01-12 23:31:41 [SEVERE]     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:514)
    2012-01-12 23:31:41 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    2012-01-12 23:31:41 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2012-01-12 23:31:41 [SEVERE] Unexpected exception
    java.lang.NullPointerException
        at org.bukkit.craftbukkit.block.CraftSign.update(CraftSign.java:36)
        at net.minecraft.server.WorldGenTaiga2.generate(WorldGenTaiga2.java:145)
        at net.minecraft.server.BlockSapling.b(BlockSapling.java:57)
        at net.minecraft.server.BlockSapling.a(BlockSapling.java:32)
        at net.minecraft.server.World.k(World.java:1990)
        at net.minecraft.server.World.doTick(World.java:1742)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:514)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  23. Well, that error is not from my plugin now, it's that world generator.

    You should archive that world away and try with a fresh one with and without that island generation plugin.
     
  24. Offline

    phanaticd

    i removed your plugin and have gotten no errors for about 12 hours now. and before I installed your plugin i wasnt getting any errors. but while I had it installed i constantly got those errors and server crashes, so I dont know if its just conflicting or what but i cant use it :/
     
  25. Did you try with a fresh world ?
     
  26. Offline

    phanaticd

    ok i reinstalled it. i think it was another plugin giving me all those errors, ill let u know if i get anything. btw if u put in a bad recipe, like i did

    furnace
    flint % 3
    = rail

    that crashed my server lol, it works fine with the data values tho

    and lockette seems to randomly turn off then work again a few minutes later
     
  27. Why is that a bad recipe ? It makes a rail every 3 seconds from flint, the task runs every tick anyway so... how does it crash ? :confused:
     
  28. Offline

    phanaticd

    okay i get this error randomly... seems to be issues with lockette?
    [SEVERE] Could not pass event CHUNK_LOAD to RecipeManager
    java.lang.ClassCastException: net.minecraft.server.TileEntityChest cannot be cast to net.minecraft.server.TileEntitySign

    and this is the error that crashes my server, the null pointer
    2012-01-12 23:31:41 [SEVERE] java.lang.NullPointerException
    2012-01-12 23:31:41 [SEVERE] at org.bukkit.craftbukkit.block.CraftSign.update(CraftSign.java:36)
    2012-01-12 23:31:41 [SEVERE] at net.minecraft.server.WorldGenTaiga2.generate(WorldGenTaiga2.java:145)
    2012-01-12 23:31:41 [SEVERE] at net.minecraft.server.BlockSapling.b(BlockSapling.java:57)
    2012-01-12 23:31:41 [SEVERE] at net.minecraft.server.BlockSapling.a(BlockSapling.java:32)
    2012-01-12 23:31:41 [SEVERE] at net.minecraft.server.World.k(World.java:1990)
    2012-01-12 23:31:41 [SEVERE] at net.minecraft.server.World.doTick(World.java:1742)
    2012-01-12 23:31:41 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:514)
    2012-01-12 23:31:41 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    2012-01-12 23:31:41 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2012-01-12 23:31:41 [SEVERE] Unexpected exception
    java.lang.NullPointerException
    at org.bukkit.craftbukkit.block.CraftSign.update(CraftSign.java:36)
    at net.minecraft.server.WorldGenTaiga2.generate(WorldGenTaiga2.java:145)
    at net.minecraft.server.BlockSapling.b(BlockSapling.java:57)
    at net.minecraft.server.BlockSapling.a(BlockSapling.java:32)
    at net.minecraft.server.World.k(World.java:1990)
    at net.minecraft.server.World.doTick(World.java:1742)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:514)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
     
  29. Well I dunno, my code checks if the tile entity is a furnace, that's all, has nothing to do with chests and signs :confused:

    Code:
    	@Override
    	public void onChunkLoad(final ChunkLoadEvent event)
    	{
    		if(!event.isNewChunk())
    			chunkFurnaces(event.getChunk(), true);
    	}
    
    //...
    
    	public void chunkFurnaces(final Chunk chunk, final boolean add)
    	{
    		final BlockState titleEnts[] = chunk.getTileEntities();
    		
    		for(final BlockState ent : titleEnts)
    		{
    			if(ent != null && ent instanceof Furnace)
    			{
    				if(add)
    					main.burningFurnacesList.put(ent.getBlock().getLocation(), (double)0);
    				else
    					main.burningFurnacesList.remove(ent.getBlock().getLocation());
    			}
    		}
    	}
    I'll install lockette and try to get your error.
     

Share This Page