BlackList
General Information
This Plugin lets you prevent Players from having certain items and blocks. Whenever Players:
- Drop Items
- Pick Items up
- Open Chests or their inventory
- Close Chests or their inventory
- Move items inside their inventory or chests
- Place blocks
They will get checked for "illegal" items and found items will be removed from their inventories.
Setup
Installation
To install the plugin, just drop the .JAR file into your plugins folder. Afterwards, reload your server.
Configuration
When you first run the plugin, it will create the file "plugins/BlackList/config.yml". If you want to configure the plugin over the file, you should stop your server now and enter the blacklisted item IDs or Names (in the current version, you have to enter item names in FULL CAPS in order for them to be recognized). Commands
| /blacklist list | Displays a list of all forbidden items. |
| /blacklist addglobal <id/name>#<modifier> | Adds an item to the global blacklist. |
| /blacklist rmglobal <id/name>#<modifier> | Removes an item from the global blacklist. |
| /blacklist addlocal <id/name>#<modifier> | Adds an item to the local blacklist. |
| /blacklist rmlocal <id/name>#<modifier> | Removes an item from the local blacklist. |
Permissions
| blacklist.bypass | Allows the player to have and use blacklisted items. |
| blacklist.addglobal | Allows adding items to the global blacklist. |
| blacklist.addlocal | Allows adding items to the local blacklist. |
| blacklist.rmglobal | Allows removing items from the global blacklist. |
| blacklist.rmlocal | Allows adding items from the local blacklist. |
For your interest
- The configuration file is hard to read once it has been stored by the plugin, so I recommend using the commands to configure.
-
View User Profile
-
Send Message
Posted Jun 19, 2013The command to bypass all blacklisted items is not working for me.
-
View User Profile
-
Send Message
Posted Jun 18, 2013@Gyrosckope
modifier is the data; red wool for example has the data 14, so id + data = 35#14
-
View User Profile
-
Send Message
Posted Jun 14, 2013what is a "modifier"???
-
View User Profile
-
Send Message
Posted Jun 10, 2013@PeterKramer
Since you are reviving the plugin, could you possibly add an option for the plugin to just prevent the item from being moved (prevent putting a certain item into a chest, for example) instead of confiscating it? That would be amazing!
-
View User Profile
-
Send Message
Posted Jun 2, 2013OK, so since this has been asked for a lot, I am taking Blacklist back to active development. However, the code from the current version is pretty horrid so I'm just going to rewrite the entire thing; it might take some time for the next update to come out.
-
View User Profile
-
Send Message
Posted May 31, 2013topgammer according to rumors blacklist only works for solid number items like 36 or such and doesnt work for point numbers like 6:1 or in your case 322:1 being a golden apple in next update i hope peter puts in all items and not just solid numbered items but no as of now any item with :s in it will not work
-
View User Profile
-
Send Message
Posted May 26, 2013I am unable to blacklist the item
Enchanted Golden Apple or
Id: 322:1
It tells me it's an unknown item. If you could please fix this that would be great!
-
View User Profile
-
Send Message
Posted Apr 28, 2013Please make per world and a bug where even given the permission to bypass the blacklist, you still can't use the item. Please fix c:
-
View User Profile
-
Send Message
Posted Apr 17, 2013if you could make it per world that would be amazing :D
-
View User Profile
-
Send Message
Posted Apr 14, 2013one huge question will this work for any item in minecraft if not then tell me where to get one! Hanks ive been searching for ages
-
View User Profile
-
Send Message
Posted Apr 6, 2013Blacklistes IDs so it works perfect for Feed the beast!
Suggestion
Add support for "types" of a block" (ex 32:2 or 32:4) Today you can only blacklist the Head ID
-
View User Profile
-
Send Message
Posted Mar 24, 2013@H8llfire
Weird, might be because I haven't actually updated to 1.5 yet
-
View User Profile
-
Send Message
Posted Mar 18, 2013Thanks man, nice plugin. Disabled Minecart Hoppers for me ;)
Edit:
This plugin is not compatible with Openinv. Once somebody uses the openinv functionalites in whatever way the server is getting spammed with following error:
01:20:35 [SEVERE] Could not pass event InventoryClickEvent to BlackList v0.1
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:26)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464)
at net.minecraft.server.v1_5_R1.PlayerConnection.a(PlayerConnection.java:1194)
at net.minecraft.server.v1_5_R1.Packet102WindowClick.handle(SourceFile:31)
at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:174)
at net.minecraft.server.v1_5_R1.PlayerConnection.d(PlayerConnection.java:113)
at net.minecraft.server.v1_5_R1.ServerConnection.b(SourceFile:35)
at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:66)
at net.minecraft.server.v1_5_R1.MinecraftServer.r(MinecraftServer.java:582)
at net.minecraft.server.v1_5_R1.DedicatedServer.r(DedicatedServer.java:229)
at net.minecraft.server.v1_5_R1.MinecraftServer.q(MinecraftServer.java:471)
at net.minecraft.server.v1_5_R1.MinecraftServer.run(MinecraftServer.java:403)
at net.minecraft.server.v1_5_R1.ThreadServerApplication.run(SourceFile:573)
Caused by: java.lang.ArrayIndexOutOfBoundsException
This does not happen with the Essentials Invsee!
-
View User Profile
-
Send Message
Posted Mar 18, 2013@KDogX
rofl 5258 is apatite btw no wonder it wont work btw it is RP problem it has UP REAL ID and under IDS almost imposible to ban any RP items /block alone
-
View User Profile
-
Send Message
Posted Mar 11, 2013@rickoman
Coming in the next version
-
View User Profile
-
Send Message
Posted Mar 11, 2013@fyrus12345
Coming in the next version of the plugin
-
View User Profile
-
Send Message
Posted Mar 11, 2013@KDogX
I don't know if it's worth the time adding FTB support, tbh. I'll consider it, can't promise anything though
-
View User Profile
-
Send Message
Posted Mar 11, 2013@alexshots
Fun Fact: I use Ubuntu to code my stuff :P I am going to add support for item data in the next update, so directly when 1.5 comes out or even earlier
-
View User Profile
-
Send Message
Posted Mar 11, 2013this plugin works with linux platform(i tested this on ubuntu + cb 1.4.7 r1.1). quite good.
i did not test mod items with it, yet.
but, i found that, some items like potions in minecraft 1.4.7. they keep :data. e.g. the potion of invisibility the item ID is 373:8206. if i use command blacklist add 373:8206 or /blacklist POTION:8206, the responce is the material XXXX not found......oops....i thought um this plugin really can go much better.(due to the linux supportable)
p.s. if i use 373 or POTION or TNT, it works ! nice. but if i blacklist POTION, it will "ban" all sorts of potions......i only want to ban potion of invisibility and splash potion of invisibilty, due to guys in my server are not kind-hearted.
-
View User Profile
-
Send Message
Posted Mar 8, 2013Can you add support for FTB? I tried "/blacklist add 5258" and it says the material doesn't exist. It's the ID for the Canvas Bag in RP2. I also tried blocking "/blacklist add 700". It's the block ID for GregTech items.