NoTNT // Factions Plugin

Discussion in 'Plugin Requests' started by ACA30, Oct 9, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    ACA30

    Plugin category: Admin

    Minecraft version: 1.10 // 1.10.2

    Suggested name: FactionsDisableRaiding

    What I want: A plugin to block TNT and Creeper Eggs from being placed (therefore blocking raiding on Factions servers)

    Ideas for commands:
    /raid enable - allows the placing of TNT and Creeper Eggs
    /raid disable - disallows the placing of TNT and Creeper Eggs

    Ideas for permissions:
    raid.enable - /raid enable
    raid.disable - /raid disable

    When I'd like it by: ASAP

    If you have any more questions, feel free to ask! :)
     
  2. Offline

    DrivenWild

    Oh man, I want this!
    This would be nice for my factions! #watchthread (I dont even know xD)
     
  3. Offline

    ACA30

    Anyone think that this would be possible? Or possibly any alternative plugins?
     
  4. Offline

    Minterrr

    I'll give it a go :3
     
  5. Offline

    DrivenWild

    Oooo Im excited xD
     
  6. If you don't have time to make it I'll do it ;)
     
  7. Offline

    Minterrr

    Yeah, I'm literally just finishing it now, thanks for the offer anyway :3
     
  8. NP, I bet your plugin would be better than mine anyways ;)
     
  9. Offline

    ACA30

  10. Offline

    Minterrr

    <EDIT by Moderator: redacted mega url>

    I got too stressed making this so all the creepers in the world will be killed on running of /raiding disable xD
     
    Last edited by a moderator: Oct 10, 2016
  11. Offline

    ipodtouch0218

    @Minterrr
    I know the plugin's all finished and the sort, but wouldn't just listening for a PlayerInteractEvent, checking the RIGHT_CLICK action. checking if the player is holding a creeper egg?

    Killing all creepers may cause lag for the server, since you have to scan though all active entities, but it shouldn't have an effect on a server with decent ram.
     
  12. Offline

    Minterrr

    I thought of that half way through my maths lesson today xD I'll upate it now
     
  13. Offline

    I Al Istannen

    @Minterrr
    And please upload it to dropbox, google drive, BukkitDev or (I think) anywhere else not displaying ads. The ones I mentioned are certainly okay.
     
    ipodtouch0218 likes this.
  14. Offline

    ACA30

  15. Offline

    MrGriefer_

    I could do it for you. but if @Minterrr is going to do it then I will leave it to him :)
     
  16. Offline

    ACA30

    If he doesn't respond for a bit, I think you could do it... :) Thanks, @MrGriefer_
     
  17. Offline

    Minterrr

    I'll have another go, I'll try not to get stressed with it this time. I'll explain the issue.

    In Craftbukkit there is a Material.<MATERIAL> list so if I wanted to check the item in someones hand, I'd do code to check if the material equals Material.ItemName.

    But a creeper egg doesnt have a unique Material.<NAME>, it comes under Material.MONSTER_EGG, I can disable all spawn eggs if you like? Only using Creeper Egg hasn't worked for me. Reply to this thread ASAP, I can have it done for you within 10 minutes

     
  18. Offline

    MrGriefer_

    I haven't worked on the plugin yet, but I will release my version anyways after I have it done!
     
  19. Offline

    Minterrr

    @MrGriefer_ Yeah, you can do it. It baffled me because to check if its a creeper egg, you have to do something about an itemstack but you can't do that if you check what item the player has in his/her hand
     
Thread Status:
Not open for further replies.

Share This Page