DisableCraft
DisableCraft - Proper Recipe Assassination
Blue: What is the purpose in disabling crafting?
Scroll Tro0L: Disabling Fun!"
DisableCraft is a lightweight plugin that allows server administrators to disable certain recipes. This plugin can target anything with an item ID, even stuff from your favorite mods!
This plugin has been tested, and works, with TekkitLite
Features
- Disable item crafting
- Works with mods
- Check players' inventories
- Target item metadata
- Target permission groups (Experimental)
- Specify worlds
- Plays nice with other plugins
Mods
DisableCraft has been tested with the following mods:
- Balkon's Weapon Mod
- Buildcraft 3
- Factorization
- Industrial Craft 2
- Redpower 2
- Thermal Expansion
- and more...
Something missing? Help us add more!
Getting Started
- Download the latest release of DisableCraft
- Upload the downloaded DisableCraft .jar file to your server's plugin folder
- (Re)Start your server to generate the 'disablecraft' plugin folder and files.
- Edit the generated files to suit your needs
Helpful Links
FAQ
What is the command to add an item to the "disabled" list?
There is none. The only way to disable an item is through the DisableCraft config.cfg or your permissions plugin.
Are there any commands?
Yes, type: "/dc" or "/disablecraft" in-game to see available commands (There is only one currently!).
How do I get rid of all this spam in my server log?
You can reduce the spam by setting 'LogLevel' to 4 in the DisableCraft config.cfg.
What is the difference between adding an item to the configuration file versus as a permission?
Adding an Item via the configuration will disable crafting of that item server-wide, whereas the permissions route can be used to disable crafting for a certain group. Furthermore, an item disabled via configuration will not appear in the crafting table, an item disabled via permissions will appear in crafting table but will not be obtainable.
Video Tutorial
To-do
- Disable item-pickup
- Work with IC2 UU-Matter recipes
- Make an event for contraband scan?
- Make config recipes like: "source=>target"
- More flexible recipe detection
- Permission-based manual contraband scan
Inventory scan for contrabandRemove bugs & release:)
@DurtyFre
config for REMOVING from server's craft list.
- disablecraft.enabled.280.-1 yeah :) But i think it should enable craft recipes, if all other disabled - too hard, i think.
or can be group1 with disabled items 1,2,3,4 and group2 with ENABLED item 2,3 and if user in 2 groups he can craft items 2,3...
@tabr
That means actually, the config is for nothing (only to set loglevel?), because you can only disable items with PermissionsEx. It would be nice to actually allow people to bypass the restriction of an item with "- '-disablecraft.disabled.280.-1'" (PermissionsEX)
Or something like this: "- disablecraft.enabled.280.-1" (PermissionsEX)
@DurtyFre see PermissionsEx sample
it is done specially for you =)
Does this support PermissionsEx ? And when yes how?
- '-disablecraft.disabled.280.-1' #Would enable 280 for somebody?
@SkyIT
exapmle can be found in "plugins/disablecraft" file "config.yml"
also here
IDS: # here
@ tabr
where i can found an example of configured file ? ty
@SkyIT
u need to know item IDs to disable them.
Sry guys how to config the config.yml of disable craft ?
i dont understand what and how modify it
this is my acqual config: i should disable something like void rings tnt etc... can u post me a config with this 2 file in way i can understood waht is id and allow/disable craft parameter? ty LogLevel: 5 disallow: - 46::-1 disallowIC2: - 46::-1
@Kane_Hart
added permissions support (aplha release) =).
there is "disabled for group" implementation.
try, test, report bugs :)
It might be hard to add permissions. This plugin and I might be wrong was mainly made for Modded servers. You can't permission base that due to how many crafting tables and such are server side.
Not really advertising but Pex actually has a wonderful recipe block on normal use for crafting. I use it and this plugin at the same time.
Really, MultiWorld and Permissions support were awesome!
(But at first, permission support would be enough to get a use to that for multiworld :3)
According to your description, it is no problem. TKS
@Dicksun
use "::",try this:
LogLevel: 4
disallow:
- 46::-1
disallowIC2:
- 46::-1
- 250::14
- 250::11
ps: there is no information about work of item metadata :)
This is my settings.He can not work.is why???
LogLevel: 4
disallow:
- 46::-1
disallowIC2:
- 46::-1
- 250:14
- 250:11
Okay I just tested it Tabr. I like it the way you did it and it seems to be working just fine.
Thanks :)
@tabr
Opps I wish there was a ping feature like the forums here. This is sweet I will try this out today and report back.
@Kane_Hart
added support
maybe need to add extra parameters to config.
Like:
disableIC2Extreactor / disableIC2Macerator / disableIC2Compressor
or
disableIC2ExtreactorInput & disableIC2ExtreactorResult ?
@LEOcab
see config parameter description
@Sayshal
works fine on 1.2.5
tabr I can't seem to block recipes that go through compressors/extractor and such.