CustomCraft plugin?

Discussion in 'Plugin Help' started by DraganYT, May 31, 2019.

  1. DraganYT

    DraganYT Silverfish

    Messages:
    17
    you know what ? nvm im just stupid i just had to stop the server x)
     
  2. HimbeersaftLP

    HimbeersaftLP Chicken

    Messages:
    1,701
    GitHub:
    HimbeersaftLP
    Because I literally edited the plugin just for this post haha.
    Also he merged it, so now you can clone it from his repo.
     
  3. DraganYT

    DraganYT Silverfish

    Messages:
    17
    no really ? haha x) thx again
     
  4. DraganYT

    DraganYT Silverfish

    Messages:
    17
    do you know how to add enchants to the custom craft ?
     
  5. HimbeersaftLP

    HimbeersaftLP Chicken

    Messages:
    1,701
    GitHub:
    HimbeersaftLP
    Will see what I can do about that
     
  6. DraganYT

    DraganYT Silverfish

    Messages:
    17
    ok thx
     
  7. ElLazer

    ElLazer Silverfish

    Messages:
    21
    GitHub:
    lazerdev
    I recommend that you wait for someone that's actually good at coding, I just editing plugins, update ect.
     
  8. BayAlper10

    BayAlper10 Silverfish

    Messages:
    17
    GitHub:
    BayAlper10
    Hi bro, pls review link
     
  9. HimbeersaftLP

    HimbeersaftLP Chicken

    Messages:
    1,701
    GitHub:
    HimbeersaftLP
    Apparently, the plugin already supports enchantments, just use the third parameter of the result like this:
    Code:
    result: ["diamond_sword", 1, '{"ench":[{"id":"9s","lvl":"1s"}]}']
    
    The "s" is important, because those values are ShortTags
     
  10. DraganYT

    DraganYT Silverfish

    Messages:
    17
    [Server thread/WARNING]: [CustomCraft] Could not get item [diamond_sword, 1, {"ench":[{"id":"9s","lvl":"1s"}]}] : Class 'pocketmine\nbt\JsonNBTParser' not found
    [14:43:39] [Server thread/WARNING]: [CustomCraft] Could not get item [diamond_sword, 1, {"ench":[{"id":"9s","lvl":"1s"}]}] : Class 'pocketmine\nbt\JsonNBTParser' not found
    [14:43:39] [Server thread/INFO]: [CustomCraft] Registered recipe for Diamond Sword

    Its not working...
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.