Inactive [MECH/FUN] ItemDetector v1.2 - An Item-detecting gate [1000]

Discussion in 'Inactive/Unsupported Plugins' started by Streammz, Apr 25, 2011.

  1. ItemDetector - Gates which detect items
    Version: v1.2

    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
    • Message / kit support
    Download:

    V1.1 - Download
    V1.2 - Download
    Addon kit - Download
    ItemDetector is open source! (NO RE-RELEASES WITHOUT PERMISSION)

    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
    Thanks to @Maxis010 for that

    How to create a gate:
    [torch][wood][torch] What you see to the left of here, is the framework of an gate
    [mossy][mossy] [mossy] The wood block left, is an sign with on the first line [detector],
    [mossy] -- [mossy] and on the second/third/fourth line should be the itemID's
    [mossy] -- [mossy] seperated by comma's.
    The script sees these lines as 1 line, so you should think its 1 line of 45 letters.

    How the #block (and future similair options) work:
    When you enter item id's on the 2nd/3th/4th line, it'll take those 3 lines and make it 1.
    If you enter the #block, the script will ignore that and make the gate blocking stuff.
    Here an quick example of what i mean (first is input, second is what script reads):
    Code:
    What you write on sign --- What script reads for item ID's
    
    #block1,2,3,4,5,6,7     -   1,2,3,4,5,6,7
    1,2,3#block,4,5,6,7     -   1,2,3,4,5,6,7
    1,2,3,4,5,6,7#block     -   1,2,3,4,5,6,7
    
    List of current #options (open)

    @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
    #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 (open)

    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.repair
    itemdetector.create.thunder


    Video of it in action + how-to


    Changelog:

    Show Spoiler

    Version 1.2:
    • Fixed new blocks with the gates from 1.7 (pistons, shears etc) and 1.6 (trapdoors etc)
    • Tweaked pitfall to stay 0.5 seconds longer (laggy servers can be bitchy)
    Version 1.1:
    • Fixed blocks changing (wood slab -> stone slab, red wool -> white wool, etc)
    • Fixed msg:filename when the gate rotation was wrong
    • Fixed launch from acting wierd sometimes
    Version 1.0:
    • Fixed permission bugs
    • Added support for 1-10 as itemID on the sign
    • Added support for personal kits (kit:filename) (look at the #options spoiler)
    • Added support for messages being send (msg:filename) (look at the #options spoiler)
    • Added support for configurable messages (not neceserry, but being able to)
    • made #block & #launch support minecarts
    • Fixed the anticheat perfectly now (no ignore node though anymore)
    Version 0.91:
    • Fixed #remove@always
    Version 0.9:

    • Tweaked anticheat
    • changed #limit into @limit (doesn't affect existing signs)
    • added @hold to just check the item in the hand
    • added @None to check for an empty inventory
    • added @always to make the gate always go on whenever a player passes
    • added #thunder to strike a thunder in the gate (itemdetector.create.thunder)
    • fixed the destroying of gates
    Version 0.81:

    • Fixed permissions
    Version 0.8:

    • Added an anticheat function, so you can't throw items through the gate, open chests or place blocks trough it. (itemdetector.ignore.anticheat)
    • #repair (itemdetector.create.repair)
    • #heal (itemdetector.create.heal)
    • New permission nodes (so you can do itemdetector.create.* now
    Version 0.7:

    • Permissions support (if not found permissions, will default to OP's instead)
    • added #kill
    • added #fire
    Version 0.61:

    • Changed the #launch so it works.
    Version 0.6:


    • Added @all to indicate that you want to detect all blocks in minecraft
    • added #damage to give 1 hearth damage to the enterer
    • added a test version of #launch, to speed movenement by 10x for a short period (note this is glitchy atm, i'm working on a fix, but some people may like it now)
    Version 0.5:


    • Added #pit
    • Minecart support for any #option that isn't #block
    Version 0.42:


    • Fixed something really stupid of me (it didn't cancle the create if it failed)
    Version 0.41:


    • Fixed incompatiable #options
    • Sign given back now, if creating fails
    Version 0.4:


    • Added #limit + #remove, see post for description
    • Made support for armour contents
    Version 0.3:


    • Added #block to prevent players entering the gate
    • If a broken data file is found, it'll now try to fix as much as possible and load them.
    Version 0.2:


    • Fixed the redstone torch to stay for minimal 1 second.
    • Probably fixed a lot of similar bugs.
    Version 0.1:


    • Initial release
     
  2. Offline

    TheCrypto

    You can update to 1.2.5?
     
  3. Offline

    Snowy007

    1 post above yours! literally 1 post above yours!
    My own post just above yours.. read it! read it!
    Why can't people read any more!!!!

    i'm getting tired.. i should go to bed.
    I answered too many questions of people who are unable to read in the last couple of days....
     
  4. Offline

    TheCrypto

    Sorry...
     
  5. Offline

    Snowy007

    Nea... i might have been a little bit rude there.
    Its just that i'm getting slightly irritated of people asking the same question that is already answered 10 times on the same page.
     
  6. Offline

    elexir07

    existe t il une version 1.2.5 car j adorait l avoir sur mon serveur
     
  7. Offline

    Snowy007

    Maybe try speaking english here.... Then more people would be able to understand what your saying and you have a bigger chance that your questions get answered.

    Now.. i don't speak french but from the words 'version' and '1.2.5' i am guessing that you are asking for an update just like all the others people here that don't know how to read. Well... have i got news for you that hundreds of people have already been told before you....
    As i have already said on this very page of comments. This plugin is NOT working on 1.2+ and probably will NOT work any time soon as the developer isn't updating this any more.
     
  8. Offline

    thesims3

    Can somewon take this over
    i loved this plugin but it is inactive ):
     
  9. Offline

    TheLord

    Hay,

    Can you update your plugin?? PLS!!!!!
     
  10. Can you please update it to mc 1.2.5? I really enjoyed it but as the new codes for 1.2 the plugins have to be updated to at least 1.2
     
  11. Offline

    Toxinator

    this either doesn't work or is not been updated to 1.2.5
     
  12. Offline

    houba1970

    please uppdate 1.2.5
     
  13. Offline

    globox44t

    17:48:07 [SEVERE] Could not load 'plugins\ItemDetector.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/bu
    kkit/event/block/BlockListener
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:150)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:305)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:230)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:53)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NoClassDefFoundError: org/bukkit/event/block/BlockListener
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:139)
    ... 8 more
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.block.BlockListene
    r
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:41)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:29)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 11 more
     
  14. and this is how plugins die. Admin stops updating, people stop downloading. Great, just great.
     
  15. Offline

    JackWitherell

    1.2.5!!! come on!
     
  16. Offline

    frankenboom

    Please please please make an update!!!
    I really really wanted this!
    Grrr.
    Many people would be happy!
    Thanks
     
  17. Offline

    Maxster99

    What did i do wrong?
    19:02:15 [ALLVARLIG] Could not load 'plugins\ItemDetector.ja
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassD
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugi
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(
    at org.bukkit.plugin.SimplePluginManager.loadPlugins
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(Cr
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftSe
    at net.minecraft.server.ServerConfigurationManager.<
    at net.minecraft.server.MinecraftServer.init(Minecra
    at net.minecraft.server.MinecraftServer.run(Minecraf
    at net.minecraft.server.ThreadServerApplication.run(
    Caused by: java.lang.NoClassDefFoundError: org/bukkit/event/
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugi
    ... 8 more
    Caused by: java.lang.ClassNotFoundException: org.bukkit.even
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Nativ
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClas
    at org.bukkit.plugin.java.PluginClassLoader.findClas
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 11 more
     
  18. Offline

    AlmoG Surizon

    it give me that erors
    Code:
    15:05:53 [SEVERE] Could not load 'plugins\ItemDetector.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/bu
    kkit/event/block/BlockListener
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:150)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:305)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:230)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207)
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:53)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NoClassDefFoundError: org/bukkit/event/block/BlockListener
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:139)
            ... 8 more
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.block.BlockListene
    r
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:41)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:29)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 11 more
     
  19. Offline

    bennie3211

    is this version up to date? because i run a server 1.2.5-R4.0. does it work on that version?
     
  20. Offline

    artcwolf11011

    Great is this plugin realy dead? :(

    cant someone just use the soruce thing and use that to update it?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
  21. Offline

    Snowy007

    1st you need to know how to script in java.
    2nd you need to have a reason to update this. (unless you need it yourself, you probably won't update it just to do others a favor.)
    3rd you need time. Believe me, its not as easy as you might think. It takes a lot more time than just 5 minutes.
    Oh, and 4th, you need to be dedicated to actually KEEP it updated.

    Good luck finding someone who is willing to update it. :p
     
  22. Offline

    StickBoXD

    Does not Work at all..... Cannot install..... Real Smart >_>
     
  23. Offline

    Yeavon

    sadly due to the known bug i cant use this. the rename thing dont work for multyverse core/portals. and i wont replace that. is tehre any way you can repair that cause i would love to use this plugin.
     
  24. Offline

    Zettymaster

    Hello Streammz,
    can I get the code of your plugin, to make it ready for the new versions of Bukkit?
    Please answer soon.
     
    Fi3t3 likes this.
  25. Offline

    Fi3t3

    He just posted the code.
     
  26. Offline

    samdegroot

    I dunno but if i place the plugin i my plugins folder and i reload/restart my server. It doesn't make a folder and when i try to make a gate like in the first video it doesn't work. It doesn't say that a Detector has been made or something. PLS HELP i would like to have this on my server.
     

Share This Page