Anti Smealt/Craft

Discussion in 'Archived: Plugin Requests' started by Vesa, May 12, 2014.

  1. Offline

    Vesa

    I have an idea for a plugin, more of a request. A plugin that can disable the crafting or smelting of any item, but is for 1.7.8 No item does this, but is broken. Can anybody make this?
     
  2. Online

    timtower Administrator Administrator Moderator

    Vesa Error log of NoItem?
     
  3. Offline

    rylismiles

    Ur, do you want to disable crafting / smelting in general, or do you want to just disable a certain item?
     
  4. Offline

    omon23

    Working on this right now. It will disable use of crafting tables and furnaces.

    Edit: Now done

    You can download it at:
    https://drive.google.com/file/d/0B9TV6_ZcJmBnWlpvWFZzOEdGUTQ/edit?usp=sharing

    Currently awaiting approval on bukkit dev: http://dev.bukkit.org/bukkit-plugins/antismeltcraft/

    If you have essentials, and players have access to /workbench, then they can craft stuff. Otherwise, everything should be fine and just give players the permission 'asc.exempt' to let them use crafting tables and furnaces.
     
  5. Offline

    au2001

    omon23
    What about inventory crafts?
    Envil Crafts? Villager Exchanges? Enchanting Table Enchantment? etc.
    You should really create a config for that...
    And I think you should be able to open the workbench but not to use it (event.setReslut(null) should work)
     
  6. Offline

    omon23

    au2001
    Didn't think of that, guess I was to keen to make it xD.

    I have no idea how to stop inventory crafting.

    The guy said he wanted Anti-Smelting/Crafting not Anti-Villager exchanging or anti-enchanting. I could prevent enchanting or use of anvils if Vesa really wants it.

    Maybe I could add a config to set which blocks cannot be interacted with, or maybe expand it so you can choose what blocks you want. There is probably another plugin already for that, however.
     
  7. Offline

    au2001

    omon23
    I told you how to do it : event.setReslut(null) in a PrepareItemCraftEvent will work.
    And this plugin is not only for Vesa, it's also for other people who may want to use this...
    And making a config is not so hard, takes less than a minute...
     

Share This Page