[ADMN/SEC] BanRecipe - Prevent a crafting recipe from being used - Moved to BukkitDev

Discussion in 'Inactive/Unsupported Plugins' started by Relick, Aug 18, 2011.

  1. Offline


    This project has been moved to BukkitDev. Please use that page instead of this one!


    Version: v0.4

    BanRecipe is a plugin designed to stop certain people from using certain recipes. It is designed as an improvement over other plugins such as NoCraft, as this plugin allows for permission group specific banning.

    Spout Server Plugin - Required (It doesn't require your users to have the launcher, don't worry)
    SuperPerms Manager - Not required, but greatly improves functionality

    * Two modes, Permissions mode and Op mode.
    * Permissions mode allows you to block recipes per group, or even user!
    * Op mode allows you to block everyone from recipes, but Ops are exempt!
    * Does not affect the ability to have or spawn the item, only craft it. Very useful for RP servers with group specific traits.
    * Customisable message sent to user trying to craft.
    * SuperPerms support.

    Make sure to read up on how to use the plugin before you download!

    <Edit by Moderator: Redacted bit url>
    Direct Download

    Show Spoiler
    By default when you first start up the plugin, you will be placed in this mode.

    In permissions mode, there is a permission node laid out like this:
    banrecipe.<id>: true/false
    Replace <id> with the item id number.

    When someone crafts something, the plugin checks if the permission for the crafted item is set to true for that player. If they don't have it, or it is set as false, it stops them from crafting, if they do it allows them to.

    Due to the sheer amount of items, it is recommended that you use the following permission:
    banrecipe.*: true
    Then block items by using this permission after the above one (in this example it is id 46 for tnt):
    banrecipe.46: false
    So it should now look like:
    banrecipe.*: true
    banrecipe.46: false
    The user can then craft everything, except for tnt.

    Show Spoiler
    If you don't have a SuperPerms manager, or you don't require the extra functionality, you can set UsePermissions as false to switch to this mode.
    In this mode, Ops can craft everything.
    Everyone else will be blocked from crafting the ids set in config.yml
    An example of blocked tnt and flint and steel is provided when you first startup the plugin, however it is explained here:
        '46': true
        BanMessage: You cannot craft that!
        UsePermissions: false
    This will ban TNT, and anyone trying to craft it will recieve a message saying 'You cannot craft that!'. Ops will not be blocked from crafting TNT.

    Show Spoiler
        '46': true
        BanMessage: You cannot craft that!
        UsePermissions: false
    ids: Contains the ids that are blocked (op mode only)
    BanMessage: The message sent to the player if the item they are trying to craft is blocked. Remove this line entirely if you don't want a message displayed.
    UsePermissions: true/false. True will put the plugin in Permissions mode, false will put it in Op mode. Anything else will break the plugin! Removing this line will reset the config to the default settings.

    Planned Features:
    * Remove Spout dependency.
    * Furnace support


    Version 0.4
    * Changed from Permissions 3 to SuperPerms

    Version 0.3
    * (Hopefully) fixed permissions mode.

    Version 0.2
    * Added some extra error handlers. It is highly recommended you update to this version.

    Show Spoiler
    Version 0.1
    * Initial release

    Special Thanks:

    @Afforess and the rest of the @SpoutDev - Greatly helped with this project.
    Everyone else who helped in the thread I posted regarding help :p
    Last edited by a moderator: Feb 21, 2017
    Rellac likes this.
  2. Offline


    Anyway, I've moved it to BukkitDev now. I am not having much luck with the furnace unfortunately D:
    v0.3 is uploaded on the BukkitDev page for those who want Perms 3. v0.4 is also on there.
    Thanks for the support guys :)

  3. Offline


    Yeah I have to stay at 0.3 atm.

    They`re not support any bridges either.:'(
  4. Offline


    Ah well. I know Heroes is made by a good lot of developers, so you should see SuperPerms soon. Also it's not difficult, even for a new modder, so I'd say next version.
  5. Bugs everywhere. I set the right permissions and it wouldn't let anybody craft anything.
  6. Offline


    does this work on 1.8.1 with CB 1185?
  7. Offline


    If you have Permissions 3, use version 0.3. If you are using a Superperms manager, I have no idea what you are on about, because I thoroughly tested it.

  8. Offline


    Thanks for your nice plugin !
    But I need to know how to ban recipe for colored wools (like id 35:15) in permissions bukkit ?

                banrecipe.35:1: true
                banrecipe.35:2: true
    When I do this it don't work :(
    How can I do ?

    Thanks in advance ;)
  9. Offline


    Good job! I'll send users of NoCraft over here :)
  10. Offline


    At the moment that is slightly lower on the list than some other things I'm adding, however I will get this in in a few versions time.

    Thanks! Just thought I'll point out that you spelt it as BadRecipe on the NoCraft page instead of BanRecipe, also as confusing as it is, Relick and Zantom07 are both actually me :p. Relick was taken on Curse and Minecraft (annoyingly by people who haven't used the accounts at all) so I had to go with my other alias.
  11. Offline


    Fixed :)
  12. Offline


    Thanks :)
  13. Offline


  14. Offline


    Permissions don't work like that... you cant have a colon in a permission node.
    What you need to do is in the banrecipe config file set all of those item ids to TRUE
    '267': true
    '257': true
    '258': true
    and so on... for all those items you want only specials to use

    Then... in permissions:
    give members this:

    - -banrecipe.256
    - -banrecipe.257
    - -banrecipe.258
    - banrecipe.*
    Thatll give members all of the items except special ones
  15. Offline


    Do you continue the development?
    There are so many devs who stoppet it with such plugins....
  16. Offline


    I'm working on a better version at the moment, but it will only be posted on BukkitDev (link at top of OP).
  17. Offline


    yeah thanks. Then Ill use yours. (Data values would be great^^)
  18. Offline


    I get the error that it isn't up to date? is it because my java isn't high enough?
  19. Offline


    Could you try and make it non-Spout? I would use this, but I cannot use it because of the ridiculous file limits my host has :/
  20. Offline


  21. Offline


    Long time no see Relick. You will notice that this thread has now been placed into the Inactive Plugin subforum.
    If you wish to revive this plugin, please ensure that you update and test compatibility with the latest recommended Bukkit build before reporting your original post, asking for it to be moved back to the release forum.

    Thanks for your time.

Share This Page