Tekkit Customizer
Use this plugin to ban items and blocks for Bukkit, Tekkit, and FTB servers using the Bukkit API. TekkitCustomizer removes banned items from the world and player inventories. It is easy to configure, can be applied retroactively, and automatically logs confiscated items. It requires no permissions plugin unless exceptions are need for certain players. The plugin settings default to commonly-banned Tekkit items.
Because every story that starts with "We decided to start up a Server..." shouldn't end with "...so we had to reset the world."
Installation
Copy the .jar file into your plugins folder to install the plugin. Then restart the server or use a plugin manager to load the plugin.
Configuration
An entry in the config file (config.yml) to ban ALL wool looks like this:
35:*:wool:because pink wool is for girls
- The first part is the material ID.
- The second part is the data value. Some blocks have the same ID, but a different data value. For instance, white wool is 35:0, while pink wool is 35:6. If you put an asterisk, that means ban ALL data values for the given material ID.
- The third part is for your reference. It will appear in the logs to shorthand what the various IDs and data values mean.
- The fourth part is the reason for the ban. It will be shown to players at useful times such as when a player tries to craft a banned item. If you don't fill in the reasons for your bans, you will be constantly asked why various items are banned.
After you edit your ban list, use /ReloadBannedItems to update the bans in-game. If your config.yml file "resets itself", that means you made a formatting mistake while editing the file. NotepadPlusPlus is a free file editor perfect for editing YAML files
A full list of Block IDs will help you add banned items. You can also get the block IDs and Data Values by using /blockinfo (requires /op or tekkitcustomizer.blockinfo permission). This tells you the information about the item you're holding and the one you're pointing at in the world. Some items have a different values in your inventory as opposed to ones place in the world (eg. a door item in the inv vs a placed door in the world).
Making Ban Exceptions
A player who has /op automatically ignores bans as with any player with permission:
tekkitcustomizer.*
You can make individual ban exceptions to give some players to generally banned items through permission nodes. Here are various examples, which should help you understand without further explanation.
- tekkitcustomizer.35.*.use - tekkitcustomizer.35.6.place - tekkitcustomizer.35.*.craft - tekkitcustomizer.35.6.own - tekkitcustomizer.35.6.* - tekkitcustomizer.35.*.*
You can't prevent a specific player's placed block from being removed from the world as this plugin does not track who owns placed blocks in the world.
Types of Bans
Usage Bans
This ban prevents players from using an item, which means left-click or right-click while the item is in-hand. This works well for items like the Mining Laser, but won't stop players from using items which benefit from passive use (eg. modded armors, Talisman of Repair, etc.). You will need a crafting ban or ownership ban to prevent players from getting those items at all.
It's not possible for any plugin to prevent a player from using an item when it is activated by a keystroke (eg. R, G, C, etc.), which are common especially for Equivalent Exchange items. This is why many EE items are on the default ownership bans list even though their functions are not all really ban-worthy.
Crafting Bans
This ban prevents players from crafting an item. When the player tries to craft the item, they get a message that they can't. This is the most player-friendly approach to preventing players from getting banned items. Forge mods don't always hook into Bukkit, meaning its possible for players to get banned items through some automatic or non-crafting approach (eg. alchemy). When you crafting-ban an item, test for workarounds, which may lead you to ban additional items to prevent those workarounds. The contraband scanner will help you identify the existence of workarounds by creating log messages each time it takes an item out of a player's inventory.
Ownership Bans
This ban prevents player from picking up an item from the ground or from a container (eg. a chest). If a player doesn't have permission to own an item, they won't be able to craft it. The contraband scanner will search each player's inventory for ownership-banned items and actually remove them without warning, notification, or compensation. Any items which are actually found in a player's inventory which the player doesn't have permission for will trigger a log entry, so you can follow-up with an investigation to find out how the player managed to get the item in the first place.
Placement Bans
This ban prevents a player from building a block in the world. A player that already has an item which is later placement-banned can still trade it with another player or break it down into energy (EE mod) to get some value out of it.
It is recommend to place most or all placement ban items to your crafting ban list. This will prevent your players from unknowingly spending their resources to craft a block which they then can't place in the world like they planned leading to them feeling cheated and likely complaining. The only exception you might make to this rule is for an item which can't be placed, but is still useful because it's an ingredient in another recipe for an item you haven't banned.
World Bans
This ban will retroactively remove the placed block from the world through the contraband scanner. This is great if you need to ban an item, but also know it's in the world (eg. energy collectors and world anchors). This will help clean up newly-banned items without having to search your entire world for them. There are exceptions to this removal as the scanner can't determine who owns the block.
Similar to the ownership ban, this ban will trigger a log message when a contraband block is removed, along with its location so that you may investigate to find out how the block got there in the first place.
Notes
Download the correct CraftBukkit version for your server as labelled on the uploaded files as major Bukkit API changes occurred between 1.2.5 to 1.4.7.
The default ban list is made for Classic Tekkit based on hands on testing done by BigScary. Before deciding to remove items from this list, be sure to read the reasons for default bans to understand why it was originally removed. If you are running FTB, Tekkit Lite, or other mod packs, do your own research for what you want banned and change the config file accordingly.
Save yourself some time! Check our Frequently Asked Questions page for the answer to your question. If you found a bug, make a ticket and include your config file.
The following features are planned for the next release:
- Vastly improved performance (Confirmed)
- Add configurable scanner settings (Confirmed, in progress)
- Change in config file structure (Confirmed, in progress)
- Change in permission nodes (Tentative, investigating)
- Consolidate Usage Bans and Placement Bans (Tentative, investigating)
- Consolidate Ownership Bans and Crafting Bans (Tentative, investigating)
- Dropped 1.2.5 support (Tentative)
- Dropped explosion prevention support (Confirmed)
Donations
Unlike other players who have a choice to play the game, my commitment to development and administration usually means I cannot and I'm fine with that choice. A lot of my free time is actually spent designing, developing, testing, and fixing plugins like this one to make Minecraft more enjoyful for all players. If you like this plugin, please consider sending me a donation by clicking the button below :) Thanks!
Please could you make it so that you can craft an item and hold it but not use the special it has to grief
@fatpancake
Your control panel is messing up your yaml file, then. Download the file, edit it with notepad, then re-upload it. Make sure you're putting SPACES rather than TABS to indent - that's the most common mistake.
@TrebsJangles
Everything on placement ban is automatically on crafting ban. Why would you want to allow players to create an item if they can't use it? Is it used in another recipe for an item which isn't banned?
@penorzilla
So your problem is fixed by the update? Or are you telling me that they complained after the update?
@stanlehcopter
Just get the latest version. There was a bug in 1.0.1.
When I am op, I craft something with blacklist It's removed my stuff.... Op ignore bans? = Not working! :'( :'(
=== BigCrazy Please respone... ===
Thank you for updating! Launched my server today and donators were upset that their Donator specific items were being taken away randomly!
@bigscary
Thanks for the update, does this include items that were incorrectly being denied crafting permission as well or is that still a problem?
@bigscary
My control panel for my plugins works fine probly better but it resets can you fix it?
1.0.2 Fixes:
@magictj
It looks like you banned placement of some items when you should have banned their ownership. Nobody can "place" a catalytic lens in the world, for example.
@rloughrey
I double-checked this, and it is working. My guess is that the chunk containing the blocks you banned wasn't loaded. Try standing near them and waiting 20 minutes (it worked for me). You might say "but I want those items removed even if the chunk isn't loaded!", but there are two very good reasons not to do that. First, scanning all the world all the time would be a big performance drag on your server, and may even crash you due to running out of memory. Second, those blocks aren't hurting anyone (or doing anything at all) if the chunk they're in isn't loaded.
@fatpancake
That's a common problem with all config files in all plugins. Basically if you make a small mistake while editing the file, the result will be that the config resets itself. I recommend using Notepad (it's free) to minimize the chance of you making such a mistake.
@TrebsJangles
That's actually on purpose, it's how the defaults work (if there's nothing specified, fill with defaults). Easiest way to handle this is to ban something nobody ever uses. For example you could ban ownership of ender portal frame blocks.
When I am op, I craft something with blacklist It's removed my stuff.... Op ignore bans? = Not working! :'(
@zorrobyte
My config file will also reset to the default setting, without any problems with the way it is edited. However it only happens if a field is left without any items entries, unlike fatpancake's problem.
Hi, im trying to get this plugin to work for my friends server but its not banning the items here is the config, http://paste.thezomg.com/4641/34677666/
@zorrobyte
I don't use Notepad i use a control panel for my config my server is hosted by a hostess so i use a online control panel to edit my stuff
@fatpancake
Because you need to setup notepad correctly: http://ess.khhq.net/wiki/YAML_Tutorial
@bigscary
Some of the plugin is bugged for some sort of weird chance, i mean that when you remove all the items from config and reload or restart the server/plugin it resets the config why is this?
@rloughrey
Your config file looks exactly correct to me. I'll copy/paste it over to my test server to see if I can reproduce and investigate the issue. Thanks for reporting it!
@fatpancake
I'm very glad you like the plugin. :) I'm not sure what you mean by meta coding bugs.
You are now my idle! This plugin works so well need to fix some meta coding bugs though :P but other than that perfect!
I'm trying to get rid of energy collectors. What I havein my cfg is here http://pastebin.com/a696JVnw . THey dissapear from my inventory no problem, but ones placed in the world do not go away. (I've waited 20-30 real time minutes) Any ideas?
@drphallus
Did you not download the latest version? I checked in the latest version and had no issue with recipes being rotated. I created bread, sticks, ladders, etc etc etc.
@fatpancake
Yeah I don't see why it wouldn't. Is that item special somehow?
@aroeira
You need to get the GriefPrevention plugin. LWC and Lockette will also work, but they're obsolete.
@TrebsJangles
I'll try this myself to make sure it works. There might be a bug, I'm looking into it. :)
@aroeira
Well then please use the LWC forum/bukkit page. This plugin has no affiliation with it whatsoever, different authors.
LWC worked locking item 250 and not 250:1 :)