How do you properly ban items?

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

CathalCraft

New Member
Jul 29, 2019
22
0
1
I use Tekkit Customizer to ban items, but people can still craft and place items by either using a turtle or an automatic crafting table and have that feed to a filler. I really don't want to ban those items too, but if I have to then I will.

Is there a way to change item recipes or completely disable an item? I'm at a complete loss right now.

I'm using the Monster v1.1.1 pack with MCPC+.
 

HaoSs

New Member
Jul 29, 2019
290
0
0
not all mods support item id to 0. and you don't always want to ban a item forever.

step 1) i use mcpc+ and essentials itemprotect to ban items per world/group/user ( using this you will also need to ban any block placer as some mods will bypass nocraft permission from that plugin )
step 2) edit neiserver.cfg and add the itemid=NONE so the items will not appear in nei ( you can add your name, or any other names, like VIP players names for VIP only items )
 

HaoSs

New Member
Jul 29, 2019
290
0
0
exactly my point . You can't use it to ban items. as it only works with 5 mods. with are not usually banned
 

Padfoote

Brick Thrower
Forum Moderator
Dec 11, 2013
5,140
5,898
563
exactly my point . You can't use it to ban items. as it only works with 5 mods. with are not usually banned

Wiki guide on how to use MineTweaker.

Ban items? Probably not, but you can make them impossible to craft, thereby banning them in an indirect method.

Edit: That guide also shows how to remove the crafting recipe completely (I think, I skimmed it), which again makes items impossible to get, thereby banned.
 
  • Like
Reactions: Not_Steve

HaoSs

New Member
Jul 29, 2019
290
0
0
you don't understand what i'm talking about, a mod pack has 100 mods. not 5. minetweaker can change recipe/remove recipe for 5 mods. I tested it. want to ban querrys+ ? You can't . want to ban some op guns that wreak the map in minutes from rotarycraft ? you can't . etc....
 

Wagon153

New Member
Jul 29, 2019
3,148
-3
1
you don't understand what i'm talking about, a mod pack has 100 mods. not 5. minetweaker can change recipe/remove recipe for 5 mods. I tested it. want to ban querrys+ ? You can't . want to ban some op guns that wreak the map in minutes from rotarycraft ? you can't . etc....
Besides the fact Reika has specific code in his mod that prevents any modification of his recipes(rotary craft)...
So if it's impossible, then how does Jadedcat do it? And Eyamaz? And Wyld?
 

HaoSs

New Member
Jul 29, 2019
290
0
0
If you like, when I get home I can PM you a fully configured minetweaker file.

for other mods beside the 5 ones ? sure

edit: when i tested, it did not wan't to work. no recipe was changed. removed..
does it also work for other crafting systems ? like AE ?
 

Padfoote

Brick Thrower
Forum Moderator
Dec 11, 2013
5,140
5,898
563
for other mods beside the 5 ones ? sure

edit: when i tested, it did not wan't to work. no recipe was changed. removed..
does it also work for other crafting systems ? like AE ?

Any mod that does not use its own crafting handler will work. For example, RotaryCraft will not work due to the worktable (besides the fact that Reika has made sure his recipes are left untouched) Using its own handler. TE3, BM, and several others I know for sure work as they use the vMC crafting handler. So long as a mod doesn't have a specialized block for crafting that calls its own handler, you can modify their recipes without a problem.
 

Connor Gavitt

New Member
Jul 29, 2019
1,091
-1
0
not all mods support item id to 0. and you don't always want to ban a item forever.

step 1) i use mcpc+ and essentials itemprotect to ban items per world/group/user ( using this you will also need to ban any block placer as some mods will bypass nocraft permission from that plugin )
step 2) edit neiserver.cfg and add the itemid=NONE so the items will not appear in nei ( you can add your name, or any other names, like VIP players names for VIP only items )
Who told you setting it to 0 permanently change it?
 

trajing

New Member
Jul 29, 2019
3,091
-14
1
DERP.
bannedthing = itemidofbannedthing
recipe.remove(bannedthing)

ta-da. Instant item ban. However, you cannot ban anything from rotarycraft as Reika has made it impossible.
 
  • Like
Reactions: Padfoote

CathalCraft

New Member
Jul 29, 2019
22
0
1
These items cannot have their recipe removed with Minetweaker:
Crane Backpack from OpenBlocks
Landmine from Tinkers' Construct
Block Teleporter from Random Things
PortaSpawner from Minefactory Reloaded
Personal Anchor from Railcraft
Portal Gun from PortalGun

I really don't want to ban turtles and the Auto Workbench, but if I can't remove the recipes to stop people from making them, then I have no other choice.


None of the recipes for the items I'm putting in the config folder are being removed. I made a folder in the world folder called minetweaker, and placed a config file containing this inside:
Code:
# See the forum post for example and documentation.
version 2;

# set your list of server admin usernames here
# admins are privileged users and will receive
# any error messages that might occur.
minetweaker.setAdmins("Myself", "MyAdminBuddy");

# Add your commands here

minetweaker.remove(<243:0>);
minetweaker.remove(<3479:0>);
minetweaker.remove(<25071:0>);
minetweaker.remove(<15240:0>);
minetweaker.remove(<2655:0>);
minetweaker.remove(<850:0>);
minetweaker.remove(<7779:0>);
minetweaker.remove(<30872:33>);
minetweaker.remove(<193997:0>);
minetweaker.remove(<12272:0>);
minetweaker.remove(<1470:0>);
minetweaker.remove(<1470:1>);
minetweaker.remove(<1470:2>);
minetweaker.remove(<1470:3>);
minetweaker.remove(<30872:43>);
minetweaker.remove(<7768:0>);
minetweaker.remove(<7766:0>);
minetweaker.remove(<451:0>);
minetweaker.remove(<243:1>);
minetweaker.remove(<243:0>);
minetweaker.remove(<3146:10>);
minetweaker.remove(<451:2>);
minetweaker.remove(<13457:0>);
minetweaker.remove(<13457:1>);
minetweaker.remove(<13457:2>);
minetweaker.remove(<13457:3>);
minetweaker.remove(<13457:4>);

What am I doing wrong?
 
Last edited:

Marsupilami

New Member
Jul 29, 2019
260
0
1
These items cannot have their recipe removed with Minetweaker:
Crane Backpack from OpenBlocks
Landmine from Tinkers' Construct
Block Teleporter from Random Things
PortaSpawner from Minefactory Reloaded
Personal Anchor from Railcraft
Portal Gun from PortalGun

I really don't want to ban turtles and the Auto Workbench, but if I can't remove the recipes to stop people from making them, then I have no other choice.

<snip>

What am I doing wrong?

Here is how it is done in Agrarian Skies. Perhaps take a look at the configs for that mod-pack for insight. The following removes the recipe for the "Pink Generator" from Extra Utilities effectively banning it from use.

Code:
PinkGenerator = <2529:9>;
recipes.remove(PinkGenerator);

Note that the first line is not necessary as you can put the item id in the recipes.remove command directly, but helps immensely for documentation purposes.