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!

-
View User Profile
-
Send Message
Posted Oct 30, 2012@CasterAnd
Then configure it the way you want it. It's easy. What's a "glitch" or "bug" depends on opinion. I default to the "safest" configuration, then you can loosen it up as you please. It's easier and faster to remove a few lines you don't want than to look up item IDs and data values to get lines added.
After 5700 downloads, you're the first to comment that you think the default bans outright ruin Tekkit. Maybe your opinion is not the popular one. :)
-
View User Profile
-
Send Message
Posted Oct 29, 2012This file: http://dev.bukkit.org/server-mods/tekkitcustomizer/pages/default-bans/ has several points that ruins tekkit. EMC is the biggest one. EMC systems with collectors is NOT cheap to build - and does require time and materials before you have a good and fast system. Banning that block ruins EMC - which is one of the mods in tekkit - and then there is one less reason to have tekkit at all. Live with what's in tekkit (except glitches and bugs) or don't play tekkit.
-
View User Profile
-
Send Message
Posted Oct 28, 20121.5.1 Fixes!
@MuThA777
LOL you mean YOU can't change the configs. Stop failing at config file format. Try using something like NotepadPlusPlus (it's a free download) to help you catch your mistakes. The most common mistake is pressing TAB to indent instead of using spaces.
If you want to be mad at somebody besides yourself for this, be mad at either the developers of the YAML file format, or bukkit. There's nothing reasonable that plugin developers can do to make this easier for you.
-
View User Profile
-
Send Message
Posted Oct 28, 2012YOU CANT FUCKING CHANGE THE CONFIGS!
-
View User Profile
-
Send Message
Posted Oct 26, 2012@Lostferret13
Okay, I'll revisit.
-
View User Profile
-
Send Message
Posted Oct 26, 2012@bigscary
The owner of TekkitRestrict has recently made his source code available - I know he has a way to scan for a) ranges of item ID and b) ID's over 256. It may be too hard to incorporate but it is possible.
-
View User Profile
-
Send Message
Posted Oct 26, 2012@madsod
You could install it on a test server, then look at the config file. That's the only way to see the full default ban list. You can get a general idea of what sort of items are on the default list by looking at the "reasons for default bans" page.
-
View User Profile
-
Send Message
Posted Oct 25, 2012can i see default ban list please before i go and install etc
-
View User Profile
-
Send Message
Posted Oct 25, 2012@Lostferret13
Okay, I will try exactly those to see if i can reproduce your issue and fix it.
EDIT: It's the data values. Bukkit can only handle values up to 255, so I'm 100% hands tied on this. You can try using * instead as the data value, but I'm uncertain whether it will work, and even if it does, you might end up banning other items you don't want banned. This is just another problem due to the ever frustrating "bukkit is made for vanilla minecraft, but tekkit is not vanilla minecraft".
@rad12345678901
Right, so since you're giving players items via chests, then you need to crafting-ban the items you don't want them to have. I don't think I can give you good advice on which items to ban - my default ban list is only for anti grief for the most part, and it has taken weeks to refine. You probably have weeks of learning about items you didn't know existed ahead of you. :\
@SmoothNanners
I'm not sure, but I would guess that it's probably not fixable with a plugin. Even if it were, I don't think that feature would fit in this plugin, which is entirely about removing problematic items, not fixing general tekkit issues.
Thanks for that bug report regarding the laser! I will fix it.
@boombiscit9500
Why do you think TC sees a special character? Did you get some kind of error message? Please share the details, including the error message and your config file (for the config file, please post a link to pastebin).
@zlepper
Yep, I know. I was suggesting that he give the permission to the player who owns the bag so that the player having the problem may remove the item from his own bag. Then, he (the admin) can take away the permission again.
@cuddyier
Only loaded chunks are scanned, and the process is slow. If you stand next to the MK3 for 20 minutes, I guarantee it will disappear. Otherwise, you just have to be patient.
You might say "but what if nobody is ever near the thing"? Well in that case, the MK3 is never loaded by the server, so it's never doing anything, so it's not doing any harm. :)
-
View User Profile
-
Send Message
Posted Oct 24, 2012I added this to my config:
WorldBanned: - 126:2:Mk3s:Bad.
For some reason that item has not got removed from my server, I have tried restarting as well as waiting.
-
View User Profile
-
Send Message
Posted Oct 24, 2012@bigscary
alchemical bags are actual individually for each player, soyou can't access another player alchbag, even i they give it to you, it'll still show the items you disposed into it. every bag have a .dat file located in /primary-world-name/data if i remember right, so id should be plossible for you to check that.
-
View User Profile
-
Send Message
Posted Oct 23, 2012@bigscary
I am having a problem where TC thinks there is a special character somewhere in the document. I have looked all over, used Notepadpp but I can't find it. Is there some type of glitch or something I am doing wrong? I really don't want to spend another hour redoing the list. -Boom
-
View User Profile
-
Send Message
Posted Oct 23, 2012@bigscary
One gun I tested was the blunderbuss, and others have tried a couple of the others, and whenever someone gets killed by one it says "killed by death.weapon." Would that be out of a plugin's control and up to the mod developer to fix that?
Also, my players managed to bypass the mining laser ban and they were able to shoot with it once it was charged. I checked the config and the description for the default mining laser ban is with "302:*" which is the ID of the chain helmet, not the laser which is 30208.
-
View User Profile
-
Send Message
Posted Oct 22, 2012@bigscary
incorrect, they do not have only the items i give them, the server is not made that but i like the idea more and more of there being a good amount of crafting, so lets say you go for the chest, get a leather chestplate, 2 electronic circuts, and an advanced alloy, it adds so much to the game, you need to fight people more to get the other items you need to craft armour. people go out more, and so on. but lets say they got super lucky, 1 in 100 and they got 4 iridium plates, now i want them to have a boots and leggings rather thatn unfair indestructability.
-
View User Profile
-
Send Message
Posted Oct 22, 2012@bigscary
the formatting is correct and it is still doing it. Try for yourself:
Crafting ban:
- 138:257 - 138:257:stuff:reason - 177:512:wirelessjammer - 136:526:redconveredwire
none of these worked, and the red covered wire entry will change upon boot. I would be immensely grateful for an answer
-
View User Profile
-
Send Message
Posted Oct 22, 2012@allbad1
Sorry no, you'd have to list all of the id + data values individually. It's a pain, but you can copy/paste to save some effort.
@Lostferret13
Make sure you're doing the formatting right. It's like this:
itemID:dataValuesOrAsterisk:itemName:reasonForBan
Yes, there are no items this plugin cannot ban. It should work for anything you have ID and data values for. I'm not sure why your value is changing in this case...?
@SmoothNanners
I've checked the weapons mod, and to me it seems that only the hammer and cannon are problematic. If I'm wrong, please tell me. :) Otherwise, you're covered because those items I mentioned are on the default ban list.
@jake0o0
Hmm I hadn't considered that. It's very difficult to fix, maybe impossible. Unfortunately, the problem is that I have no way of determining who a container belongs to, so automatically taking a banned item out of a container is a bad idea (maybe one of the players with access to the container has permission for that item). I agree this is an ugly situation - let me think about it to see if I can come up with something.
For a workaround, you could temporarily give the player permission for the item so that he can remove it himself. See permissions information above.
@Lostferret13
That is very peculiar! I will fix that. Thanks for reporting it. :) Yes, you can edit the ban message in the config file (the "reason" part of the message is editable).
-
View User Profile
-
Send Message
Posted Oct 21, 2012@jake0o0
TekkitRestrict have a command that lets you open a player's alchemical bag, despite if they are online or not. You can use that instead of editing the bag.dat manually
-
View User Profile
-
Send Message
Posted Oct 21, 2012@bigscary In addition to not being able to restrict Redwire, insulated wire, or circuits, there is a bug with usage bans:
when you ban usage for an item and are holding it, but step on a pressure plate your chat is spammed with the ban message. PS is the ban message editable?
-
View User Profile
-
Send Message
Posted Oct 20, 2012@bigscary Hey, two quick things! One this plugin is awesome! :P Two...So I've had my server running for a month or so, I recently decided to ban Katars because of the major griefing that they were being used for. I then banned them, it removed a lot of them, but people who had them in alchemy bags can't remove them at all since there not able to pick them up, so they are forced to remove all other items and change the bag color, or have me edit it out of their bag.dat, which is a pain in the ass. If theres anything I can do about this PLEASE let me know! Thanks, Jake
-
View User Profile
-
Send Message
Posted Oct 20, 2012@bigscary
Thanks for your opinion. I agree with you there about the collectors. Another player also suggested that only mk.1 collectors should be allowed, because they're really slow. A lot of people joined and started complaining that collectors were disabled. Of course, those were only the complainers who joined, the rest didn't complain about the collectors.
Also, is there anything we can do about the weapons mod? I believe it bypasses some PVP protections and doesn't tell you who killed you (killed by death.weapon).