@EventHandler
    public void onSignChange(SignChangeEvent event)
    {
        if(!HotelCount.isAdmin(event.getPlayer()) && !HotelCount.canCreate(event.getPlayer()))
            return;
        if(event.getLine(0).equalsIgnoreCase("[Counter]"))
        {
            String region = event.getLine(1);
            int low = 0;
            int high = 0;
            try
            {
                low = Integer.parseInt(event.getLine(2));
            }
            catch(Exception exception) { }
            try
            {
                high = Integer.parseInt(event.getLine(3));
            }
            catch(Exception exception1) { }
            
            int count[] = HotelCount.getSM().getRooms(event.getLine(1), low, high, event.getBlock().getWorld().getName());
            event.setLine(0, (new StringBuilder("Gesamt: ")).append(count[SignManager.ALL]).toString());
            event.setLine(1, (new StringBuilder("Frei  : ")).append(count[SignManager.FREE]).toString());
            event.setLine(2, (new StringBuilder("Belegt: ")).append(count[SignManager.TAKEN]).toString());
            
            if(!HotelCount.getSM().freeRoom.isEmpty())
                event.setLine(3, HotelCount.getSM().freeRoom);
            else
                event.setLine(3, "No free room"); // auf deutsch passt es nicht aufs schild!
            HotelCount.getSM().addAgent(event.getBlock().getLocation(), region, low, high);
        }
    }