[INACTIVE][SEC/ADMN] FLT Detector v1.2.6 - Make the Usage of Lava, Fire and TNT impossible[860]

Discussion in 'Inactive/Unsupported Plugins' started by Soxra, Apr 22, 2011.

  1. Offline

    Soxra

    FLT Detector - Disable Fire, Lava and TNT
    Version: v1.2.6
    CraftBukkit Build: Tested with 766

    [​IMG]


    This Plugin disables Fire, Lava, TNT and TNT ignite for choosen players. It delets the placed Block(Fire, Lava or TNT) and kicks(if you want) the player who placed the Block.

    This is my first very little and simple Plugin. But everyone is a beginner at the beginning :D. I'm learing Java at the Moment because im 14 and ... yes. I hope you have fun


    Features:
    • Be sure that only choosen players can place Fire, Lava and TNT and ignite TNT
    • Kicks Players who place Fire, Lava and TNT if you want
    • Change Kick Messages
    • Chose detected blocks
    • Decide if you want that players get kicked
    Permissions:

    • fltd.disable
      • Allows player to Place Fire, Lava and TNT
    • tnt.allow
      • Allows player to place tnt
    • fire.allow
      • Allows player to place fire
    • lava.allow
      • Allows player to place lava
    Download FLT Detector v1.2.6


    Source is inside the Jar-File


    Installation:
    Just copy the FLTDetector.jar File in your Plugin directory and restart you server. The Plugin will create a new file with a config file.

    Configuration
    The Plugin will create a config File. Change things you want :)
    Code:
    Kick-Message-for-Lava: Lava is forbidden on this Server!
    EnableTNTignite: true
    Kick-Message-for-TNT: TNT is forbidden on this Server!
    EnableFire: true
    Enable-Kick: true
    EnableLAVA: true
    EnableTNT: true
    Kick-Message-for-Fire: Fire is forbidden on this Server!
    TNTigniteEnabled: true
    Kick-Message-for-TNT-ignite: Ignite TNT is forbidden on this Server!
    

    ToDo:
    Permissions and Nodes - Done (Version 1.1)
    Chose witch material will be detected - Done (Version 1.2)
    Custom Kick Messages - Done (Version 1.2.1)
    Permissions for Lava or Fire or TNT - Donw (Version 1.2.4)

    Known Bugs:
    • None
    Changelog:

    Version 1.2.6 (Download)
    • Kick-Messages: false or true
    Version 1.2.5 (Download)

    • Addet TNT ignite
    Version 1.2.4 (Download)

    • Addet nodes for lava fire and tnt
    Version 1.2.3 (Download)

    • Fixed Lava Bucket Remove
    Version 1.2.2 (Download)

    • Fixed Lava Bucket
    Version1.2.1 (Download)

    • Addet Custon Kick Messages
    Version 1.2 (Download)

    • Now you can chose which Block will be detected
    Version 1.1 (Download)

    • Addet nodes for Permissions
    Version 1.0 (Download)

    • First release
    I hope that little Plugin helps some people.


    Sorry for my english im german
     
  2. Offline

    Soxra

    I think that are the same suggestions. Addet to my ToDoList
     
  3. Offline

    thorben

    Nice Plugin, thank's
     
  4. Offline

    Soxra

    No problem :D :p
     
  5. Offline

    kenguy20

    Can you possibly add an option so I can make TNT/fire/lava unusable by even OPs? Possibly make it so I can also control each items permission, like not allow TNT/fire at all but allow lava? Things like that.
    If this is already possible then sorry, but how do I do it? I tried changing things in the config file but just got spammed with errors and had to redownload the plugin.
     
  6. Offline

    Jake Buly

    it didn't let the player place the item, but they were not kicked? help please?
     
  7. Offline

    Soxra

    That should work.

    Are there any errors?
     
  8. Offline

    Jake Buly

    I got it working now, but how can I enable myself to use FLT without being kicked? Also is it possible to add water and bedrock to the list? People tend to grief with those items as well.

    Thanks
     
  9. Offline

    Soxra

    Well, If you have permissions you just add the node fltd.disable and then you can Place Flt.
    No you cant add Water and Bedrock to the List :) If you wish i add it to my ToDo List but im busy atm and i have no time atm.
     
  10. Offline

    Jake Buly

    I did that, and it still didn't work for me.. help?
     
  11. Offline

    Soxra

    Error at starting Permissions ?.... right YAML Format ?
     
  12. Offline

    awhileus


    please see this.
     
  13. Offline

    Jake Buly

    I got it working now, thanks
     
  14. Offline

    xcb567

    Great plugin, but currently anyone can ignite TNT previously placed by user with fltd.disable :(
     
  15. Offline

    Soxra

    Yes ... but if no one can place tnt no one can ignite it :D
    Well ... i think it is you laggy server
     
  16. Offline

    jeffadkins51

    You should have gave a open source version aswell.
     
  17. Offline

    Soxra

    What do you mean ? :confused:

    @Erwyn LENS and @koguchi ! I addet separate permissions for each block :)

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

    Erwyn LENS

    yeah! thank you!
     
  19. Its not neccesary to kick people. when this is fixed i will use this plugin
     
  20. Offline

    jeffadkins51

    Who does not know what open source is that is a plugin developer ? LOL. It means the files are OPEN SOURCE which gives everyone the ability to edit them in any way shape or form
    So basically all of the class files for this.
     
  21. Offline

    Soxra

    I Know what a open source is. You can decompile the class files and take source parts but NOT the Same plugin.
    You are right ... i forgott that :D I will add it as soon as i can

    @po5 I addet your suggestion ;)
    @xcb567 Now the plugin detects tnt ignite
    Download(v1.2.6)​

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

    Azhuryen

    Thank u so much ^^ it really works well with my new server. Easy and fast to install, thanks.
     
  23. Offline

    Soxra

    Thank you :)
     
  24. Offline

    AOD_KidDeath

    Is it possible to disable the messages that appear when you place blocks? Example it says "You are allowed to place TNT" twice when I place a block of TNT. Also, fltd.disable does not work for me. I have to use tnt.allow, lava.allow, etc for it to work.

    My Permissions config:

    Code:
        Unregistered:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
        Registered:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'tnt.allow'
                - 'OwnBlocks.use'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Registered
            permissions:
                - 'mothernature.command.sun'
                - 'bflight.bfly'
                - 'simplegive.item'
                - 'OwnBlocks.ignoreOwnership'
                - 'OwnBlocks.use'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
     
  25. Adding Multi world support would be very useful.
     
  26. Offline

    Soxra

    I will fix fltd.disable soon...use tnt.allow in this time ;)
     
  27. Offline

    Soxra

    I will see if i add it ... i dont think so but i will think about it.
     
    AS1LV3RN1NJA likes this.
  28. Offline

    Krista

    when i try to let my moderators be allowed to use tnt, fire and lava, using (first i tried using fltd.disable and it didnt work so then i tried using all 3 tnt.allow, fire.allow, and 'lava.allow' and it still will not let my moderators use them. i can only get us to use them if they have the permission - '*' in their permissions. here is my yml.(keep in mind i had to enable kalism2003 the- '*' permission in order to use tnt)

    Code:
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Builder
            permissions:
                - 'mcmmo.commands.whois'
                - 'mcmmo.tools.mmoedit'
                - 'mcmmo.tools.mcgod'
                - 'mcmmo.tools.mcrefresh'
                - 'warp.edit.invite.add'
                - 'warp.edit.invite.delete'
                - 'warp.edit.messege'
                - 'warp.edit.update'
                - 'warp.edit.rename'
                - 'warp.edit.editors.add'
                - 'warp.edit.editors.remove'
                - 'warp.edit.owner'
                - 'warp.edit.creator'
                - 'warp.edit.price.free'
                - 'warp.edit.list.change'
                - 'tnt.allow'
                - 'fire.allow'
                - 'lava.allow'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
      
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
       summonerkrista:
            group: Admins
            permissions:
                - 'mcmmo.chat.adminchat'
       XCMasako:
            group: Admins
            permissions:
                - 'mcmmo.chat.adminchat'
       kalism2003:
            group: Moderator
            Permissions:
                - '*'
     
  29. Offline

    Soxra

    Check your yml Format and try to replace the node '*' at kalism2003 with tnt.allow etc.
    EDIT: I tested it on my Server and it worked ...
     
  30. Offline

    Krista

    but the issue im having is that even when kalism2003 doesnt have the - '*' node she is set as user moderator and under moderator i have the tnt.allow etc. and i do check my yml everytime i edit it with a yaml parser. but yet she still cannot place tnt :S
     
  31. Offline

    xblackknife

    Download-Link is down for me..
     

Share This Page