Thank you for this. I will try and make a list for all of the tekkit items. One thing I wanted to make sure of is how will Automatic workbenches be prevented.
On most servers it acts as a fake player under the name [RedPower] or [BuildCraft] and cannot be added to permission groups since they do not really exist/ the config will not allow the []. Aswell they are OP on most servers to allow the bypass of plugins such as worldguard.
I have not tested whether or not the automated workbenches bypass. I will after I complete the list.
In the event that it does I've seen something that the GriefPrevention plugin does which is in the config has something of a "FakePlayer" area where you can add names so they can break past any protection. Something similar can be done in which fake players cannot craft, place, or break items that are in a config separate from the player group permissions.
Then again I am only assuming at this point that it might not work, and this might all be pointless ;)
I Finished the list of tekkit items. http:pastebin.com/zGQ6cbHx
Although I could not test it because when I put them into the config file it was delete and replaced with a fresh config when starting the server.
@lonjonsilver
Thank you very much! I will try and test them all out, then post it! Also, to stop automatic crafting benches, I check custom workbenches differently. So it will actually not let you finish the recipe of a blocked item (in theory at least). But the best way to stop them, is to simply disable them if they are too hard to control.
As for the fake player thing, I suppose that would let me disable automatic crafting, but not per user as I have no way of determining who the fake player is working for.
@nala3
First off thank you for making this plugin it's such a powerful lightweight solution for blacklisting items per group. If any Items are missing I'd be happy to do them.
If you are prevented from finishing the that would sound like it will work for automatic tables.
Also I would keep an eye out especially for the following: BlulectricAlloyFurnace, AlloyFurnace, and the PhilosopherStone. The Alloy Furnaces are sort of a hybrid of furnace and workbench. They are used to create recipes but work off of a fuel source SO I'm not sure if you put them under workbench or furnace. Know that the recipe is prevented from being finished I would change them to be Workbenches.
As for the philosopher's Stone it opens a GUI out of nothing by holding the items and hitting the C key instead of a block. Also the block has multiple charges so the Item ID may be a little iffy hence the data being 27526:[0, 41, 31, 21, 11, 1]
On the topic of fake players that was more directed at block placement. Although it seems as I misspoke since there doesn't appear to be any block of such application in tekkit that I am aware of.
While a moded bench looks like this[INFO] [NoItem] Inventory Click Event:[INFO][NoItem]Item:empty[INFO][NoItem]Raw Slot:1[INFO][NoItem]View:MOD[INFO][NoItem]Type:CHEST[INFO][NoItem]Slot:CONTAINER[INFO][NoItem]Cancelled:false
The differences between the two is the "Type" Vanilla bench is a "WORKBENCH" while the modded one is a "CHEST", also the "Slot" The vanilla bench is "CRAFTING" while modded one is "CONTAINER"
I assume you addressed changing the type to Workbench or a furnace by adding the "Type:" field in the config, but the issue may be the "Slot:" field being a container instead of Crafting.
Hello,
So ive been trying to ban item number 214 but it does every item with 214 item ive been looking for the customblocks.yml to fix this or should i try to do 214.0 to the do not place
thank you
I'm somewhat confused. With the "custom blocks", are the values in "recipeSlots: [0, 1, 2, 3, 4, 5, 6, 7, 8]" mimicking a regular crafting table?
-----------------------------------------------------------------------------------------------------------------------------------
Does this mean that the project table acts like a crafting table in the ways the items are able to be crafted? Should you not be able to craft banned items in this project table now? Is that ALL you need to do to have a project table disallow the crafting of banned items? If so, it still doesn't work for me. Black hole bands which are banned in a generic crafting table can still be used here. If I need to add something, please tell me. Thank you for your time.
They need to be set to whatever the raw slot number that the slots are. By default the Project Table should be configured correctly, so if it is not working, check your permissions or it may just be a bug.
So, what I have down there should work? It doesn't and all of my items are un-craftable in regular crafting tables. Is there a new permission node I have to add in order for items to banned from crafting out of these tables?
Thank you for this. I will try and make a list for all of the tekkit items. One thing I wanted to make sure of is how will Automatic workbenches be prevented. On most servers it acts as a fake player under the name [RedPower] or [BuildCraft] and cannot be added to permission groups since they do not really exist/ the config will not allow the []. Aswell they are OP on most servers to allow the bypass of plugins such as worldguard. I have not tested whether or not the automated workbenches bypass. I will after I complete the list.
In the event that it does I've seen something that the GriefPrevention plugin does which is in the config has something of a "FakePlayer" area where you can add names so they can break past any protection. Something similar can be done in which fake players cannot craft, place, or break items that are in a config separate from the player group permissions.
Then again I am only assuming at this point that it might not work, and this might all be pointless ;)
I Finished the list of tekkit items. http:pastebin.com/zGQ6cbHx Although I could not test it because when I put them into the config file it was delete and replaced with a fresh config when starting the server.
@lonjonsilver Thank you very much! I will try and test them all out, then post it! Also, to stop automatic crafting benches, I check custom workbenches differently. So it will actually not let you finish the recipe of a blocked item (in theory at least). But the best way to stop them, is to simply disable them if they are too hard to control.
As for the fake player thing, I suppose that would let me disable automatic crafting, but not per user as I have no way of determining who the fake player is working for.
http://dev.bukkit.org/paste/6099/ - for safe keeping
@nala3 First off thank you for making this plugin it's such a powerful lightweight solution for blacklisting items per group. If any Items are missing I'd be happy to do them.
If you are prevented from finishing the that would sound like it will work for automatic tables.
Also I would keep an eye out especially for the following: BlulectricAlloyFurnace, AlloyFurnace, and the PhilosopherStone. The Alloy Furnaces are sort of a hybrid of furnace and workbench. They are used to create recipes but work off of a fuel source SO I'm not sure if you put them under workbench or furnace. Know that the recipe is prevented from being finished I would change them to be Workbenches.
As for the philosopher's Stone it opens a GUI out of nothing by holding the items and hitting the C key instead of a block. Also the block has multiple charges so the Item ID may be a little iffy hence the data being 27526:[0, 41, 31, 21, 11, 1]
On the topic of fake players that was more directed at block placement. Although it seems as I misspoke since there doesn't appear to be any block of such application in tekkit that I am aware of.
@nala3
Can you give an example of ProjectTable and how to ban tnt from it. , "Do I add this to config file too?? (tnt) - noitem.nocraft.46"
I may have figured out an issue with custom benches.
The normal crafting table slot 1 Raw data per example looks like this:
The differences between the two is the "Type" Vanilla bench is a "WORKBENCH" while the modded one is a "CHEST", also the "Slot" The vanilla bench is "CRAFTING" while modded one is "CONTAINER"
I assume you addressed changing the type to Workbench or a furnace by adding the "Type:" field in the config, but the issue may be the "Slot:" field being a container instead of Crafting.
Has anyone gotten this future to work? I can't seem to figure it out. Could anyone post a working tested project table configuration?
Thanks.
So where do i put all this?
@lonjonsilver
Seems plausible. I will check it out.
@agentmass
Well right now, I am not sure if it works at all. I haven't really had time to test it.
@andrew9000
in the config.yml under a section called "CustomBlocks"
i have my perms set to - noitem.nohold.x27526.1 and they can still hold it? i need to stop members being able to craft please help
i have one question about Buildcraft, i try to config the CustomBlocks.yml, like this
AutoWorkbench: id: 152 data: 0 type: workbench resultSlots: [0] recipeSlots: [1, 2, 3, 4, 5, 6, 7, 8, 9] fakeRecipeItems: true
but, still not work is AutoWorkbench@@, someone can help me?
bukkitcraft 1.2.5 R5.0 buildcraft 2.2.14 NoItem-2.0.6
@georgeyang
If I recall correctly, there was a Tekkit issue with the auto-workbench that actually messed up the slots. I will check again when I can though.
Hello, So ive been trying to ban item number 214 but it does every item with 214 item ive been looking for the customblocks.yml to fix this or should i try to do 214.0 to the do not place thank you
Also using version : v2.0.5 and trying to make it so they cant craft or place.
@acaldra55
Update.
I'm somewhat confused. With the "custom blocks", are the values in "recipeSlots: [0, 1, 2, 3, 4, 5, 6, 7, 8]" mimicking a regular crafting table?
-----------------------------------------------------------------------------------------------------------------------------------
ProjectTable:
id: 137
data: 3
type: workbench
resultSlots: [9]
recipeSlots: [0, 1, 2, 3, 4, 5, 6, 7, 8]
-----------------------------------------------------------------------------------------------------------------------------------
Does this mean that the project table acts like a crafting table in the ways the items are able to be crafted? Should you not be able to craft banned items in this project table now? Is that ALL you need to do to have a project table disallow the crafting of banned items? If so, it still doesn't work for me. Black hole bands which are banned in a generic crafting table can still be used here. If I need to add something, please tell me. Thank you for your time.
@BadgesAndBadges
They need to be set to whatever the raw slot number that the slots are. By default the Project Table should be configured correctly, so if it is not working, check your permissions or it may just be a bug.
@nala3
So, what I have down there should work? It doesn't and all of my items are un-craftable in regular crafting tables. Is there a new permission node I have to add in order for items to banned from crafting out of these tables?
@BadgesAndBadges
No, there is no new permission. Try and craft the item from a different custom block and tell me if it still lets you.