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!
Been waiting for an update for a while.
@ajay01281990
yes it works. i'm using it right now
P.S. i have this worlds set:
- TheCore (standard world ) - DIM_MYST8 - DIM7 - DIM-1 - DIM1 - world_twilightforest - world_the_end - world_nether
and the plugin sees all of them :) no error in console when reload. ( last 3 dims are the same as dim 7 -1 1. so both options work )
does this work with FTB Unleashed
@Thundercoyote
oh? sorry I misread your previous comment and thought you said you wanted to ban all mystcraft worlds XD sorry about that a honest mistake i makes sometimes if you do whats kiwicrafter said it might work... sorry for the miss communication
@krisdestruction
I don't see the option to create a ticket, that is the only reason I posted on this wall.
@Thundercoyote
Hello, I couldn't help but notice that in the pastebin of your config you had it like...
- DIM_MYST4
- DIM_MYST8
On my server I have it like this (below) and it works fine
- DIM4
- DIM8
Anyway hope it helps, if it doesn't I have no idea what you have done.
I placed this on my server with plugin version 1.6 and with philosophers stone and minum stone it says the banned message but it still changes the block.
@JPTech234
i have the mining turtles can be used by donators i give the permission - tekkitcustomizer.1127.*.* and quarries are only able to be placed in the mining age
and 2nd if i was going to ban the computercraft just for the turtles whats the point of playing FTB
Thanks
i restarted the server after i put the mystcraft ages in.
the plugin isn't recognizing the mystcraft worlds. if i remove the config and restart the server the mystcraft ages aren't in the list of worlds. your plugin should be able to read the world folder and put it in the config
Thanks
@Thundercoyote
Ah I see. If you want them to be effective in the mystcraft ages too, then what you did should be right. Are you able to reload this plugin after the server starts to confirm if it's a world loading issue as JPTech mentioned?
@JPTech234
The issue should be fixed in the next release, but I have a temporary solution that allows you to reload the plugin after a certain amount of time (eg. 10 seconds). It works on GriefPrevention. I'm also interested in your chunkloading plugin solution!
@krisdestruction
Mmmm well the only way for now I could get it to work was using a chunkloading plugin and it seemed to work fine
@Thundercoyote
If you wanna ban all deployed turtles and quarries you are gonna have to find different block id using a plugin... it means mods now days has two ids for the block form and item form... to get rid of everything related to mystcraft you can delete the mod from the mod folder (server side) even if clients have the mod they wont be able to craft it and use anything related to the mod, but if you wish to wish to "ban" the ages you are going to have to find a way to stop people from creating new dimensions which means banning all pages, books and etc.. I would suggest just getting rid of the mod... and if you want it back you can re-add it without any mess as long as you don't delete the mystcraft config in the config folder (Server side)
@krisdestruction ALL i want the same bans in the mystcraft ages
The mystcraft ages are the same as the over-world only difference is you can choose what biom you want like a void age for a mob farm all the rules are the same in every world
Thanks
@Thundercoyote
So what type of ban isn't working for you (there are 5 types above)?
http://pastebin.com/B8DBx8uf
i want to ban the mining turtles and quarries
@JPTech234
I remember this issue. The DIMs load after all the plugins do right? Do you have a solution? I've implemented a temporary workaround using another one of my plugins.
@Thundercoyote
Let's see your config. Pastebin it or else...
OK i have a direwolf20 1.5 v2 1.1.3 and it has mystcraft and i cant get it to work in those ages i am using pex for permissions the names of the mystcraft worlds are DIM_MYST?
? = number of age so example: DIM_MYST1, DIM_MYST2
i want to block some griefing items in the world please help
Thanks
Mmm found out the problem.. it was with mcpc plus not loading the world before hand :/... anyways thanks for the reply :D
@JPTech234
Hmm, TekkitCustomizer should already be compatible with MCPC+ 1.5.2. I will be testing MCPC+ 1.6.2 soon. Can you confirm that listing the DIMs as seen below do not work for you?
Hmmm its seems like the new way mcpc+ formats the world folder the multiworld support doesn't work tried adding DIM1 and DIM-1 to the list and says DIM1 doesn't exist. Using the 1.6 version of tekkit customizer and mcpc+ 639 (1.5.2)