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!
@Pandalein
Crystal chest is 181:5, not 185:5. When I used the correct entry under ownership bans, I was able to craft and place iron chests without an issue, but was blocked from crafting, placing, or even holding in my hand a crystal chest. Please make sure you don't also have 181:* or 181:0 somewhere in your config file.
@bigscary
Hey man no worries take all the time you need, thanks for checking it out. I congratulate you for the amazing support you give.
@vectrexevo
Sorry, they're not separable. Anyway the katar can also be activated with R key I think, better to keep it ownership banned.
@Pandalein
I'll investigate this week. Sorry for the delay.
I'm using the newest version of this plugin on a tekkit server version 3.1.2 \ 1.2.5
Is there a way to get the katar left click to work and the right click not to work
I've put the katar item number under usagebanned , but it blocks right and left click. I just want right click banned. Any help would be nice
@bigscary
This is how the entry looks in my config file:
It ends up banning all of the chests from iron chest mod.
@JDBNeFN
Thanks, I'll look into that. :)
@Pandalein
You have to add the entire entry, which has several parts. See above - you also need a name for the entry and a reason for its ban.
@Insidiea
The defaults should have the world anchor already banned. Try copy/pasting the line from a fresh config file (after backing up your file). At a glance, I'm not sure those are the right values (I don't have them memorized).
Also, they're not instantly removed. They're removed gradually over time (removing them all immediately would freeze up your server, because your entire map would have to be loaded and scanned).
Hey I'm trying to get rid of all the world anchors in my map, but the plugin isn't removing it for some reason, here is the worldbanned items config:
If you could help me with this that'd be great!
@tweedjt
http://dev.bukkit.org/server-mods/tekkit-restrict/ Most recent version blocks the spam, and this helps too: http://dev.bukkit.org/server-mods/thislogmustdie
When I try to world ban stuff with a damage value of 0 it messes up.
Before the plugin runs it says "- 214:0" like it should but after i start it it changes to "- 12840 <
can't understand this entry, see BukkitDev documentation"@bigscary
Thank you for the response, i understand. I have an issue now, i was asked to include crystal chests to the ban list. I added "- 185:5:Crystal Chest:May lag the client." to it but it bans all the iron chest's mod chests (all 185). Any help would be appreciated.
@tuxed
OBC? NMS?
For those wanting BukkitForge support:
TekkitCustomizer would need a rewrite in order to support it. It is using OBC and NMS classes to do its work.
@bigscary
If you use the api of this or something it may help alot due to this is the plugin sollution for tekkit lite
http://build.aegisgaming.org/job/BukkitForge/?
@tweedjt
If that were possible, I would do it. But it isn't in Bukkit, because Bukkit is made for Vanilla, not Tekkit. TekkitRestrict uses "unsafe code" which Bukkit guys recommend against. It's fine for him to do it cuz it's his project, but I'm not comfortable with the associated risks. :\
U should add a ban to power release like when u press R for Gem armor or when u have an Omega and a volcanite amulet u can press the power release button and it bypasses the right click ban! It is possible to restrict that as well since TekkitRestrict has that option but tekkit restrict lags my server by spamming my console and i prefer this plugin more
@bigscary
Tekkit Lite will work with bukkit...it requires adding bukkitforge though same as any other FML build. It's not perfect yet though but I'm not sure if the issue is BF trying to get 1.4.6 compatible or most plugins not being 1.4.6 compatible (even though they state they are) or a mix of both
@bigscary
Talked with another Plugin creater here on bukkit dev. He said Tekkit lite is just like FTB which means it can't have mods, it's just really a copy pasted jar.
@zlepper
I can't tell at a glance whether Tekkit Lite supports bukkit plugins at all. I'm thinking it probably doesn't. Try downloading it and seeing if it creates a plugins folder. Even if it does support bukkit plugins, there will probably still be weirdness, just like for standard Tekkit.
@Pandalein
Nope, sorry. The guidelines for any plugin are to always give ops maximum power and freedom, so that's the way I designed this one.
will this be any use for Tekkit lite