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!
Hi, can someone explain to me how I can ban item(s) in a certain region? I just can't find it. I have WorldGuard and permissionsEX
@ajay01281990
Still getting it approved. The process is slow. Update: It is up here! http://dev.bukkit.org/bukkit-plugins/item-restrict/
@krisdestruction We're sorry, you've attempted to access a page that doesn't appear to exist.
@piritacraft
http://dev.bukkit.org/bukkit-plugins/item-restrict/
Going through the slow approval process.
@krisdestruction
Where is dev link?
@piritacraft
The dev already said he's abandoned the project. I will be making a plugin that replaces this one.
someone plz. reply there is so much spam on my console running creeperhost 4gb ram 1.5.2 ftb unleashed
im getting lot of errors i am using mcpc+ there are lots of errors spamming my console
01:49:32 [WARNING] [TekkitCustomizer] Task #26 for TekkitCustomizer v1.6 generated an exception 01:49:32 java.lang.NullPointerException 01:49:32 at net.minecraft.world.WorldServer.getChunks(WorldServer.java:116) 01:49:32 at org.bukkit.craftbukkit.v1_5_R3.CraftWorld.getLoadedChunks(CraftWorld.java) 01:49:32 at me.ryanhamshire.TekkitCustomizer.ContrabandScannerTask.run(ContrabandScannerTask.java:49) 01:49:32 at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftTask.run(CraftTask.java:58) 01:49:32 at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:344) 01:49:32 at net.minecraft.server.MinecraftServer.spigotTLETick(MinecraftServer.java) 01:49:32 at net.minecraft.server.MinecraftServer.runQueuedTasks_net_minecraft_server_MinecraftServer_runQueuedTasks_p0(MinecraftServer.java:441) 01:49:32 at net.minecraft.server.MinecraftServer.runQueuedTasks(MinecraftServer.java) 01:49:32 at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:371) 01:49:32 at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:320) 01:49:32 at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:307) 01:49:32 at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:199) 01:49:32 at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)
Hey guys wehn i add a word in the TekkitCustomizer from the Mystcraft mod. My Console sy to me " [Info] TekkitCustomizer: Error: There's no world named "DIM_MYST2" pleas update your config.yml" okay i make this i change this in DIM-2 and DIM2 and my console say the same problem to me , pleas can you help me.
and sry for the bad englisch im german guy
Why do not update?
Is there any way to add all mystcraft worlds to the config? So that if new Mystcraft dimensions are made by players, the bans still work over there. This might have already been asked, but I was unable to find it anywhere.
Thanks, 7Tys7. :)
Hi, please note that ahmet has taken me out of this project. Since Ahmet has already said he will not be providing any updates, I will be coming up with my own solution for restricting items. I will keep you guys posted!
@ajay01281990
Sure does. As long as your running MCPC or a form of Bukkit forge it will work like a charm.
@krisdestruction:
Hopefully we can get the new release with the "ItemScanner" toggle. :)
@Thundercoyote
Use BanItem Then select the item InGame and do /banitem add and now nobody can use this item. If a player use this banned item, it will removed from out the inventory.
Best Regards, riderstorm
wool:because pink wool is for girls is an asshat thing to put in your docs considering girls actually play..
@krisdestruction
yea the chunkloader suggestion didnt work... you we basically use multiverse and load the world manually after 60 seconds in the launch script and then waits 30 seconds and it inputs the "reloadbanneditems" command... works like a charm :D
im getting this error bad spam
http://pastebin.com/8dAeusSe
yes i want to ban items too like mining turtles the go past protections like worldguard and griefprevention
@Thundercoyote
Oh I thought you wanted to ban items in those ages.
If you wanna stop the creation of ages go into the mystcraft config under server_folder/config/mystcraft/core.cfg
And take a look at this http://pastebin.com/mKfKh7rG
its still not working for me its not banning mystcraft age creation i want it banned be cause if you make a lot of ages it will lag the server i tried DIM4 and DIM8 and its still not working The Mystcraft age are - DIM_MYST4 and - DIM_MYST8 i reinstalled the plugin and still nothing im using mcpc-plus-1.5.2-R1.1-forge738-B642 and it puts the world as DIM