Inactive [ADMN/SEC] Incraftible v0.10 - Superperms-based Crafting [Spout] [1.1-R3]

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

  1. Offline

    taufiqkh

    Incraftible
    Version: 0.10

    Download the plugin
    Source code for the devs
    Development build for the risk-takers on the bleeding edge (for 1.2)

    Provides permissions-based control of crafting for items and item groups. Runs on the Bukkit permissions API (Superperms), tested with bPermissions and PermissionsEx. It's Incraftible!

    Features:
    • Fine-grained control over all known Bukkit materials
    • Configurable message*
    Requirements

    • Incraftible uses server-side Spout for its inventory crafting events as it allows for a simple, straightforward event listener.
    Compatibility

    Incraftible has been tested with the following:
    • CraftBukkit recommended build #1.1 RB-3
    Other users have found Superperms and Permissions to sit happily side-by-side, but there have been reports of problems with the Permissions * wildcard. I have found issues when using PermissionsBukkit with the latest releases of Bukkit, and it is currently unsupported.

    Configuration:

    Configuration of who can craft what is done via Bukkit permissions. All standard Bukkit materials are supported, and crafting of all standard items is enabled by default. You can disallow crafting of an item by settings its incraftible.craft node to false. For convenience, several permission nodes have been created that control permissions on a number of objects. These nodes are set in the standard permissions.yml file that Bukkit uses:

    A full list of permission nodes can be found at https://github.com/taufiqkh/Incraftible/wiki/Permissions.

    As an example, the following will create a permission node that disallows all tools greater than stone and all armor greater than leather:
    Code:
    incraftible.restrict.tools:
        description: Restrict to basic tools and armor.
        default: true
        children:
            incraftible.craft.tools.iron.*: false
            incraftible.craft.tools.gold.*: false
            incraftible.craft.tools.diamond.*: false
            incraftible.craft.armor.iron.*: false
            incraftible.craft.armor.gold.*: false
            incraftible.craft.armor.diamond.*: false
    Configuration of the plugin itself is via plugins/Incraftible/config.yml. Default behaviour is controlled by setting craft.default, which accepts the following values:
    • none disallow all crafting by default, using permissions to allow specific objects
    • all allow all crafting by default, using permissions to disallow specific objects
    The disallow message is configurable:

    Code:
    messages:
        disallowed: "You are not allowed to craft %s"
    Changelog:

    0.10
    Older versions (open)

    0.9
    0.8
    0.7
    0.6:
    0.5:
    0.4:


    Todo:
    • Add control over remaining material data values.
    • Add material bundle entries for data values.
    • Investigate difficulty of adding control to furnace events.
    • Add more meaningful headers for config files.
    • Add support for purely id-based permissions.
    * Just the one, for now.
     
    fluxboy8 likes this.
  2. Offline

    taufiqkh

    Thanks very much for that, glad to know it wasn't Incraftible causing the dupe issue but I'll take a look at the permissions.
     
  3. Offline

    nemanja

    are you going to update to 1181? :)
     
  4. Offline

    taufiqkh

    You mean CraftBukkit 1185? The "experimental" build has been pretty stable for my server - it's listed near the top of the page. I'll rename the build and update the thread when I next get a chance.
     
  5. Offline

    Dothackking

    I'm having issues with this plugin. It is not letting me craft bows or arrows
     
  6. Offline

    taufiqkh

    Ok, so there seem to be issues with inherited permissions. I'll have to figure out a better way to work with superperms and inheritance, as there are issues when groups have "parent" permissions like any of the .* permissions that overlap with inherited ones. As a (really ugly, painful) workaround, setting individual permissions explicitly should still work until I can figure this one out.
     
  7. Offline

    Drexl

    Is this still being developed? We're up to CB1317 and Spout 449 now. Not rushing anyone, just like to be informed if development is still ongoing.
     
  8. Offline

    taufiqkh

    Sorry, just been tied down with work. Downside of a full time job!
     
  9. Offline

    1n5aN1aC

    also, would LOVE support for purely id-based permissions.
     
  10. Offline

    Drexl

    Thanks for the update!
     
  11. Offline

    1born2kill

    Yeah Please add ID! anyway ty for plugin
     
  12. Offline

    BooGaLoo90

    Is there a version for mc1.0 compatible including the enchantment items.

    currently no one can craft any new 1.0 items with this plugin running.
     
  13. Offline

    taufiqkh

    Have you tried adding the new item permissions? They should be auto-generated from the latest materials data, so that access can be enabled by adding the appropriate permissions:
    New Permissions (open)

    incraftible.craft.mycel
    incraftible.craft.water_lily
    incraftible.craft.nether_brick
    incraftible.craft.nether_fence
    incraftible.craft.nether_brick_stairs
    incraftible.craft.nether_water
    incraftible.craft.enchantment_table
    incraftible.craft.brewing_stand
    incraftible.craft.cauldron
    incraftible.craft.ender_portal
    incraftible.craft.ender_portal_frame
    incraftible.craft.whitestone
    incraftible.craft.blaze_rod
    incraftible.craft.ghast_tear
    incraftible.craft.gold_nugget
    incraftible.craft.nether_stalk
    incraftible.craft.potion
    incraftible.craft.glass_bottle
    incraftible.craft.spider_eye
    incraftible.craft.fermented_spider_eye
    incraftible.craft.blaze_powder
    incraftible.craft.magma_cream
    incraftible.craft.brewing_stand_item
    incraftible.craft.cauldron_item
    incraftible.craft.eye_of_ender
    incraftible.craft.speckled_melon
    incraftible.craft.record_3
    incraftible.craft.record_4
    incraftible.craft.record_5
    incraftible.craft.record_6
    incraftible.craft.record_7
    incraftible.craft.record_8
    incraftible.craft.record_9
    incraftible.craft.record_10
    incraftible.craft.record_11


    I haven't had a chance to test this myself so feedback is welcome. Work has been busy recently, but I'll try to run some tests and put up a new version if necessary.
     
  14. Offline

    BooGaLoo90

    Ill try this out. here is what my permissions currntly look like:

    -incraftible.craft.tnt
    incraftible.craft.*

    On my server i have disallowed the crafting of TNT, and is only obtainable by purchasing in the shop for an expensive price. but for some reason even with the asteric, random things are not allowed to be crafted. ill go ahead and put those perms in though.
     
  15. Offline

    BooGaLoo90

    Ive added all this. now the enchantment table is not craftable =/ even though the enchantment table is specifically listed to allowed to be craftable using the permissions above.
     
  16. Offline

    taufiqkh

    Ok, thanks for letting me know, I'll take a look. Are all the other new items able to be crafted?
     
  17. Offline

    Godeko

    works with pex?
     
  18. Offline

    taufiqkh

    From all reports, yes it does. Permission configuration is the Pex style, rather than the ones outlined above.
     
  19. Offline

    Godeko

    thank you I got it :D
    can please please add smelting and cooking?
     
  20. Offline

    Fuzzwolf

    Is there a way to completely block the crafting event rather then having it go through but stopping it? This interferes with RPG plugins which utilize these events to properly award EXP to the player upon crafting a certain item. I'd very much like to use this plugin in conjunction with Heroes (http://dev.bukkit.org/server-mods/heroes/), but I am an amateur when it comes to Java Programming.
     
  21. Offline

    Pomme72

    Please update for working with these items :

    • craft wool with string
    • color wool
    • colors
    • glass' bottles
    • blaze powder (donc pas de ender eye)
    • nether fence
    • cauldron
    • spider's eyes
    Oh, all the new items ^^
     
  22. Offline

    Sasuke5900

    Hello,

    I use this plugin for my server's RPG.
    We want block the chest's craft.

    Show Spoiler

    I use bPermissions.

    admins:
    - '*'

    base:
    - incraftible.craft.air
    - incraftible.craft.stone
    - incraftible.craft.grass
    - incraftible.craft.dirt
    - incraftible.craft.cobblestone
    - incraftible.craft.wood
    - incraftible.craft.sapling
    - incraftible.craft.bedrock
    - incraftible.craft.water
    - incraftible.craft.stationary_water
    - incraftible.craft.lava
    - incraftible.craft.stationary_lava
    - incraftible.craft.sand
    - incraftible.craft.gravel
    - incraftible.craft.gold_ore
    - incraftible.craft.iron_ore
    - incraftible.craft.coal_ore
    - incraftible.craft.log
    - incraftible.craft.coal_ore
    - incraftible.craft.leaves
    - incraftible.craft.sponge
    - incraftible.craft.glass
    - incraftible.craft.lapis_ore
    - incraftible.craft.lapis_block
    - incraftible.craft.dispenser
    - incraftible.craft.sandstone
    - incraftible.craft.note_block
    - incraftible.craft.bed_block
    - incraftible.craft.powered_rail
    - incraftible.craft.detector_rail
    - incraftible.craft.piston_sticky_base
    - incraftible.craft.web
    - incraftible.craft.long_grass
    - incraftible.craft.dead_bush
    - incraftible.craft.piston_base
    - incraftible.craft.piston_extension
    - incraftible.craft.wool
    - incraftible.craft.piston_moving_piece
    - incraftible.craft.yellow_flower
    - incraftible.craft.red_rose
    - incraftible.craft.brown_mushroom
    - incraftible.craft.red_mushroom
    - incraftible.craft.gold_block
    - incraftible.craft.iron_block
    - incraftible.craft.double_step
    - incraftible.craft.step
    - incraftible.craft.brick
    - incraftible.craft.tnt
    - incraftible.craft.bookshelf
    - incraftible.craft.mossy_cobblestone
    - incraftible.craft.obsidian
    - incraftible.craft.torch
    - incraftible.craft.fire
    - incraftible.craft.mob_spawner
    - incraftible.craft.wood_stairs
    - ^incraftible.craft.chest
    - incraftible.craft.redstone_wire
    - incraftible.craft.diamond_ore
    - incraftible.craft.diamond_block
    - incraftible.craft.workbench
    - incraftible.craft.crops
    - incraftible.craft.soil
    - incraftible.craft.furnace
    - incraftible.craft.burning_furnace
    - incraftible.craft.sign_post
    - incraftible.craft.wooden_door
    - incraftible.craft.ladder
    - incraftible.craft.rails
    - incraftible.craft.cobblestone_stairs
    - incraftible.craft.wall_sign
    - incraftible.craft.lever
    - incraftible.craft.stone_plate
    - incraftible.craft.iron_door_block
    - incraftible.craft.wood_plate
    - incraftible.craft.redstone_ore
    - incraftible.craft.glowing_redstone_ore
    - incraftible.craft.redstone_torch_off
    - incraftible.craft.redstone_torch_on
    - incraftible.craft.stone_button
    - incraftible.craft.snow
    - incraftible.craft.ice
    - incraftible.craft.snow_block
    - incraftible.craft.cactus
    - incraftible.craft.clay
    - incraftible.craft.sugar_cane_block
    - incraftible.craft.jukebox
    - incraftible.craft.fence
    - incraftible.craft.pumpkin
    - incraftible.craft.netherrack
    - incraftible.craft.soul_sand
    - incraftible.craft.glowstone
    - incraftible.craft.portal
    - incraftible.craft.jack_o_lantern
    - incraftible.craft.cake_block
    - incraftible.craft.diode_block_off
    - incraftible.craft.diode_block_on
    - incraftible.craft.locked_chest
    - incraftible.craft.trap_door
    - incraftible.craft.iron_spade
    - incraftible.craft.iron_pickaxe
    - incraftible.craft.iron_axe
    - incraftible.craft.flint_and_steel
    - incraftible.craft.apple
    - incraftible.craft.bow
    - incraftible.craft.arrow
    - incraftible.craft.coal
    - incraftible.craft.diamond
    - incraftible.craft.iron_ingot
    - incraftible.craft.gold_ingot
    - incraftible.craft.iron_sword
    - incraftible.craft.wood_sword
    - incraftible.craft.wood_spade
    - incraftible.craft.wood_pickaxe
    - incraftible.craft.wood_axe
    - incraftible.craft.stone_sword
    - incraftible.craft.stone_spade
    - incraftible.craft.stone_pickaxe
    - incraftible.craft.stone_axe
    - incraftible.craft.diamond_sword
    - incraftible.craft.diamond_spade
    - incraftible.craft.diamond_pickaxe
    - incraftible.craft.diamond_axe
    - incraftible.craft.stick
    - incraftible.craft.bowl
    - incraftible.craft.mushroom_soup
    - incraftible.craft.gold_sword
    - incraftible.craft.gold_spade
    - incraftible.craft.gold_pickaxe
    - incraftible.craft.gold_axe
    - incraftible.craft.string
    - incraftible.craft.feather
    - incraftible.craft.sulphur
    - incraftible.craft.wood_hoe
    - incraftible.craft.stone_hoe
    - incraftible.craft.iron_hoe
    - incraftible.craft.diamond_hoe
    - incraftible.craft.gold_hoe
    - incraftible.craft.seeds
    - incraftible.craft.wheat
    - incraftible.craft.bread
    - incraftible.craft.leather_helmet
    - incraftible.craft.leather_chestplate
    - incraftible.craft.leather_leggings
    - incraftible.craft.leather_boots
    - incraftible.craft.chainmail_helmet
    - incraftible.craft.chainmail_chestplate
    - incraftible.craft.chainmail_leggings
    - incraftible.craft.chainmail_boots
    - incraftible.craft.iron_helmet
    - incraftible.craft.iron_chestplate
    - incraftible.craft.iron_leggings
    - incraftible.craft.iron_boots
    - incraftible.craft.diamond_helmet
    - incraftible.craft.diamond_chestplate
    - incraftible.craft.diamond_leggings
    - incraftible.craft.diamond_boots
    - incraftible.craft.gold_helmet
    - incraftible.craft.gold_chestplate
    - incraftible.craft.gold_leggings
    - incraftible.craft.gold_boots
    - incraftible.craft.flint
    - incraftible.craft.pork
    - incraftible.craft.grilled_pork
    - incraftible.craft.painting
    - incraftible.craft.golden_apple
    - incraftible.craft.sign
    - incraftible.craft.wood_door
    - incraftible.craft.bucket
    - incraftible.craft.water_bucket
    - incraftible.craft.lava_bucket
    - incraftible.craft.minecart
    - incraftible.craft.saddle
    - incraftible.craft.iron_door
    - incraftible.craft.redstone
    - incraftible.craft.snow_ball
    - incraftible.craft.boat
    - incraftible.craft.leather
    - incraftible.craft.milk_bucket
    - incraftible.craft.clay_brick
    - incraftible.craft.clay_ball
    - incraftible.craft.sugar_cane
    - incraftible.craft.paper
    - incraftible.craft.book
    - incraftible.craft.slime_ball
    - incraftible.craft.storage_minecart
    - incraftible.craft.powered_minecart
    - incraftible.craft.egg
    - incraftible.craft.compass
    - incraftible.craft.fishing_rod
    - incraftible.craft.watch
    - incraftible.craft.glowstone_dust
    - incraftible.craft.raw_fish
    - incraftible.craft.cooked_fish
    - incraftible.craft.dye.*
    - incraftible.craft.bone
    - incraftible.craft.sugar
    - incraftible.craft.cake
    - incraftible.craft.bed
    - incraftible.craft.diode
    - incraftible.craft.cookie
    - incraftible.craft.map
    - incraftible.craft.shears
    - incraftible.craft.gold_record
    - incraftible.craft.green_record
    - incraftible.craft.smooth_brick
    - incraftible.craft.iron_fence
    - incraftible.craft.thin_glass
    - incraftible.craft.melon_block
    - incraftible.craft.fence_gate
    - incraftible.craft.brick_stairs
    - incraftible.craft.smooth_stairs
    - incraftible.craft.melon
    - incraftible.craft.melon_seeds
    - incraftible.craft.pumpkins_seeds
    - incraftible.craft.mycel
    - incraftible.craft.water_lily
    - incraftible.craft.nether_brick
    - incraftible.craft.nether_fence
    - incraftible.craft.nether_brick_stairs
    - incraftible.craft.nether_water
    - incraftible.craft.enchantment_table
    - incraftible.craft.brewing_stand
    - incraftible.craft.cauldron
    - incraftible.craft.ender_portal
    - incraftible.craft.ender_portal_frame
    - incraftible.craft.whitestone
    - incraftible.craft.blaze_rod
    - incraftible.craft.ghast_tear
    - incraftible.craft.gold_nugget
    - incraftible.craft.nether_stalk
    - incraftible.craft.potion
    - incraftible.craft.glass_bottle
    - incraftible.craft.spider_eye
    - incraftible.craft.fermented_spider_eye
    - incraftible.craft.blaze_powder
    - incraftible.craft.magma_cream
    - incraftible.craft.brewing_stand_item
    - incraftible.craft.cauldron_item
    - incraftible.craft.eye_of_ender
    - incraftible.craft.speckled_melon
    - incraftible.craft.record_3
    - incraftible.craft.record_4
    - incraftible.craft.record_5
    - incraftible.craft.record_6
    - incraftible.craft.record_7
    - incraftible.craft.record_8
    - incraftible.craft.record_9
    - incraftible.craft.record_10
    - incraftible.craft.record_11


    But, we don't craft dye (Bone -> Bone meal, Lapis Lazuli Block -> Lapis Lazuli, for example), even the OP or admins.

    A solution please ?

    Sasuke5900
     
  23. Offline

    taufiqkh

    Try changing the dye permission:

    - ^incraftible.craft.dye.*

    That should remove permissions to craft any dyes.
     
  24. Offline

    JackBarber

    Hello,

    I've got a problem with the dye node with PermissionBukkit. It doesn't work.
    By default players can't craft any type of dye and the permission node incraftible.craft.dye.* set to true or false has no effect. We are never able to craft dye or bone meal.
     
  25. Offline

    67Maxime67

    Same problem with dyes. People can't craft dyes. Why?
    I use Permissions Bukkit.
    I put incraftible.craft.dye.*: true. Please help us.
     
    JackBarber likes this.
  26. Offline

    taufiqkh

    Hi, I've confirmed an issue with the inherited and wildcard permissions. In the meantime, you should be able to work around this explicitly setting each individual dye permission. These permissions are listed below:
    Show Spoiler

    incraftible.craft.dye.black
    incraftible.craft.dye.red
    incraftible.craft.dye.green
    incraftible.craft.dye.brown
    incraftible.craft.dye.blue
    incraftible.craft.dye.purple
    incraftible.craft.dye.cyan
    incraftible.craft.dye.silver
    incraftible.craft.dye.gray
    incraftible.craft.dye.pink
    incraftible.craft.dye.lime
    incraftible.craft.dye.yellow
    incraftible.craft.dye.light_blue
    incraftible.craft.dye.magenta
    incraftible.craft.dye.orange
    incraftible.craft.dye.white
     
  27. Offline

    JackBarber

    I've already tried these nodes and they doesn't work neither.
    What I don't understand is that dyes can NEVER be crafted, even without any node in the permissions config.
     
  28. Offline

    taufiqkh

    Bukkit/minecraft handles dyes and other items with additional data values differently to other items, so that when they are crafted you have both the item id and a separate data value. So different dyes (and bonemeal and ink sacs) have the same item id but different data values.

    I've updated the code that handles the dyes, and added some tests to help identify any bugs that might be reintroduced. If you'd like to test the development version, I've uploaded a copy to https://github.com/downloads/taufiqkh/Incraftible/Incraftible-dev.jar.
     
  29. Offline

    JackBarber

    It works. You just saved my RP server, thanks a lot.
     
  30. Offline

    jackpg98

    This is SO useful. Now I can prevent griefers from crafting TNT, and leave that to my Trusted people :)
     
  31. Offline

    Sich

    Hello,

    Interesting mod.
    But have you planned to manage the furnace events ?

    And I am using PermissionsEx but this mod seems to not be able to recognize the perms...

    Any idea to solve this two problem ? :)

    Thanks for your job !
     
    tellus30 likes this.

Share This Page