Spigot BanItem [1.7-1.16] 2.4

Lightweight, powerful & configurable per world ban item plugin

  1. Andross submitted a new resource:

    BanItem - Lightweight & configurable per world ban item plugin

    Read more about this resource...
     
  2. It does not look too bad ! Good job !
     
    • Like Like x 1
  3. For some reason in 1.14, when I am in creative mode it works. However when I am in Survival mode I can bypass it all (it does not apply the ban to survival mode players).

    (I de-op'd myself too) so that's not the reason why. Any idea how to fix?

    EDIT: I fixed it. It was actually the material I was checking for.
    redstone_ore is actually legacy_glowing_redstone_ore when checking to block it from being broken.
     
    #5 ABkayCkay, May 30, 2019
    Last edited: May 30, 2019
  4. I was about to test. I'm glad that you solved it by your way. (y)
     
  5. Andross updated BanItem with a new update entry:

    Improvements

    Read the rest of this update entry...
     
  6. Is there a way to prevent users from obtaining an item in the first place? Like when they put it in their inventory it is immediately taken away. Also the blacklist doesn't seem work with spawn eggs. (The console says it doesn't recognize it).

    Here is a small snippet of my config.yml

    Code (YAML):
    cat_spawn_egg:
          options
    : break, place, pickup, drop, interact, creative
          message
    : '&cYou are banned from using this item.'
        fox_spawn_egg
    :
          options
    : break, place, pickup, drop, interact, creative
          message
    : '&cYou are banned from using this item.'
        panda_spawn_egg
    :
          options
    : break, place, pickup, drop, interact, creative
          message
    : '&cYou are banned from using this item.'
        pillager_spawn_egg
    :
          options
    : break, place, pickup, drop, interact, creative
          message
    : '&cYou are banned from using this item.'
        ravager_spawn_egg
    :
          options
    : break, place, pickup, drop, interact, creative
          message
    : '&cYou are banned from using this item.'
        trader_llama_spawn_egg
    :
          options
    : break, place, pickup, drop, interact, creative
          message
    : '&cYou are banned from using this item.'
        wandering_trader_spawn_egg
    :
          options
    : break, place, pickup, drop, interact, creative
          message
    : '&cYou are banned from using this item.'
     
  7. Hello,

    Actually, no. But I'll surely add this in a next update.

    What minecraft version are you on? I'll check this.
     
  8. I am on minecraft version 1.14.3.
     
  9. Andross updated BanItem [1.7-1.14] with a new update entry:

    Inventory option, messages for each options, multiples fix and new command

    Read the rest of this update entry...
     
  10. Hello,

    I'm sorry for the delay, but now your both problems are solved with the new v1.5 update.
    - You can prevent player to pick banned item in its inventory with the "inventory" option.
    - Spawn eggs are now correctly banned, like this:
    Code (YAML):
    cat_spawn_egg:
      place
    : '&cYou can not place a cat spawn egg.'
     
  11. hello great idea your plugin you can add "chest(banned item)" for drag and drop "inventory" to "chest banned item" (because use a file for add banned item are so hard and long and more with custom items ^^)
     
  12. Hello,

    I'm not sure to understand exactly what you said, I'm sorry.
    You can PM me to explain me (en plus on peut parler français..).
     
  13. Andross updated BanItem [1.7-1.14] with a new update entry:

    Added support for custom items + fixes

    Read the rest of this update entry...
     
  14. Andross updated BanItem [1.7-1.14] with a new update entry:

    [Stable] New command + Fixes

    Read the rest of this update entry...
     
  15. Can this be used to block items from containers, for instance bone meal from dispensers?