Bungee - Spigot NoTNT 1.8

This disables TNT on your server, with a custom permission and custom message.

  1. _Skizzy submitted a new resource:

    NoTNT - This disables TNT on your server, with a set

    Read more about this resource...
     
  2. Code (Text):
      for(Material blocked : banList) {
                if(blocked == block) {
                    if(player.isOp()) {
                        //The block will be placed if the player is op.
                    }
                    if(player.hasPermission("notnt.use")) {
                        //Still, let it get placed.
                    }
                    else {
                        event.getBlock().setType(Material.AIR);
                        player.sendMessage("§8[§bNoTNT§8]" + ChatColor.RED + " You don't have the appropriate permissions to place TNT.");
    you should probably make it an else if there otherwise the player.isOp() has no effect
    Code (Text):
      for(Material blocked : banList) {
                if(blocked == block) {
                    if(player.isOp()) {
                        //The block will be placed if the player is op.
                    }
                   else if(player.hasPermission("notnt.use")) {
                        //Still, let it get placed.
                    }
                    else {
                        event.getBlock().setType(Material.AIR);
                        player.sendMessage("§8[§bNoTNT§8]" + ChatColor.RED + " You don't have the appropriate permissions to place TNT.");
     
    • Useful Useful x 1
  3. Oh. I think I am just going to remove that line completely and just use the permission.
     
    • Like Like x 1
  4. _Skizzy updated NoTNT with a new update entry:

    The config update

    Read the rest of this update entry...
     
    • Like Like x 1
  5. _Skizzy updated NoTNT with a new update entry:

    Player logger update

    Read the rest of this update entry...
     
    • Like Like x 1
    • Like Like x 1
  6. Works really good! It helped me a lot, thank you very much for releasing!
     
    • Like Like x 1
  7. No problem! Thank you for downloading!