Code Monkey home page Code Monkey logo

customrecipes's People

Contributors

jankoekenpan avatar jannyboy11 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

customrecipes's Issues

Shift+Click in add recipe interface crashes server

In the process of adding a recipe for an elytra, I discovered that trying to use shift+click to move items into the interface causes the server to hang until the watchdog stops the server due to the thread becoming unresponsive. I tried this twice then manually moved items into the interface which then didn't crash the server. I'm not sure if this is a conflict with another plugin or something wrong with Paperclip.

This does not generate an error.

I'm using CustomRecipes v2.0.0-SNAPSHOT on Paperclip v1140 (1.12-R0.1-SNAPSHOT)

Here is the output from the watchdog when it detects the hang-up and shuts down (not that it looks terribly useful):

PID: 13 | Suspended: false | Native: false | State: WAITING
Stack:
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:502)
java.util.TimerThread.mainLoop(Timer.java:526)
java.util.TimerThread.run(Timer.java:505)
------------------------------
Current Thread: Paper Async Task Handler Thread - 0
PID: 12 | Suspended: false | Native: false | State: WAITING
Stack:
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
java.lang.Thread.run(Thread.java:745)
------------------------------
Current Thread: Signal Dispatcher
PID: 5 | Suspended: false | Native: false | State: RUNNABLE
Stack:
------------------------------
Current Thread: Finalizer
PID: 3 | Suspended: false | Native: false | State: WAITING
Stack:
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)
------------------------------
Current Thread: Reference Handler
PID: 2 | Suspended: false | Native: false | State: WAITING
Stack:
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:502)
java.lang.ref.Reference.tryHandlePending(Reference.java:191)
java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)
------------------------------

Hi i got a problem with Custom Recipes

My server can't load the plugins
My server it's 1.11.2
your plugin it's Custom Recipes 2.2.1
also there's no log and i can't remove it while the server is still runing

Custom Recipes not using custom NBT tags.

Hi, I wanted to create a special sword with special items, all containing NBT tags, for example :

iron_ingot with NBT: Unbreakable:1 and HideFlags:63 -> diamond_sword with NBT: Name:Special Sword, etc.

But when the recipe's created, I can craft the Special Sword with any iron_ingot and not just ingots with special NBT tags.

Thanks, btw, my server's on 1.12.

Not working

First of all, the plugin doesn't seen to work. The commands don't work and recipes are not loaded.

I also get a lot of console errors which seems to be related to recipes:
https://pastebin.com/wTzQRzJq

Thanks.

I'm using 1.12 and the latest version compiled.

Plugin won't load?

[16:56:25] [Server thread/ERROR]: Could not load 'plugins/CustomRecipes-2.2.1 (2).jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_12_R1/inventory/CraftItemStack
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135) ~[server.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[server.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [server.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:292) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:198) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [server.jar:git-Spigot-21fe707-e1ebe52]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
Caused by: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_12_R1/inventory/CraftItemStack
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_151]
at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_151]
at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:64) ~[server.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[server.jar:git-Spigot-21fe707-e1ebe52]
... 6 more
Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.v1_12_R1.inventory.CraftItemStack
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:91) ~[server.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[server.jar:git-Spigot-21fe707-e1ebe52]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_151]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_151]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_151]
at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_151]
at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:64) ~[server.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[server.jar:git-Spigot-21fe707-e1ebe52]
... 6 more

Error In 1.12.1 Version Of Plugin

I tried 1.12.2 and 1.12.1 versions and 1.12 version
When i try to make a shaped or shapeless craft it says:
Unrecognized recipe type shaped or shapeless. Please choose from [ ].

Brewing api?

One feature I've been thinking of, but haven't looked at yet myself, is a nice api and gui system for brewing recipes. In the future, I'd like to have a brewing manager similar to the crafting manager and furnace manager I got now, but I haven't looked into how the brewing stands work. In the ideal situation there's a brewing stand that can have any item as an input, and can have any item as an output, not just potions.

Duplication Issue

Using essentialsX

Step one: make a count recipe (eg: 100 emeralds=1 diamond)
Step two: max out the second stack because it's only partial
Step three: retrieve the diamond from the results window and the stacks of 64 emeralds turns into stacks of 128 emeralds

Wish can be have config which Language/Message

I wish the plugin can have the language/message config which can be edit, if it's not too trouble
because most chinese people cant understand the eng
If it have config can be edit, i could translate the message to other people .
Thanks

nbt - random recipes stops working

I made a few nbt recipes to my server and I see that some of them (random) aren't working. I've tried deleting them and making again - all were working before server restart. After restart problem occured again. There aren't any errors/warnings in log file. I've checked plugin folder and all recipes files are in place. I've also some shaped recipes but with them aren't any problems.

Server: PaperSpigot 1.12.2
Plugin version: 2.2.1

Custom Mob Head Items

(Permission) Crafting recipes with custom player heads seem to cause issues, they are not craftable by players with the permission node but are craftable by ops, attempting to remove a recipe gives a console error.

Version: Paper-1414 (1.12.2)

02/07/2018 21:56:26 [INFO] Rixic issued server command: /removerecipe permission 02/07/2018 21:56:26 [WARN] java.lang.IllegalArgumentException: value already present: com.gmail.jannyboy11.customrecipes.impl.crafting.custom.recipe.PermissionRecipe@72233979 02/07/2018 21:56:26 [WARN] at com.google.common.collect.HashBiMap.putInverse(HashBiMap.java:323) 02/07/2018 21:56:26 [WARN] at com.google.common.collect.HashBiMap.access$800(HashBiMap.java:58) 02/07/2018 21:56:26 [WARN] at com.google.common.collect.HashBiMap$Inverse.put(HashBiMap.java:579) 02/07/2018 21:56:26 [WARN] at com.gmail.jannyboy11.customrecipes.impl.crafting.CRCraftingManager.toNMSRecipe(CRCraftingManager.java:213) 02/07/2018 21:56:26 [WARN] at com.gmail.jannyboy11.customrecipes.impl.crafting.CRCraftingManager.removeRecipe(CRCraftingManager.java:328) 02/07/2018 21:56:26 [WARN] at com.gmail.jannyboy11.customrecipes.impl.crafting.custom.addremove.PermissionRemover.accept(PermissionRemover.java:75) 02/07/2018 21:56:26 [WARN] at com.gmail.jannyboy11.customrecipes.impl.crafting.custom.addremove.PermissionRemover.accept(PermissionRemover.java:17) 02/07/2018 21:56:26 [WARN] at com.gmail.jannyboy11.customrecipes.commands.RemoveRecipeCommandExecutor.onCommand(RemoveRecipeCommandExecutor.java:41) 02/07/2018 21:56:26 [WARN] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) 02/07/2018 21:56:26 [WARN] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:151) 02/07/2018 21:56:26 [WARN] at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:685) 02/07/2018 21:56:26 [WARN] at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1472) 02/07/2018 21:56:26 [WARN] at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1277) 02/07/2018 21:56:26 [WARN] at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) 02/07/2018 21:56:26 [WARN] at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:5) 02/07/2018 21:56:26 [WARN] at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14) 02/07/2018 21:56:26 [WARN] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 02/07/2018 21:56:26 [WARN] at java.util.concurrent.FutureTask.run(Unknown Source) 02/07/2018 21:56:26 [WARN] at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) 02/07/2018 21:56:26 [WARN] at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:843) 02/07/2018 21:56:26 [WARN] at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:427) 02/07/2018 21:56:26 [WARN] at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:767) 02/07/2018 21:56:26 [WARN] at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:665) 02/07/2018 21:56:26 [WARN] at java.lang.Thread.run(Unknown Source)

Dont working...

No errors in console, i use spigot 1.12.1 my problem is when i create a recipe, and i close the menu, then i can't click furnace or crafting table and 10-20 seconds later the server stop because: timed out... And i dont know how i create a recipe, when i type /addrecipe shaped test this command is open a menu, i place the materials in the table, and then? dont have other button to accept recipe, and dont have place to i place the crafted item... (sorry bad english)

Problem with saving recipes! v1.12.2

The recipes work until I reboot the server, after which the recipes disappear.
This happens only with the addition of recipes, deleting recipes occurs without bugs.

In the server folder I found the folder with the plugin config, I decided to see what happens when I create or delete craft, during the removal a .dll file with a specific name of craft is created instantly, but nothing is created during the addition!
latest.log

Furnace recipe overwrites vanilla recipe

I am trying to create a recipe where the ingredient is a custom item (Fine Sand) and results in a custom result (Fine Glass).

When I try and create the recipe, it overwrites the original furnace recipe where vanilla sand creates vanilla glass. Therefore any type of sand (NOT Fine Sand) can create my Fine Glass item.

update 1.12

I updated to the new 1.12 plugin.
Thanks for that btw!

I never touched my original plugin folder, but since the update, none of the recipes are working.
I had created for example "emerald axe"
When I try create it in a crafting table, nothing happens.
Am I missing something?

Le plugin nest pas supporter

Enfait le plugin n'est pas lu ... je pense qu'il n'est pas compatible ... Et n'est donc pas lisible par mon serveur

Better gui for /listrecipes

the GUI for /list recipes is a bit limited. It would be nice to see the ingredients of the recipes in a new inventory when a recipe is clicked.

Ability to start from scratch.

This is potentially more of a feature request, but it seems as though the plugin comes with a bunch of custom recipes already created. Is it possible to remove all of them (besides removing them one by one). http://i.imgur.com/ASXfvf7.png

Edit: Seem to be hardcoded into the plugin? Not part of the files from what I can see.

CustomRecipes resets every time server turns off ! Major issue

Hi there. Often in my server console the following pops up:
Tried to load unrecognized recipe: customrecipes:mbz removed now. CustomRecipes

(mbz is the key of the recipe)

After this, none of the custom recipes work. They all are deleted and don't appear in /listrecipes shapeless.
I'm running 1.12 on my server.
How can I fix? :(

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.