[INFO] ThisBiome [953]

Discussion in 'Inactive/Unsupported Plugins' started by Protected, Apr 8, 2011.

  1. ThisBiome - What biome are you in?
    Only version - Download JAR

    I usually don't post this kind of small plugin whipped up in two minutes, but my players love it and I figured someone might have a use for it if their general commands plugin doesn't provide similar functionality yet. All it does is tell a player what biome he's in when he uses /biome .

    Features:
    • Tells you what biome you're in. /biome
    Installation:

    Put the jar in the plugins directory and reload/restart.

    The complete source code (open)

    Code:
    package net.myshelter.minecraft;
    
    import java.util.logging.Logger;
    
    import org.bukkit.command.Command;
    import org.bukkit.command.CommandSender;
    import org.bukkit.entity.Player;
    import org.bukkit.plugin.java.JavaPlugin;
    
    public class ThisBiome extends JavaPlugin {
    
        public static Logger log = Logger.getLogger("Minecraft");
        
        public void onEnable() {
            log.info("ThisBiome is on!");
        }
        
        public void onDisable() {
            log.info("ThisBiome is off...");
        }
        
        public boolean onCommand(CommandSender sender, Command command, String commandLabel, String[] args)  {
            if (!(sender instanceof Player)) return false;
            Player player = (Player)sender;
            if (command.getName().equalsIgnoreCase("biome")) {
                player.sendMessage("Current biome: " + player.getWorld().getBlockAt(player.getLocation()).getBiome().toString());
                return true;
            }
            return false;
        }
        
    }
    
     
    Xaostica and Finer1 like this.
  2. Offline

    DoctrPenguin

    Works great! I'm sure my friends on my server will enjoy this.
     
  3. Offline

    rakiru

    Thanks for this. A nice and useful little plugin.
     
  4. Offline

    anonymous

    Can we have permissions support?
     
  5. Offline

    MeinerHosen

    And does it work with CB617, my good sir?
     
  6. Offline

    Finer1

    Nice. Thank you. Very useful plugin.
     
  7. Offline

    rakiru

    Yes it does. I have a 617 server that I use to test plugins on that I haven't updated yet.
     
  8. Offline

    Sooks

    Update to 670 for the safety of your server, i'm almost 100% sure that all plugins will work if they work on 617
     
  9. Offline

    rakiru

    As I said, I have a 617 testing server. I haven't updated it yet as there's no real need to since only I can connect to it. My actual server is on 670.
     
  10. Offline

    Sooks

    Oh well I would update it as well just to be sure. I guess most would work though.
     
  11. Offline

    rakiru

    Yeah, I will update it when I need to test something.
     
  12. Offline

    Cosmic Break

    can u make it so it automatically tells someone which biome they've entered?
     
  13. Offline

    Mr.Squeak

    Hi, I read that you said you normally do not post quick little plug ins. I was wondering if you had ever considered taking on the challenge of writing a plugin that would allow an admin to change the biome of a selected area, whether that be a chunk or a smaller defined area, and then update the existing blocks in the area to match the new biome. It would be simple as not alot would need to be updated. Mostly just dirt shades and adding snow/ice to an area maybe trees. Just an idea and I would really appreciate some feedback.
     
  14. Can you make something so you can change the biome of an area?
     
  15. Offline

    Mr.Squeak

    wow lol, i posted a more detailed version of this right above your post! haha
     
  16. Offline

    MonsieurApple

    Considered inactive.

    Also, you need a plugin version in your title and a changelog.
     
  17. Offline

    Plague

    title is missing version and description
     
  18. Offline

    MonsieurApple

    And changelog
     

Share This Page