ItemDetector2
ItemDetector - Gates which detect items
OUTDATED!!!!!!
With this plugin, you can make item detecting gates, just like at the airports. It uses redstone, so combined with other plugins you can make traps, falls etc. On the end of this post there is an detailed instruction on how to create them. This uses NO commands.
Features:
- Creating gates which can be used to detect items
- Redstone support by changing torches into redstone torches.
- Detect multiple items (good for an pvp-zone to detect swords/bows etc)
- Block people from entering with specific items
- Minecart support
- Clearing inventory's
- Permission support
Known bugs:
If itemdetector is loaded before multiworlds, it will get a nullpointer and lose all data, to fix this rename the multiworld plugin to "aaaMultiWorld" and bukkit will load this plugin as first of all your plugin, this should also fix all other problems with other plugins.
How to create a gate:
- TORCH - SIGN - TORCH
- BLOCK - BLOCK - BLOCK
- BLOCK - AIR - BLOCK
- BLOCK - AIR - BLOCK
on the first line of the sign you write. [detector], -- and on the second/third/fourth line should be the itemID's -- seperated by comma's.
(sign)
- [detector]
- #(option)1,2,3,4,5,6,7
- 8,9,10#(option),11,12,13,14
- 16,45,23,269,265,98#(option)
(it doesn't mather if you have higher numbers first.)
Options (# and @)
@all - Makes the detector detect all blocks in mc @None - Makes the detector detect empty inventory's @hold - Makes the detector only detect your item in-hand @always - Makes the detector detect nothing, but instead always goes on whenever a player passes @limit - limits the blocks to these (you can't have any others then this) #block - blocks the entrace when activated #remove - removes the block from your inventory (Thinking about creating this to be OP-only) #pit - Creates a 3x3 pit for pitfall's #damage - Damages a player with 1 hearth #launch - Speeds up the player by 10x #kill - Kills the player #fire - Puts the player on fire #heal - Heals the player and puts out fire #eat - Set food lvl to max #repair - Repairs any tools which the gate detects #thunder - Makes thunder in the gate instead of using itemID's like in 1,2,3,4 (example), you can also use this: 1-4 - Loads the ID 1-4 kit:kitname - Loads the ID's provided in kitname.kit in the itemdetector directory To make the gate send a message, use the same method as kit, but use this instead: msg:filename - Sends a message provided in filename.message file in the itemdetector folder.
Permission nodes
- itemdetector.create.block
- itemdetector.create.remove
- itemdetector.create.pit
- itemdetector.create.damage
- itemdetector.create.launch
- itemdetector.create.fire
- itemdetector.create.kill
- itemdetector.create.heal
- itemdetector.create.eat
- itemdetector.create.repair
- itemdetector.create.thunder
Sorry guys i stop continue developing this project.
why?????? because it is not my code in the first time so that makes it harder to code with it. because it is very private code.
this project break in 1.2.5:
sorry guys. if someone want to continue you can pm me and i send you the source code.
Remcodemah
i may will do iconomy suport in the future.
1.9 above items will not been removed is a known bug i try to fix it.
@all
... in a sign do not work properly, i want to remove all items from inventory but some of them stay after enter/pass the gate.
You could make iconomy support. For example: #eat 3 : Set food lvl to max and lower money by 3 if have enough
Can it detect zombies? Because I'd like to make a gate for only players Idea: (similar then TimeGhostBuy's) If a gate detects an item what is in the player's inventory, instead of remove it, it could put it in a chest
I think it would be nice to create a detector chest which checks if a special item is in it, and then ports this item to another location. like a item transport system for entering an area
still cant find the bug on 1.9+ items.
(i hope to fix it as soon as i can but i am also working on a other project called DEFCON)
Nice, i need this plugin like air hope you make it soon :D
@funk1983
in version 1.1 or 1.2 i gonna fix the error on snow, flowers, tallgrass, ferns,
thank you i will update it in v1.1
Your aswesome thank u :)
Not work example: nether brick, iron bars that fence think
EDIT: All the 1.0 and above items
Uploaded wrong file :$
new link: http://dev.bukkit.org/server-mods/itemdetector2/files/5-item-detector2-v1-0/
PLEASE MAKE TICKETS IF YOU HAVE ANY PROBLEM!
@zOxigen00
Fixed in new Release (v1.0) New items added!!
http://dev.bukkit.org/server-mods/itemdetector2/files/4-item-detector2-v1-0/
@remcodemah
I think there was snow in the area i tested this, can't test atm but will asap
@DarthLabrador
is there no Snow, Tall grass, Flower on the bottom in the middle???
@zOxigen00
I have to update the itemid codes for 1.2.3
if i make a gate like this:
-[detector]
-@all
-#remove
It works fine but some items like melonblock not removing, any idea for that?
i try to fix it as soon as i can.
(please make a ticket)
@DarthLabrador
same